Get rid of __elision_available
[glibc.git] / ChangeLog
blobccfd0aee9b1dcc1f6fe190f2bbbaca7b5d5428eb
1 2016-12-07  Andreas Schwab  <schwab@suse.de>
3         * sysdeps/unix/sysv/linux/x86/elision-conf.h
4         (__elision_available): Don't declare.
5         * sysdeps/unix/sysv/linux/x86/elision-conf.c
6         (__elision_available): Don't define.
7         (elision_init): Don't set __elision_available.
9 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
11         [BZ #20940]
12         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13         return Inf for arguments Inf and sNaN.
14         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
15         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
16         Likewise.
17         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
18         Likewise.
19         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
21         for arguments Inf and sNaN.  When returning a NaN, compute it by
22         arithmetic on the arguments.
23         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
24         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
25         arguments.
27 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
29         [BZ #20916]
30         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
31         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
32         to compute result.
33         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
34         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
36 2016-12-05  Torvald Riegel  <triegel@redhat.com>
38         * include/atomic.h (__atomic_check_size_ls): New.
39         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
40         atomic_store_release): Use it.
41         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
42         (elision_adapt, ELIDE_LOCK): Use atomics.
43         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
44         atomics and improve code comments.
45         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
46         (__lll_trylock_elision): Likewise.
48 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
51         programs.
53 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
55         [BZ #20916]
56         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
57         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
58         arguments to compute result.
59         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
60         1 for arguments (sNaN, 0) or (1, sNaN).
61         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
62         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
64         [BZ #20919]
65         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
66         NaN first argument when raised to power 0.
67         * math/w_pow.c (__pow): Do not check for NaN or zero results from
68         raising to power zero.
69         * math/w_powf.c (__powf): Likewise.
70         * math/w_powl.c (__powl): Likewise.
71         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
72         pow (0, 0) or pow (NaN, 0).
74 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
76         [BZ #20918]
77         * configure.ac: Test for static NSS cryptographic libraries and set
78         libc_cv_static_nss_crypt.
79         * configure: Regenerate.
80         * config.make.in (static-nss-crypt): Define.
81         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
82         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
83         (CFLAGS-tst-linkall-static.c): Define.
84         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
85         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
86         ($(objpfx)tst-linkall-static): Define.
87         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
88         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
90 2016-12-02  Florian Weimer  <fweimer@redhat.com>
92         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
93         (one-hundred, tst-tls-many-dynamic-modules): Define.
94         (modules-names): Add $(tst-tls-many-dynamic-modules).
95         (tst-tls-manydynamic%mod.os): Build with special preprocessor
96         macros.
97         (tst-tls-manydynamic): Link against libdl, libpthread.
98         (tst-tls-manydynamic.out): The test needs the test modules at run
99         time.
100         * elf/tst-tls-manydynamic.c: New file.
101         * elf/tst-tls-manydynamic.h: Likewise.
102         * elf/tst-tls-manydynamicmod.c: Likewise.
104 2016-12-02  Florian Weimer  <fweimer@redhat.com>
106         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
107         (TLS_DTV_UNALLOCATED): Add.
108         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
109         offsets.
111 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
113         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
115 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
117         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
118         Add -fno-optimize-sibling-calls.
120 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
122         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
123         New declaration.
124         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
125         macro.
126         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
127         New macro.
128         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
129         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
130         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
131         (llogbf): Likewise.
132         (llogbl): Likewise.
133         * math/Makefile (gen-libm-calls): Add w_llogbF.
134         (tests): Add test-fp-llogb-constants.
135         * math/w_llogb_template.c: New file.  Based on
136         math/w_ilogb_template.c.
137         * math/libm-test.inc (llogb_test_data): New array.
138         (llogb_test): New function.
139         (main): Call llogb_test.
140         * math/test-fp-llogb-constants.c: New file.  Based on
141         math/test-fp-ilogb-constants.c.
142         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
143         (do_test): Call check_return_llogb.
144         * math/test-tgmath.c (NCALLS): Increase to 126.
145         (F(compile_test)): Call llogb.
146         (F(llogb)): New function.
147         * manual/math.texi (Exponents and Logarithms): Document llogb,
148         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
149         * manual/libm-err-tab.pl (@all_functions): Add llogb.
150         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
151         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
152         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
153         (CFLAGS-nldbl-llogb.c): New variable.
154         * sysdeps/nacl/libm.abilist: Update.
155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
168         Likewise.
169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
170         Likewise.
171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
172         Likewise.
173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
174         Likewise.
175         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
176         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
177         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
178         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
179         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
181         Likewise.
182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
183         Likewise.
184         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
185         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
186         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
188 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
190         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
191         _Float128 instead of long double.
192         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
194         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
195         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
196         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
197         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
198         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
199         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
200         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
201         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
202         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
203         Likewise.
205 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
207         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
208         Remove redirection to __strrchr_ppc.
210 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
212         * sysdeps/powerpc/powerpc64/multiarch/Makefile
213         (sysdep_routines): Add strcmp_power9.
214         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
215         (strcmp): Add __strcmp_power9 to list of strcmp functions.
216         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
217         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
218         (strcmp): Add __strcmp_power9 to ifunc list.
219         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
221 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
223         * bits/fp-logb.h: New file.
224         * sysdeps/ia64/bits/fp-logb.h: Likewise.
225         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
226         * sysdeps/x86/bits/fp-logb.h: Likewise.
227         * math/Makefile (headers): Add bits/fp-logb.h.
228         * math/math.h: Include <bits/fp-logb.h>.
229         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
230         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
231         * bits/mathdef.h (FP_ILOGB0): Remove.
232         (FP_ILOGBNAN): Likewise.
233         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
234         (FP_ILOGBNAN): Likewise.
235         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
236         (FP_ILOGBNAN): Likewise.
237         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
238         (FP_ILOGBNAN): Likewise.
239         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
240         (FP_ILOGBNAN): Likewise.
241         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
242         (FP_ILOGBNAN): Likewise.
243         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
244         (FP_ILOGBNAN): Likewise.
245         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
246         (FP_ILOGBNAN): Likewise.
247         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
248         (FP_ILOGBNAN): Likewise.
249         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
250         (FP_ILOGBNAN): Likewise.
252         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
253         time module.
254         (Context.__init__): Initialize self.logsdir_old.
255         (Context.run_builds): Handle bot action.
256         (Context.bot_cycle): Copy logs directory before running builds.
257         (Context.bot_run_self): Take argument for whether to check
258         subprocess result.  Flush stdout before running subprocess.
259         (Context.bot): New function.
260         (get_parser): Allow bot action.
262 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
264         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
265         Import email.mime.text, email.utils and smtplib modules.
266         (Context.__init__): Initialize self.bot_config_json.
267         (Context.run_builds): Handle bot-cycle action.
268         (Context.load_bot_config_json): New function.
269         (Context.part_build_old): Likewise.
270         (Context.bot_cycle): Likewise.
271         (Context.bot_build_mail): Likewise.
272         (Context.bot_run_self): Likewise.
273         (get_parser): Allow bot-cycle action.
275 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
277         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
278         Remove redirection to __stpcpy_ppc.
280 2016-11-30  Florian Weimer  <fweimer@redhat.com>
282         Remove __libc_memalign from ld.so because it is unused.
283         * elf/dl-minimal.c: Update comment on the malloc implementation.
284         (malloc): Renamed from __libc_memalign, replacing the original
285         malloc implementation.  Replace the align parameter with
286         MALLOC_ALIGNMENT.
287         * elf/Versions (ld): Update comment and remove __libc_memalign.
288         * sysdeps/nacl/ld.abilist: Likewise.
289         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
290         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
291         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
292         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
293         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
294         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
295         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
296         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
297         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
298         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
299         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
300         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
301         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
305         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
306         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
307         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
308         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
309         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
312         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
313         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
314         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
315         * sysdeps/generic/localplt.data (ld.so): Likewise.
316         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
317         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
318         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
319         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
320         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
321         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
322         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
323         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
324         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
326         (ld.so): Likewise.
327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
328         (ld.so): Likewise.
329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
330         Likewise.
331         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
332         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
333         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
334         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
335         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
337 2016-11-30  Florian Weimer  <fweimer@redhat.com>
339         [BZ #16628]
340         Implement _dl_catch_error, _dl_signal_error in libc.so.
341         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
342         (catch_hook): Define as thread-local or regular variable,
343         depending on DL_ERROR_BOOTSTRAP.
344         (CATCH_HOOK): Remove.
345         (dl_signal_error, _dl_catch_error): Use
346         catch_hook.  Add hidden definition for libc.
347         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
348         for DL_ERROR_BOOTSTRAP only.
349         * elf/dl-error.c: New file.
350         * elf/dl-error-minimal.c: Likewise.
351         * elf/tst-latepthread.c: Likewise.
352         * elf/tst-latepthreadmod.c: Likewise.
353         * elf/Makefile (routines): Add dl-error.
354         (dl-routines): Remove dl-error.
355         (rtld-routines): Add dl-error-minimal.
356         [build-shared] (tests): Add tst-latepthread.
357         (module-names): Add tst-latepthreadmod.
358         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
359         symbol.
360         (tst-latepthreadmod.so): Link against libpthread.
361         (tst-latepthread): Link against libdbl.
362         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
363         _dl_catch_error.
364         [ld] (GLIBC_PRIVATE): Likewise.
365         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
366         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
367         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
368         directly.
369         * elf/dl-tsd.c: Remove file.
370         * elf/rtld.c (_rtld_global_ro): Remove initializers for
371         _dl_catch_error, _dl_signal_error.
372         (_dl_initial_error_catch_tsd): Remove definition.
373         (do_preload): Remove initialization of dl_error_catch_tsd.
374         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
375         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
376         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
377         * dlfcn/dlopen.c (dlopen_doit): Likewise.
378         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
379         set dl_error_catch_tsd.
380         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
381         _dl_error_catch_tsd member.
382         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
383         members.
384         (_dl_initial_error_catch_tsd): Remove declaration.
385         (_dl_dprintf): Provide definition for use outside of ld.so.
386         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
387         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
388         prototype for libc.
389         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
390         _dl_catch_error.
391         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
392         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
393         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
394         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
395         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
396         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
397         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
398         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
399         Likewise.
400         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
402         (ld.so): Likewise.
403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
404         (ld.so): Likewise.
405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
406         Likewise.
407         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
408         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
409         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
410         Likewise.
411         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
412         Likewise.
413         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
415 2016-11-30  Florian Weimer  <fweimer@redhat.com>
417         [BZ #4099]
418         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
419         _IO_BUFSIZ (8192).
421 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
423         * PROJECTS: Remove file.
425 2016-11-29  Florian Weimer  <fweimer@redhat.com>
427         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
429 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
430             Steve Ellcey  <sellcey@caviumnetworks.com>
432         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
433         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
434         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
435         fxstatat.
436         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
437         lxstat.
438         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
439         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
440         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
441         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
442         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
443         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
444         __xstat.
446 2016-11-29  Florian Weimer  <fweimer@redhat.com>
448         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
449         Define.
450         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
451         definition.
453 2016-11-29  Florian Weimer  <fweimer@redhat.com>
455         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
456         version and turn into strong alias.  Remove compat symbol.
458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
459         (__longjmp): Remove.
461 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
463         * bits/fp-fast.h: New file.
464         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
465         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
466         * math/Makefile (headers): Add bits/fp-fast.h.
467         * math/math.h: Include <bits/fp-fast.h>.
468         * bits/mathdef.h (FP_FAST_FMA): Remove.
469         (FP_FAST_FMAF): Likewise.
470         (FP_FAST_FMAL): Likewise.
471         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
472         (FP_FAST_FMAF): Likewise.
473         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
474         (FP_FAST_FMAF): Likewise.
475         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
476         (FP_FAST_FMAF): Likewise.
477         (FP_FAST_FMAL): Likewise.
478         * sysdeps/arm/bits/mathdef.h: Remove file.
479         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
480         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
481         * sysdeps/tile/bits/mathdef.h: Likewise.
483 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
485         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
486         * math/w_ilogb.c: Remove.
487         * math/w_ilogbf.c: Likewise.
488         * math/w_ilogbl.c: Likewise.
489         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
490         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
491         * math/Makefile (gen-libm-calls): Add w_ilogbF.
492         (libm-calls): Remove w_ilogbF.
493         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
494         (LDOUBLE_ilogbl_libm_version): New macro.
496         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
498         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
499         [!__STRICT_ANSI__ && !__cplusplus].
501 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
503         [BZ #20750]
504         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
505         of PIC.
507 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
508             Yury Norov  <ynorov@caviumnetworks.com>
509             Steve Ellcey  <sellcey@caviumnetworks.com>
511         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
512         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
513         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
514         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
515         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
516         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
517         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
518         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
519         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
520         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
521         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
522         to get correct reg name for ILP32.
523         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
524         (RELA_SIZE): New Macro.
525         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
526         to support ILP32.
527         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
528         cast for ILP32 mode.
529         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
530         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
531         * sysdeps/aarch64/memset.S (__memset): Ditto.
532         * sysdeps/aarch64/strchr.S (strchr): Ditto.
533         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
534         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
535         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
536         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
537         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
538         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
539         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
540         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
541         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
542         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
543         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
544         change PTR_MANGLE call to use register numbers instead of names.
545         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
546         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
547         ILP32 mode, change PTR_MANGLE calls to use register numbers.
548         * sysdeps/aarch64/start.S (_start): Ditto.
549         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
550         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
551         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
552         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
553         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
554         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
555         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
556         Make defined values dependent on __ILP32__.
557         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
558         (sem_t): Change __align type.
559         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
560         PTR_SIZE): New Macros.
561         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
562         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
563         Set when in ILP32 mode.
564         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
565         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
566         Set elf flags for ILP32.
567         (add_system_dir): Set ILP32 library directories.
568         * sysdeps/unix/sysv/linux/aarch64/init-first.c
569         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
570         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
571         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
572         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
573         New Macros.
574         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
576 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
578         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
579         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
580         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
582 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
584         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
585         <asm/cachectl.h>.
587 2016-11-27  Zack Weinberg  <zackw@panix.com>
589         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
590         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
592 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
594         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
595         error_t to fix usage in C++ programs.
597 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
599         * scripts/build-many-glibcs.py: Import datetime module.
600         (Context.__init__): Load JSON build state.  Initialize list of
601         status logs.
602         (Context.run_builds): Update saved build state.
603         (Context.add_makefile_cmdlist): Update list of status logs.
604         (Context.load_build_state_json): New function.
605         (Context.store_build_state_json): Likewise.
606         (Context.clear_last_build_state): Likewise.
607         (Context.update_build_state): Likewise.
608         (CommandList.status_logs): Likewise.
610 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
612         * scripts/build-many-glibcs.py (Context.__init__): Save text of
613         script being executed.
614         (Context.get_script_text): New function.
615         (Context.exec_self): Likewise.
616         (Context.checkout): Re-exec script if changed by checkout process.
618 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
620         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
621         (setpayloadsig): New declaration.
622         * math/Versions (setpayloadsig): New libm symbol at version
623         GLIBC_2.25.
624         (setpayloadsigf): Likewise.
625         (setpayloadsigl): Likewise.
626         * math/Makefile (libm-calls): Add s_setpayloadsigF.
627         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
628         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
629         (setpayloadsig_test_data): New array.
630         (setpayloadsig_test): New function.
631         (main): Call setpayloadsig_test.
632         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
633         setpayloadsigf and setpayloadsigl.
634         * manual/libm-err-tab.pl: Update comment on interfaces without
635         ulps tabulated.
636         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
637         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
638         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
639         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
640         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
641         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
642         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
643         setpayloadsig.
644         (CFLAGS-nldbl-setpayloadsig.c): New variable.
645         * sysdeps/nacl/libm.abilist: Update.
646         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
647         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
648         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
649         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
650         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
651         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
652         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
653         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
654         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
655         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
656         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
657         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
659         Likewise.
660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
661         Likewise.
662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
663         Likewise.
664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
665         Likewise.
666         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
667         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
668         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
669         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
670         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
672         Likewise.
673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
674         Likewise.
675         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
676         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
677         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
679         * scripts/build-many-glibcs.py: Import json module.
680         (Context.__init__): Take replace_sources argument.  Load
681         versions.json.
682         (Context.load_versions_json): New function.
683         (Context.store_json): Likewise.
684         (Context.store_versions_json): Likewise.
685         (Context.set_component_version): Likewise.
686         (Context.checkout): Update versions.json.  Check for and handle
687         changes of version.  Prefer previously explicitly specified
688         version to default version.
689         (Context.checkout_vcs): Return a revision identifier.
690         (Context.git_checkout): Likewise.
691         (Context.gcc_checkout): Likewise.
692         (get_parser): Add --replace-sources option.
693         (main): Pass replace_sources argument to Context call.
695 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
697         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
698         * nptl/allocatestack.c (allocate_stack): Likewise.
699         (__reclaim_stacks): Likewise.
700         (setxid_signal_thread): Obtain pid through syscall.
701         * nptl/nptl-init.c (sigcancel_handler): Likewise.
702         (sighandle_setxid): Likewise.
703         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
704         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
705         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
706         Likewise.
707         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
708         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
709         comment.
710         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
711         * nptl/descr.h (struct pthread): Change comment about pid value.
712         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
713         pid assert.
714         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
715         Do not set pid value.
716         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
717         pid cache check.
718         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
719         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
720         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
721         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
722         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
723         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
724         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
725         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
726         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
727         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
728         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
729         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
730         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
731         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
732         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
733         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
734         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
735         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
736         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
737         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
738         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
739         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
740         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
741         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
742         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
745         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
746         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
747         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
748         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
749         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
750         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
751         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
752         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
753         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
754         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
755         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
756         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
757         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
758         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
759         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
760         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
763         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
764         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
765         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
766         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
767         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
768         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
769         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
770         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
771         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
772         struct access.
773         (clone_test): Remove function.
774         (do_test): Rewrite to take in consideration pid is not cached anymore.
776 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
778         * bits/flt-eval-method.h: New file.
779         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
780         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
781         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
782         * math/Makefile (headers): Add bits/flt-eval-method.h.
783         * math/math.h: Include <bits/flt-eval-method.h>.
784         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
785         [__USE_ISOC99] (double_t): Likewise.
786         * bits/mathdef.h (float_t): Remove.
787         (double_t): Likewise.
788         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
789         (double_t): Likewise.
790         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
791         (double_t): Likewise.
792         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
793         (double_t): Likewise.
794         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
795         (double_t): Likewise.
796         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
797         (double_t): Likewise.
798         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
799         (double_t): Likewise.
800         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
801         (double_t): Likewise.
802         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
803         (double_t): Likewise.
804         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
805         (double_t): Likewise.
806         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
807         (double_t): Likewise.
808         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
809         (double_t): Likewise.
810         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
811         (double_t): Likewise.
812         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
813         (double_t): Likewise.
815 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
817         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
818         instead of PIC.
820 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
822         [BZ #20859]
823         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
824         (-0x7fffffff) instead of 0x80000001.
825         * math/test-fp-ilogb-constants.c: New file.
826         * math/Makefile (tests): Add test-fp-ilogb-constants.
828 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
830         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
831         (_init): Use it in place of hardcoded R_MIPS_JALR.
832         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
833         (_init): Use it in place of hardcoded R_MIPS_JALR.
834         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
835         (_init): Use it in place of hardcoded R_MIPS_JALR.
837 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
839         [BZ #20787]
840         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
841         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
842         (double_t): Do not define to double if [__x86_64__] when
843         __FLT_EVAL_METHOD__ is nonzero.
844         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
845         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
846         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
847         test-flt-eval-method-387 and test-flt-eval-method-sse.
848         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
849         variable.
850         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
852 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
854         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
855         use of -fno-isolate-erroneous-paths options for tilepro.
857 2016-11-23  Florian Weimer  <fweimer@redhat.com>
859         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
860         structure initialization is no longer needed.
862 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
864         [BZ #20855]
865         * bits/mathdef.h (float_t): Define to float.
866         * math/test-flt-eval-method.c: New file.
867         * math/Makefile (tests): Add test-flt-eval-method.
868         (CFLAGS-test-flt-eval-method.c): New variable.
870 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
872         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
873         and __fstatfs.  Make them aliases of __fstatfs64 if
874         STATFS_IS_STATFS64 is set to non-zero.
875         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
876         and __statfs64.
877         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
878         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
879         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
880         for __statfs and statfs.
881         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
882         to 0.
883         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
884         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
885         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
886         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
887         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
888         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
891         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
892         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
893         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
894         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
896 2016-11-22  Andreas Schwab  <schwab@suse.de>
898         * misc/mkstemp.c: Include <fcntl.h>.
899         * misc/mkstemps.c: Likewise.
900         * misc/mkostemp.c: Likewise.
901         * misc/mkostemps.c: Likewise.
903 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
905         [BZ #20847]
906         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
907         array bounds.
908         (__execvpe): Likewise.
910 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
912         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
913         -fno-isolate-erroneous-paths options for tilepro.
915 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
917         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
918         to 0 when in 32 bit mode.
919         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
920         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
921         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
922         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
924         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
925         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
926         XSTAT_IS_XSTAT64 test.
927         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
928         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
929         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
930         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
931         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
932         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
933         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
934         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
935         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
936         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
937         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
939 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
941         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
942         (setpayload): New declaration.
943         * math/Versions (setpayload): New libm symbol at version
944         GLIBC_2.25.
945         (setpayloadf): Likewise.
946         (setpayloadl): Likewise.
947         * math/Makefile (libm-calls): Add s_setpayloadF.
948         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
949         test_Ff_b1_data.
950         (RUN_TEST_Ff_b1): New macro.
951         (RUN_TEST_LOOP_Ff_b1): Likewise.
952         (canonicalize_test_data): Update type.
953         (setpayload_test_data): New array.
954         (setpayload_test): New function.
955         (main): Call setpayload_test.
956         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
957         setpayloadf and setpayloadl.
958         * manual/libm-err-tab.pl: Update comment on interfaces without
959         ulps tabulated.
960         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
961         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
962         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
963         Likewise.
964         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
965         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
966         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
967         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
968         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
969         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
970         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
971         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
972         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
973         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
974         setpayload.
975         (CFLAGS-nldbl-setpayload.c): New variable.
976         * sysdeps/nacl/libm.abilist: Update.
977         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
978         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
979         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
980         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
981         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
982         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
983         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
984         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
985         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
986         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
987         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
988         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
990         Likewise.
991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
992         Likewise.
993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
994         Likewise.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
996         Likewise.
997         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
998         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
999         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1000         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1001         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1003         Likewise.
1004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1005         Likewise.
1006         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1007         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1008         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1010 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1012         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
1013         * include/unistd.h: Extend comment about __access_noerrno return
1014         semantics.
1015         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
1016         (access_common): Correct typo for EACCES.
1018 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
1020         * sysdeps/tile/math-tests.h: New file.
1022         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
1023         (__old_set_dataplane): Rename from set_dataplane and make a
1024         compatibility symbol.
1025         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
1026         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
1027         sys/dataplane.h.
1029 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
1031         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
1032         script quote words in command output to log suitably for input to
1033         the shell.
1035 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
1036             Maciej W. Rozycki  <macro@imgtec.com>
1038         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
1039         `.Lno_weak_fn' label.
1040         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
1041         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
1043 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1044             Yury Norov  <ynorov@caviumnetworks.com>
1046         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
1047         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
1048         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1049         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
1050         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1051         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
1052         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1053         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
1054         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1055         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
1056         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
1057         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
1058         (sysdep_routines): Remove oldgetrlimit64.
1059         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
1060         (sysdep_routines): Likewise.
1061         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
1062         (sysdep_routines): Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1064         [$(subdir) = resource] (sysdep_routines): Likewise.
1065         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
1066         [$(subdir) = resource] (sysdep_routines): Likewise.
1067         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
1068         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
1069         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
1070         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
1071         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
1072         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
1073         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
1074         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
1075         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
1076         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
1077         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
1078         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
1079         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
1080         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
1081         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
1082         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
1083         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
1084         setrlimit and getrlimit.
1085         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
1086         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1087         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
1088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
1089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
1090         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
1091         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
1092         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
1093         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1094         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
1095         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
1096         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
1097         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
1098         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
1099         (__old_getrlimit64): Add compatibility symbol.
1100         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
1102 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
1104         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
1105         newly built gmp, mpfr and mpc.
1107         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
1109 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1111         * conform/Makefile (linknamespace-libs): Rename to
1112         linknamespace-libs-thr.
1113         (linknamespace-libs-posix): New variable.
1114         (linknamespace-libs-xsi): Likewise.
1115         (linknamespace-libs-XPG3): Include libcrypt.a.
1116         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
1117         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
1118         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
1119         (linknamespace-libs-XOPEN2K): Likewise.
1120         (linknamespace-libs-XOPEN2K8): Likewise.
1121         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
1123         [BZ #20829]
1124         * stdio-common/Versions (__snprintf): Add to version
1125         GLIBC_PRIVATE.
1126         * include/stdio.h (__snprintf): Use libc_hidden_proto.
1127         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
1128         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
1129         of snprintf.
1130         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
1132 2016-11-16  Zack Weinberg  <zackw@panix.com>
1134         * string/string.h: Remove obsolete comment stating that
1135         strcoll_l and strxfrm_l have not yet been standardized.
1137 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1139         * hurd/hurd.h (__hurd_fail_noerrno): New function.
1140         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
1141         __access_noerrno.
1142         * io/access.c (__access_noerrno): New function.
1143         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
1144         (hurd_fail_seterrno): Likewise.
1145         (access_common): Likewise.
1146         (__access_noerrno): Likewise.
1147         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
1148         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
1149         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
1150         macro.
1152 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
1154         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
1155         Only declare fpregs if [__SH_FPU_ANY__].
1157 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
1159         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
1160         Make code unconditional.
1161         [!(__SH4__ || __SH4A__)]: Remove conditional code.
1163 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
1165         * manual/sysinfo.texi (S_APPEND): Delete.
1166         (S_IMMUTABLE): Likewise.
1168 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
1169             Magnus Granberg  <zorry@gentoo.org>
1170             Mike Frysinger  <vapier@gentoo.org>
1172         [BZ #20662]
1173         * configure.ac (libc_cv_predef_stack_protector): Also check for
1174         __stack_chk_fail_local symbols.
1175         * configure: Regenerated.
1177 2016-11-15  Florian Weimer  <fweimer@redhat.com>
1179         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1180         (libc_hidden_def): Remove redefinition.
1181         (__sigsetjmp): Add hidden definition.
1182         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
1183         (libc_hidden_def): Remove redefinition.
1184         (__sigsetjmp): Add hidden definition.
1186 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
1188         * scripts/build-many-glibcs.py (os.path): Do not import.
1189         (Context): Inherit explicitly from object.  Remove blank line
1190         between class and docstring.
1191         (Config): Likewise.
1192         (Glibc): Likewise.
1193         (Command): Likewise.
1194         (CommandList): Likewise.
1195         (Context.write_files): Store chmod mode in a variable.
1197         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
1198         LIBC_SLIBDIR_RTLDDIR for tilegx32.
1199         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
1201 2016-11-14  Zack Weinberg  <zackw@panix.com>
1203         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
1204         creating or re-creating it.
1206         * string/bits/string2.h: Fix typo in comment.
1208 2016-11-14  Zack Weinberg  <zackw@panix.com>
1210         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
1211         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
1212         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
1213         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
1214         of redirected function names.
1216         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
1217         as well.  Document that MESSAGE must be a single string literal.
1219 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
1221         * scripts/build-many-glibcs.py: New file.
1223         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
1224         (do_test): Disable -Wmaybe-uninitialized around uses of
1225         except_mask.
1227         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
1229 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
1231         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
1232         (atomic_store_release): Provide tilepro-specific implementations.
1234 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
1236         * math/math.h (__MATH_TG): New macro.
1237         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
1238         [__USE_ISOC99] (signbit): Likewise.
1239         [__USE_ISOC99] (isfinite): Likewise.
1240         [__USE_ISOC99] (isnan): Likewise.
1241         [__USE_ISOC99] (isinf): Likewise.
1242         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
1243         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
1244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
1245         __MATH_TG and __MATH_EVAL_FMT2.
1246         * sysdeps/generic/math_private.h (fabs_tg): Define using
1247         __MATH_TG.
1248         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1249         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
1250         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
1251         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
1252         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
1253         macro.
1254         (__iscanonical): Likewise.
1255         (iscanonical): Define using __MATH_TG.
1257 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1259         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
1260         guards.
1262         * sysdeps/unix/sysv/linux/access.c: New file.
1263         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
1265 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
1267         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
1268         and __WORDSIZE32_PTRDIFF_LONG.
1270 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1272         * sysdeps/aarch64/libm-test-ulps: Regenerated.
1274 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1276         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
1277         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
1278         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
1279         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
1280         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
1281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
1282         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
1283         * sysdeps/unix/sysv/linux/truncate.c: New file.
1284         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
1285         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1286         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
1287         Remove.
1288         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
1289         Likewise.
1291         * posix/tst-truncate-common.c: New file.
1292         * posix/tst-truncate.c: Use tst-truncate-common.c.
1293         * posix/tst-truncate64.c: Likewise and add LFS tests.
1294         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
1295         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
1296         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
1297         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
1298         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
1299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
1300         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
1301         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
1302         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
1303         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
1304         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
1305         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
1306         Remove.
1307         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
1308         Likewise.
1310 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
1312         [BZ #20790]
1313         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
1314         to MAXLINESIZE.
1315         * sunrpc/bug20790.x: New file.
1316         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
1317         variable.
1318         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
1319         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
1321         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
1323         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
1325         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
1326         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
1327         calloc, realloc, free, memalign and __libc_memalign rather than
1328         making them optional.
1330         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
1331         for libc.so.
1333 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1335         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
1336         ptw-lseek64.
1337         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
1338         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
1339         Likewise.
1340         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
1341         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
1342         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
1343         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
1344         * sysdeps/unix/sysv/linux/lseek.c: New file.
1345         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
1346         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
1347         __libc_lseek64 from auto-generation.
1348         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
1349         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
1351 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1353         * nptl/tst-basic1.c (tf, do_test): Use write_message.
1354         * nptl/tst-cleanup1.c (do_test): Likewise.
1355         * nptl/tst-cleanup3.c (do_test): Likewise.
1356         * nptl/tst-key1.c (do_test): Likewise.
1357         * nptl/tst-key2.c (tf, do_test): Likewise.
1358         * nptl/tst-key3.c (tf, do_test): Likewise.
1359         * nptl/tst-stdio1.c (do_test): Likewise.
1360         * nptl/tst-stdio2.c (do_test): Likewise.
1362         * nptl/tst-kill3.c (handler): Use write_message in place of write.
1363         * nptl/tst-kill6.c (handler): Likewise.
1364         * nptl/tst-tls2.c (CB): Likewise.
1365         * nptl/tst-tls3.c (CB): Likewise.
1367 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
1369         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
1371 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
1372             Steve Ellcey  <sellcey@caviumnetworks.com>
1374         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
1375           __ASSUME_ST_INO_64_BIT as 0
1376         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
1377         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
1378           over the code where __ASSUME_ST_INO_64_BIT is used.
1379         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
1380         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
1381         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1383 2016-11-07  Florian Weimer  <fweimer@redhat.com>
1385         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1386         Document ABI exposure of the __kind offset.
1387         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1388         Mention reason for the __kind offset exposure in the ABI.
1389         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1390         Likewise.
1391         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1392         Likewise.
1393         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1394         Likewise.
1395         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
1396         (struct __pthread_mutex_s): Likewise.
1397         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1398         Likewise.
1399         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1400         Likewise.
1401         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1402         Likewise.
1403         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1404         Likewise.
1405         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1406         Likewise.
1407         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
1408         Likewise.
1409         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
1410         (struct __pthread_mutex_s): Likewise.
1411         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1412         (struct __pthread_mutex_s): Likewise.
1413         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
1414         Likewise.
1416 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
1418         * test-skeleton.c: Document do_test usage.
1420 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
1422         * iconv/gconv.h (__gconv_info): Define __data element using a
1423         zero-length array.
1425 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
1427         * math/test-tgmath2.c: Split up test function.
1429 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1431         * Rules (tests-expected): New variable, depending on
1432         $(run-built-tests).
1433         (tests): Pass $(tests-expected) to merge-test-results.sh, not
1434         $(tests).
1436         * Rules [$(run-built-tests) = no] (tests): Do not depend on
1437         $(tests-unsupported).
1439 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1441         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
1442         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
1444 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1446         [BZ #20768]
1447         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
1448         __fegetenv instead of fegetenv.
1450         [BZ #14139]
1451         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
1452         (find_files): Obtain platform name from libm-test-ulps-name and
1453         store in %pplatforms.
1454         (canonicalize_platform): Remove.
1455         (print_platforms): Use $pplatforms directly.
1456         (by_platforms): Do not allow for platforms missing from
1457         %pplatforms.
1458         * sysdeps/aarch64/libm-test-ulps-name: New file.
1459         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
1460         * sysdeps/arm/libm-test-ulps-name: Likewise.
1461         * sysdeps/generic/libm-test-ulps-name: Likewise.
1462         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
1463         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
1464         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
1465         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
1466         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
1467         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
1468         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
1469         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
1470         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
1471         * sysdeps/nios2/libm-test-ulps-name: Likewise.
1472         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
1473         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
1474         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
1475         * sysdeps/sh/libm-test-ulps-name: Likewise.
1476         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
1477         * sysdeps/tile/libm-test-ulps-name: Likewise.
1478         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
1480         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
1482         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
1483         (test-xfail-check-execstack): New variable.
1485         * sysdeps/mips/localplt.data: New file.
1487 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
1488             Steve Ellcey  <sellcey@caviumnetworks.com>
1490         * bits/wordsize.h: Add documentation.
1491         * sysdeps/aarch64/bits/wordsize.h : New file
1492         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
1493         definitions.
1494         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
1495         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
1496         with #if instead of #ifdef.
1497         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
1498         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
1499         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
1500         Add or change defines.
1501         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
1502         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
1503         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
1504         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
1505         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
1506         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
1507         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
1508         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
1509         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
1510         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
1511         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
1512         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
1513         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
1514         * sysdeps/x86/bits/wordsize.h: Likewise.
1516 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
1517             Kevin Petit  <kevin.petit@arm.com>
1519         * sysdeps/aarch64/memchr.S (__memchr): New file.
1521 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
1523         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
1525 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
1527         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
1528         $(linknamespace-symlists-tests).
1530 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
1532         * time/tst-strptime2.c: Ignore -Wformat-length warning.
1534 2016-11-02  Florian Weimer  <fweimer@redhat.com>
1535             Carlos O'Donell  <carlos@redhat.com>
1537         [Bug #20729]
1538         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
1539         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
1540         for -Os related change.
1542 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
1544         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
1546 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
1548         [BZ #19673]
1549         * manual/math.texi (Exponents and Logarithms): Correct description
1550         of clog10.
1552 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
1554         [Bz #20729]
1555         * locale/weight.h: Include libc-internal.h.
1556         * locale/weightwc.h: Likewise.
1557         * nptl/nptl_dbP.h: Likewise.
1559 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
1561         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
1562         when it is MACH_PORT_NULL.
1564 2016-10-31  Andreas Schwab  <schwab@suse.de>
1566         [BZ #20707]
1567         * posix/glob.c (glob): Initialize pglob before checking for
1568         GLOB_BRACE.  Don't call glob recursively if pattern contains no
1569         valid brace expression despite GLOB_BRACE.
1570         * posix/globtest.sh: Test it.
1572 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1574         [BZ #20729]
1575         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
1576         Define.
1577         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
1578         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
1579         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
1580         for seq2.back_us and seq1.back_us only for -Os compiles.
1581         * locale/weightwc.h (findix): Likewise.
1582         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
1583         DB_GET_FIELD_ADDRESS only for -Os compiles.
1584         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
1585         for slen only for -Os compiles.
1586         * string/strcoll_l.c (get_next_seq): Ignore
1587         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
1588         for -Os compiles.
1590         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
1591         * include/crypt.h: New file.
1593 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1595         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
1596         from test-skeleton.c.
1597         (statclass): Replace calls to write with calls to write_message.
1599 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1601         * math/math.h
1602         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
1603         New macro.
1604         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
1605         Likewise.
1606         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
1607         Likewise.
1608         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
1609         SNANL.
1610         * math/test-double.h (snan_value_MACRO): New macro.
1611         * math/test-float.h (snan_value_MACRO): Likewise.
1612         * math/test-ldouble.h (snan_value_MACRO): Likewise.
1613         * math/libm-test.inc (issignaling_test_data): Add tests of
1614         snan_value_MACRO.
1616 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1618         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
1619         behavior when eliding a lock not held by the current thread.
1620         * sysdeps/powerpc/nptl/elide.h: Likewise.
1622 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1624         [BZ #20728]
1625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
1626         branch to _exit() by a function call.
1628 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1630         * malloc/malloc.c: Update chunk layout comments.
1631         (chunk_main_arena): Update comment.
1633 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1635         * crypt/sha256.c, crypt/sha256-block.c,
1636         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
1637         sha256_process_block to __sha256_process_block.
1638         * crypt/sha512.c, crypt/sha512-block.c,
1639         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
1640         sha512_process_block to __sha512_process_block.
1642 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
1644         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
1646         * math/test-nan-overflow.c: Include stdlib.h for malloc.
1648 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
1650         [BZ #20019]
1651         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
1652         definition in unrelocated shared library.
1653         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1655 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1657         [BZ #20729]
1658         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
1659         * sysdeps/unix/sysv/linux/i386/Makefile
1660         (uses-6-syscall-arguments): Define.
1661         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
1662         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
1663         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
1664         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
1665         Likewise.
1666         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
1667         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
1668         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
1669         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
1670         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
1671         (CFLAGS-fallocate64.os): Likewise.
1672         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
1673         (CFLAGS-pthread_rwlock_timedrdlock.os)
1674         (CFLAGS-pthread_rwlock_timedwrlock.o)
1675         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
1676         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
1677         (CFLAGS-sem_timedwait.os): Likewise.
1679 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1681         * elf/tst-linkall-static.c: New file.
1682         * elf/Makefile (tests-static): Add tst-linkall-static.
1683         (tst-linkall-static): Link against static libraries.
1685 2016-10-27  Florian Weimer  <fweimer@redhat.com>
1687         * malloc/malloc.c (sysmalloc): Initialize previous size field of
1688         mmaped chunks.
1690 2016-10-28  Florian Weimer  <fweimer@redhat.com>
1692         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
1693         members to mchunk_prev_size, mchunk_size.
1694         (chunk_main_arena): Reverse sense and rename from
1695         chunk_non_main_arena.
1696         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
1697         mchunk_size instead of size.
1698         (set_non_main_arena): Define.
1699         (chunksize): Use chunksize_nomask instead of direct member access.
1700         (chunksize_nomask): Define.
1701         (next_chunk): Use chunksize instead of direct member access.
1702         (prev_size, set_prev_size): Define.
1703         (prev_chunk): Use prev_size instead of direct member access.
1704         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
1705         (inuse_bit_at_offset, set_inuse_bit_at_offset)
1706         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
1707         (mchunk_prev_size, mchunk_size): Poison tokens.
1708         (unlink): Use chunksize_nomask, prev_size accessors.
1709         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
1710         (do_check_free_chunk): Use prev_size accessor.
1711         (sysmalloc): Use set_prev_size, set_head accessors.
1712         (munmap_chunk, mremap_chunk): Use prev_size accessor.
1713         (__libc_free): Use chunksize_nomask accessor.
1714         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
1715         chunk_main_arena accessors.
1716         (_int_free): Use chunksize_nomask, prev_size accessors.
1717         (malloc_consolidate): Use chunksize, prev_size accessors.
1718         (_int_realloc): Use chunksize_nomask accessor.
1719         (_int_memalign): Use set_prev_size accessor.
1720         (__malloc_info): Use chunksize_nomask accessor.
1721         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
1722         accessors.
1723         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
1724         (heap_trim): Use chunksize_nomask, prev_size accessors.
1726 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
1728         [BZ #19380]
1729         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
1730         for inexact results.
1731         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
1732         of inexact result where mpfr_subnormalize is the only inexact
1733         step.
1734         * stdlib/tst-strtod-round-data.h: Regenerated.
1735         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
1736         Define to 0.
1737         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
1739 2016-10-27  David S. Miller  <davem@davemloft.net>
1741         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
1743 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1745         * malloc/malloc.c (do_set_mallopt_check): New function.
1746         (do_set_mmap_threshold): Likewise.
1747         (do_set_mmaps_max): Likewise.
1748         (do_set_top_pad): Likewise.
1749         (do_set_perturb_byte): Likewise.
1750         (do_set_trim_threshold): Likewise.
1751         (do_set_arena_max): Likewise.
1752         (do_set_arena_test): Likewise.
1753         (__libc_mallopt): Use them.
1755 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
1757         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1758         (canonicalize): New declaration.
1759         * math/Versions (canonicalize): New libm symbol at version
1760         GLIBC_2.25.
1761         (canonicalizef): Likewise.
1762         (canonicalizel): Likewise.
1763         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
1764         * math/s_canonicalize_template.c: New file.
1765         * math/libm-test.inc: Update comment on functions tested and
1766         testing of NaN payloads.
1767         (TEST_NAN_PAYLOAD): New macro.
1768         (NO_TEST_INLINE): Update value.
1769         (XFAIL_TEST): Likewise.
1770         (ERRNO_UNCHANGED): Likewise.
1771         (ERRNO_EDOM): Likewise.
1772         (ERRNO_ERANGE): Likewise.
1773         (IGNORE_RESULT): Likewise.
1774         (NON_FINITE): Likewise.
1775         (TEST_SNAN): Likewise.
1776         (NO_TEST_MATHVEC): Likewise.
1777         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
1778         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
1779         (struct test_Ffp_b1_data): New type.
1780         (RUN_TEST_Ffp_b1): New macro.
1781         (RUN_TEST_LOOP_Ffp_b1): Likewise.
1782         (canonicalize_test_data): New array.
1783         (canonicalize_test): New function.
1784         (main): Call canonicalize_test.
1785         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
1786         canonicalizef and canonicalizel.
1787         * manual/libm-err-tab.pl: Update comment on interfaces without
1788         ulps tabulated.
1789         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
1790         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
1791         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1792         canonicalize.
1793         (CFLAGS-nldbl-canonicalize.c): New variable.
1794         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
1795         to ...
1796         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
1797         ... here.
1798         (do_test): Also test canonicalizel.
1799         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
1800         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
1801         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
1802         file.
1803         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
1804         Use libm_hidden_def.
1805         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
1806         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
1807         (do_test): Also test canonicalizel.
1808         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
1809         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
1810         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
1811         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
1812         libm_hidden_def.
1813         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
1814         macro.
1815         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
1816         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
1817         * sysdeps/nacl/libm.abilist: Update.
1818         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1819         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1820         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1821         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1822         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1823         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1824         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1825         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1826         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1827         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1828         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1829         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1831         Likewise.
1832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1833         Likewise.
1834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1835         Likewise.
1836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1837         Likewise.
1838         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1839         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1840         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1841         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1842         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1844         Likewise.
1845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1846         Likewise.
1847         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1848         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1849         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1851         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
1852         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
1853         getpayload.
1854         (CFLAGS-nldbl-getpayload.c): New variable.
1856 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1858         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
1859         integer from the format string.
1861 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1863         [BZ #19473]
1864         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
1865         declarations.
1866         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
1867         weak aliases.
1868         * malloc/hooks.c (__malloc_get_state): Remove definition.
1869         (malloc_get_state): New stub implementation as
1870         compatibility symbol.
1871         (malloc_set_state): Rename from __malloc_set_state.  Turn into
1872         compat symbol.
1873         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
1874         malloc_set_state.
1875         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
1877 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1879         * iconvdata/iso646.c (enum variant): Drop illegal_var.
1880         (names): Turn into concatenation of strings.
1881         (gconv_init): Adapt iteration over names.
1883 2016-10-26  Florian Weimer  <fweimer@redhat.com>
1885         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
1886         make const.
1887         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
1888         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
1889         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
1890         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
1891         character in sbconv.
1892         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
1893         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
1894         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
1896 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1898         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
1900         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
1901         (M_TRIM_THRESHOLD): Likewise.
1903         * manual/memory.texi (M_ARENA_TEST): Add documentation.
1904         (M_ARENA_MAX): Likewise.
1905         * malloc/malloc.c: Remove obsolete comment.
1907         * manual/memory.texi: Add environment variable alternatives to
1908         setting mallopt parameters.
1910 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
1912         * include/atomic.h
1913         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
1914         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
1916 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1918         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
1919         * stdlib/tst-strfrom.h: New file.
1920         * stdlib/tst-strfrom.c: New file.
1921         * stdlib/tst-strfrom-locale.c: New file.
1923         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
1924         * stdlib/bug-strtod2.c: Likewise.
1925         * stdlib/tst-strtod-round-skeleton.c: Likewise.
1926         * stdlib/tst-strtod6.c: Likewise.
1927         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
1929 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1931         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
1932         * manual/arith.texi: Document strfromd, strfromf, strfroml.
1933         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
1934         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
1935         * stdlib/stdlib.h (strfromd): New declaration.
1936         (strfromf): Likewise.
1937         (strfroml): Likewise.
1938         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
1939         strfrom.
1940         * stdlib/strfromd.c: New file.
1941         * stdlib/strfromf.c: Likewise.
1942         * stdlib/strfroml.c: Likewise.
1943         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
1944         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
1945         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
1946         * sysdeps/arm/nacl/libc.abilist: Update.
1947         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
1948         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1949         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1950         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1951         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1952         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1953         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1954         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1955         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1956         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1957         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1958         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1959         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1960         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
1962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
1963         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1965         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1966         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1967         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1968         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1969         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1970         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1972         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
1973         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1974         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1976 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
1978         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
1979         instead of cmpli.
1980         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
1981         instead of cmpli.
1983 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
1985         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
1986         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
1987         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
1988         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
1989         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
1990         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
1992 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1994         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
1995         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1996         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
1997         SYSCALL_LL64_PRW.
1998         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1999         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
2000         __ASSUME_PRW_DUMMY_ARG.
2001         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
2002         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
2003         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
2004         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
2005         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
2006         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
2008 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
2010         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
2012 2016-10-22  Florian Weimer  <fweimer@redhat.com>
2014         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
2015         "C++", to override a potential extern "C" directive around the
2016         header file inclusion.
2018 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
2020         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
2022 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2024         * sysdeps/powerpc/fpu/fenv_private.h:
2025         (_FPU_MASK_ALL): Rename to...
2026         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
2027         XE FPSCR bits.
2029         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
2031         (_FPU_MASK_ROUNDING): Rename to...
2032         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
2033         NI bits.
2035         (_FPU_MASK_EXCEPT_ROUND): Rename to...
2036         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
2037         bits and rounding bits.
2039         (__libc_feholdbits_ppc): New inline function to mask, set,
2040         and pontentially clear FSPCR bits, and change MSR[FE] bits.
2041         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
2042         (libc_feholdexcept_setround_ppc): Likewise.
2044         (__libc_femergeenv_ppc): New function to dynamically mask both
2045         old and new FP environments and merge.
2046         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
2047         (libc_feresetround_ppc): Likewise.
2048         (libc_feupdateenv_test_ppc): Likewise.
2049         (libc_feupdateenv_ppc): Likewise.
2051         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
2052         of ISA RN bits, and update macro names.
2053         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
2054         effectively the same as the previously mentioned function.
2056         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
2057         usage with fe_resetround_ppc.
2059         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
2060         to be used.
2061         (libc_feholdexcept_setround_ctxf): Likewise.
2062         (libc_feholdexcept_setround_ctxl): Likewise.
2064 2016-10-21  Florian Weimer  <fweimer@redhat.com>
2066         [BZ #20715]
2067         * math/math.h [__cplusplus] (iszero): Define as function template.
2068         * math/Makefile [CXX] (tests): Add test-math-iszero.
2069         (CFLAGS-test-math-iszero.cc): Set.
2070         * math/test-math-iszero.cc: New file.
2072 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
2074         [BZ #20660]
2075         * sysdeps/arm/e_sqrt.c: New file.
2076         * sysdeps/arm/e_sqrtf.c: Likewise.
2078 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
2080         [BZ #20718]
2081         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
2082         not use floating-point comparisons to test sign.
2083         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
2084         Likewise.
2086         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2087         (getpayload): New declaration.
2088         * math/Versions (getpayload): New libm symbol at version
2089         GLIBC_2.25.
2090         (getpayloadf): Likewise.
2091         (getpayloadl): Likewise.
2092         * math/Makefile (libm-calls): Add s_getpayloadF.
2093         * math/libm-test.inc: Include <nan-high-order-bit.h>.
2094         (struct test_f_f_data): Add comment.
2095         (RUN_TEST_fp_f): New macro.
2096         (RUN_TEST_LOOP_fp_f): Likewise.
2097         (getpayload_test_data): New array.
2098         (getpayload_test): New function.
2099         (main): Call getpayload_test.
2100         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
2101         descriptor.
2102         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
2103         getpayloadf and getpayloadl.
2104         * manual/libm-err-tab.pl: Update comment on interfaces without
2105         ulps tabulated.
2106         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
2107         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
2108         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
2109         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
2110         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
2111         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
2112         * sysdeps/nacl/libm.abilist: Update.
2113         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2114         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2115         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2116         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2117         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2118         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2119         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2120         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2121         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2122         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2123         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2124         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2125         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2126         Likewise.
2127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2128         Likewise.
2129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2130         Likewise.
2131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2132         Likewise.
2133         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2134         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2135         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2136         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2137         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2139         Likewise.
2140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2141         Likewise.
2142         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2144         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2146 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2148         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
2149         tst-fallocate{64}.
2150         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
2151         on syscall return.
2153 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
2155         [BZ #20689]
2156         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
2157         usable.
2159 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
2161         * sysdeps/generic/nan-high-order-bit.h: New file.
2162         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
2163         * sysdeps/mips/nan-high-order-bit.h: Likewise.
2164         * sysdeps/hppa/math_private.h: Remove file.
2165         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
2166         not define here.
2167         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
2168         <nan-high-order-bit.h>.
2169         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2170         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
2171         <nan-high-order-bit.h>.
2172         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2173         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
2174         <nan-high-order-bit.h>.
2175         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2176         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
2177         <nan-high-order-bit.h>.
2178         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2179         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
2180         <nan-high-order-bit.h>.
2181         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2182         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
2183         <nan-high-order-bit.h>.
2184         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2185         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
2186         <nan-high-order-bit.h>.
2187         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2188         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
2189         <nan-high-order-bit.h>.
2190         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2191         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
2192         <nan-high-order-bit.h>.
2193         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2194         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
2195         <nan-high-order-bit.h>.
2196         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2197         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
2198         <nan-high-order-bit.h>.
2199         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2200         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
2201         <nan-high-order-bit.h>.
2202         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2203         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
2204         <nan-high-order-bit.h>.
2205         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2206         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
2207         <nan-high-order-bit.h>.
2208         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2209         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
2210         <nan-high-order-bit.h>.
2211         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2212         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
2213         <nan-high-order-bit.h>.
2214         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2215         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
2216         <nan-high-order-bit.h>.
2217         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2218         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
2219         <nan-high-order-bit.h>.
2220         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
2222 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2224         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
2226 2016-09-22  John David Anglin  <dave.anglin@bell.net>
2228         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
2229         abort-instr.h.
2230         (EFAULT): Remove conditional define.
2231         (ENOSYS): Likewise.
2232         (atomic_compare_and_exchange_val_acq): Use instruction nullification
2233         instead of conditional branch instructions.
2235 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
2237         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2238         (totalordermag): New declaration.
2239         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
2240         New macro.
2241         * math/Versions (totalordermag): New libm symbol at version
2242         GLIBC_2.25.
2243         (totalordermagf): Likewise.
2244         (totalordermagl): Likewise.
2245         * math/Makefile (libm-calls): Add s_totalordermagF.
2246         * math/libm-test.inc (totalordermag_test_data): New array.
2247         (totalordermag_test): New function.
2248         (main): Call totalordermag_test.
2249         * math/test-tgmath.c (NCALLS): Increase to 125.
2250         (F(compile_test)): Call totalordermag.
2251         (F(totalordermag)): New function.
2252         * manual/arith.texi (FP Comparison Functions): Document
2253         totalordermag, totalordermagf and totalordermagl.
2254         * manual/libm-err-tab.pl: Update comment on interfaces without
2255         ulps tabulated.
2256         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
2257         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
2258         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
2259         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
2260         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
2261         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
2262         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
2263         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2264         totalordermag.
2265         (CFLAGS-nldbl-totalordermag.c): New variable.
2266         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
2267         (do_test): Also test totalordermagl.
2268         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
2269         Likewise.
2270         * sysdeps/nacl/libm.abilist: Update.
2271         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2272         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2273         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2274         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2275         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2276         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2277         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2278         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2279         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2280         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2281         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2282         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2284         Likewise.
2285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2286         Likewise.
2287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2288         Likewise.
2289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2290         Likewise.
2291         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2292         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2293         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2294         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2295         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2297         Likewise.
2298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2299         Likewise.
2300         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2301         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2302         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2304 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
2306         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
2307         boolean.
2309 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
2311         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
2312         raising FE_INVALID with feraisexcept in case where part of
2313         argument is infinite, subtract that part of argument from itself.
2314         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
2315         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
2316         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2318 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2320         * math/libm-test.inc (totalorder_test_data): Add more tests.
2322 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
2324         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
2325         Undefine weak_alias and add a comment why mips64 require
2326         versioning.
2328 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
2330         [BZ #20647]
2331         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
2332         maximum CPUID level is less than 2.
2334 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
2336         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2337         (totalorder): New declaration.
2338         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
2339         New macro.
2340         * math/Versions (totalorder): New libm symbol at version
2341         GLIBC_2.25.
2342         (totalorderf): Likewise.
2343         (totalorderl): Likewise.
2344         * math/Makefile (libm-calls): Add s_totalorderF.
2345         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
2346         string.
2347         * math/libm-test.inc (PAYLOAD_DIG): New macro.
2348         (qnan_value_pl): Likewise.
2349         (snan_value_pl): Likewise.
2350         (qnan_value): Define using qnan_value_pl.
2351         (snan_value): Define using snan_value_pl.
2352         (struct test_ff_i_data): Add comment about which tests use this
2353         structure.
2354         (RUN_TEST_ff_b): New macro.
2355         (RUN_TEST_LOOP_ff_b): Likewise.
2356         (totalorder_test_data): New array.
2357         (totalorder_test): New function.
2358         (main): Call totalorder_test.
2359         * math/test-tgmath.c (NCALLS): Increase to 122.
2360         (F(compile_test)): Call totalorder.
2361         (F(totalorder)): New function.
2362         * manual/arith.texi (FP Comparison Functions): Document
2363         totalorder, totalorderf and totalorderl.
2364         * manual/libm-err-tab.pl: Update comment on interfaces without
2365         ulps tabulated.
2366         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
2367         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
2368         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
2369         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
2370         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
2371         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
2372         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
2373         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2374         totalorder.
2375         (CFLAGS-nldbl-totalorder.c): New variable.
2376         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
2377         file.
2378         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
2379         Add test-totalorderl-ldbl-128ibm.
2380         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
2381         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
2382         test-totalorderl-ldbl-96.
2383         * sysdeps/nacl/libm.abilist: Update.
2384         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2385         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2386         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2387         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2388         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2389         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2390         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2391         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2392         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2393         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2394         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2395         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2397         Likewise.
2398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2399         Likewise.
2400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2401         Likewise.
2402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2403         Likewise.
2404         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2405         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2406         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2407         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2408         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2410         Likewise.
2411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2412         Likewise.
2413         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2414         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2415         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2417 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2419         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
2420         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
2421         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
2422         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
2423         remove ENOSYS implementation.
2424         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
2425         Consolidate all Linux implementations.
2427 2016-10-11  Florian Weimer  <fweimer@redhat.com>
2429         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
2430         * resolv/herror.c (herror): Cast away const-ness.
2431         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
2432         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
2434 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
2436         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
2437         instead of M_NAN + M_NAN.
2438         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
2440 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2442         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
2443         unused variable 'p'.
2445 2016-10-09  Alan Modra  <amodra@gmail.com>
2446             Andreas Schwab  <schwab@linux-m68k.org>
2448         [BZ #20554]
2449         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
2450         [PIC && !SHARED]: Set up PIC register for PLT call.
2452 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
2454         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
2455         conditional on value of [__FLT_EVAL_METHOD__].
2456         * math/test-iseqsig-excess-precision.c: New file.
2457         * math/Makefile (tests): Add test-iseqsig-excess-precision.
2459 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2461         * math/s_iseqsig_template.c: Include math-private.h.
2463         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
2464         * posix/tst-posix_fadvise.c: New file.
2465         * posix/tst-posix_fadvise64.c: Likewise.
2466         * posix/tst-posix_fadvise-common.c: Likewise.
2467         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2468         (__ASSUME_FADVISE64_64_6ARG): Define.
2469         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2470         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
2471         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2472         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
2473         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
2474         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
2475         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
2476         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
2477         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
2478         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
2479         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
2480         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
2481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
2482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
2483         Likewise.
2484         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
2485         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
2486         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
2487         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2488         Alias to __posix_fadvise64_l32.
2489         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
2490         Add compat definition to posix_fadvise64.
2491         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
2492         Add versioned definition to posix_fadvise64.
2493         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
2494         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
2495         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
2496         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
2497         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
2499         * io/Makefile (tests): Add tst-posix_fallocate and
2500         tst-posix_fallocate64.
2501         * io/tst-posix_fallocate-common.c: New file.
2502         * io/tst-posix_fallocate.c: Likewise.
2503         * io/tst-posix_fallocate64.c: Likewise.
2504         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
2505         file.
2506         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
2507         Likewise.
2508         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
2509         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
2510         Likewise.
2511         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
2512         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
2513         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
2514         SYSCALL_LL to pass both offset and len arguments.
2515         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
2516         Likewise.
2517         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
2518         __libc_pwrite64 alias used by posix_fallocate64.
2520         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2521         tst-fallocate64.
2522         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2523         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2524         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2525         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2526         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2527         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2528         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2529         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2530         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2531         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2532         macro on offset argument.
2533         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2534         SYSCALL_LL64 on offset argument.
2536         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
2537         tst-fallocate64.
2538         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
2539         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
2540         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2541         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
2542         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
2543         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
2544         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
2545         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
2546         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
2547         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
2548         macro on offset argument.
2549         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
2550         SYSCALL_LL64 on offset argument.
2551         * test-skeleton.c (FAIL_RET): Add macro.
2552         (FAIL_EXIT): Likewise.
2553         (FAIL_EXIT1): Likewise.
2554         (_FAIL): Likewise.
2556 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2558         [BZ #20629]
2559         resolv: Remove RES_USEBSTRING and its implementation.
2560         * resolv/resolv.h (RES_USEBSTRING): Remove.
2561         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
2562         (digitvalue, encode_bitstring, decode_bitstring): Remove.
2563         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
2564         (labellen): Remove extended label types support.
2565         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
2566         * resolv/res_init.c (res_setoptions): Likewise.
2567         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2569 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2571         resolv: Remove RES_NOIP6DOTINT and its implementation.
2572         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
2573         (RES_NOIP6DOTINT): Remove.
2574         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
2575         handling.
2576         * resolv/res_debug.c (p_option): Likewise.
2577         * resolv/res_init.c (res_setoptions): Likewise.
2578         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
2580 2016-10-07  Florian Weimer  <fweimer@redhat.com>
2582         resolv: Deprecate unimplemented flags.
2583         * misc/sys/cdefs.h (__glibc_macro_warning1)
2584         (__glibc_macro_warning): Define.
2585         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
2586         (RES_KEEPTSIG): Mark as deprecated.
2587         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
2588         RES_NOCHECKNAME, RES_KEEPTSIG.
2589         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
2591 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2593         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
2594         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
2595         Use strong_alias to create symbols for glibc verison 2.19.
2597 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2599         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
2601 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2603         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
2605 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2607         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
2609 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2611         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
2612         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
2613         in header for using it as type for ifunc function because __GI_* symbols
2614         for ppc32 do not target the ifunc symbols.
2615         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
2617 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2619         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
2620         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
2621         libc_ifunc_hidden_def.
2622         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
2623         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
2624         Redirect ifunced function in header for using it as type of ifunc'ed
2625         function. Redefine libc_hidden_def to use fallback non ifunc'ed
2626         function for __GI_* symbol.
2627         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
2628         * include/libc-symbols.h
2629         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
2631 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2633         [BZ #20478]
2634         * sysdeps/s390/multiarch/ifunc-resolve.h
2635         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
2636         to create ifunc symbols.
2637         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
2638         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
2639         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
2640         for using it as type for ifunc function.
2641         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
2642         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2643         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2644         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2645         * sysdeps/s390/multiarch/strcat.c: Likewise.
2646         * sysdeps/s390/multiarch/strchr.c: Likewise.
2647         * sysdeps/s390/multiarch/strcmp.c: Likewise.
2648         * sysdeps/s390/multiarch/strcpy.c: Likewise.
2649         * sysdeps/s390/multiarch/strcspn.c: Likewise.
2650         * sysdeps/s390/multiarch/strlen.c: Likewise.
2651         * sysdeps/s390/multiarch/strncmp.c: Likewise.
2652         * sysdeps/s390/multiarch/strncpy.c: Likewise.
2653         * sysdeps/s390/multiarch/strnlen.c: Likewise.
2654         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2655         * sysdeps/s390/multiarch/strrchr.c: Likewise.
2656         * sysdeps/s390/multiarch/strspn.c: Likewise.
2657         * sysdeps/s390/multiarch/wcschr.c: Likewise.
2658         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2659         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2660         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2661         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2662         * sysdeps/s390/multiarch/wmemset.c: Likewise.
2663         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
2664         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
2665         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
2666         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
2667         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
2668         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
2670 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2672         * include/libc-symbols.h (__ifunc_resolver):
2673         New macro is used by __ifunc* macros.
2674         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
2675         depending on HAVE_GCC_IFUNC.
2676         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
2677         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
2678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2679         Redirect ifunced function in header for using as type for ifunc function.
2680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
2681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
2682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
2683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
2684         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
2685         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
2686         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
2687         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
2688         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
2689         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
2690         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
2691         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
2692         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
2693         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
2694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
2696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
2698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2699         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
2700         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
2701         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
2702         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
2703         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
2704         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
2705         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
2706         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
2707         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
2708         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
2709         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
2710         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
2711         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
2712         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
2714         Add libc_hidden_def() and use libc_ifunc_hidden() macro
2715         instead of libc_ifunc() macro.
2716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
2717         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
2719 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
2721         * config.h.in (HAVE_GCC_IFUNC): New undef.
2722         * configure.ac: Add check if gcc supports attribute ifunc feature.
2723         * configure: Regenerated.
2724         * manual/install.texi: Add recommendation for gcc with
2725         indirect-function support.
2726         * INSTALL: Regenerated.
2728 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
2730         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
2731         macro.
2732         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2733         (__iseqsig): New declaration.
2734         * math/s_iseqsig_template.c: New file.
2735         * math/Versions (__iseqsigf): New libm symbol at version
2736         GLIBC_2.25.
2737         (__iseqsig): Likewise.
2738         (__iseqsigl): Likewise.
2739         * math/libm-test.inc (iseqsig_test_data): New array.
2740         (iseqsig_test): New function.
2741         (main): Call iseqsig_test.
2742         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
2743         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
2744         * manual/libm-err-tab.pl: Update comment on interfaces without
2745         ulps tabulated.
2746         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
2747         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
2748         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
2749         * sysdeps/nacl/libm.abilist: Update.
2750         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2751         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2752         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2753         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2754         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2755         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2756         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2757         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2758         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2759         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2760         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2761         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2763         Likewise.
2764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2765         Likewise.
2766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2767         Likewise.
2768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2769         Likewise.
2770         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2771         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2772         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2773         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2774         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2776         Likewise.
2777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2778         Likewise.
2779         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2780         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2781         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2783 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2785         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
2786         do_sincos_2, sloww, sloww1): Update comments.
2788         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
2789         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
2791         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
2792         K boolean and rename it.
2793         (__sin): Adjust.
2794         (__cos): Adjust.
2796 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2797             Siddhesh Poyarekar  <siddhesh@sourceware.org>
2799         * manual/nss.texi: Fix typos in the manual.
2801 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
2803         * manual/contrib.texi: Fix typos in the manual.
2805         * manual/maint.texi: Fix typos in the manual.
2807         * manual/install.texi: Fix typos in the manual.
2808         * INSTALL: Regenerated.
2810         * manual/lang.texi: Fix typos in the manual.
2812         * manual/probes.texi: Fix typos in the manual.
2814         * manual/threads.texi: Fix typos in the manual.
2816         * manual/debug.texi: Fix typos in the manual.
2818         * manual/crypt.texi: Fix typos in the manual.
2820         * manual/conf.texi: Fix typos in the manual.
2822         * manual/sysinfo.texi: Fix typos in the manual.
2824         * manual/users.texi: Fix typos in the manual.
2826         * manual/job.texi: Fix typos in the manual.
2828         * manual/process.texi: Fix typos in the manual.
2830         * manual/argp.texi: Fix typos in the manual.
2831         * manual/getopt.texi: Likewise.
2832         * manual/startup.texi: Likewise.
2834         * manual/signal.texi: Fix typos in the manual.
2836         * manual/setjmp.texi: Fix typos in the manual.
2838         * manual/resource.texi: Fix typos in the manual.
2840         * manual/time.texi: Fix typos in the manual.
2842         * manual/arith.texi: Fix typos in the manual.
2844         * manual/math.texi: Fix typos in the manual.
2846         * manual/syslog.texi: Fix typos in the manual.
2848         * manual/terminal.texi: Fix typos in the manual.
2850         * manual/socket.texi: Fix typos in the manual.
2852         * manual/filesys.texi: Fix typos in the manual.
2854         * manual/llio.texi: Fix typos in the manual.
2856         * manual/stdio.text: Fix typos in the manual.
2858 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2860         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
2861         instead of K1.
2863         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
2864         SHIFT_QUADRANT and make it bool.
2865         (do_sincos_2): Likewise.
2866         (sloww): Likewise.
2867         (sloww1): Likewise.
2868         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
2869         (__cos): Likewise.
2871 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2873         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
2875 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
2877         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
2878         Define to __WORDSIZE, not conditional on [LONG_MAX ==
2879         0x7fffffffL].
2880         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2882 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2884         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
2885         inline by __inline__.
2886         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
2887         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
2888         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
2889         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
2890         sigset_t from signal.h.
2891         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
2892         which is already required.
2894 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
2896         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2898 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
2900         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
2901         (struct tcp_repair_window): New type.
2903 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2905         * libio/tst-memstream3.c: Include string.h.
2907 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2909         [BZ #18241]
2910         [BZ #20181]
2911         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
2912         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
2913         write position is at the end the buffer.
2914         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
2915         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
2916         (_IO_str_seekoff): Set correct offset from negative displacement and
2917         set EINVAL for invalid ones.
2918         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
2919         buffer length.
2920         (_IO_wstr_switch_to_get_mode): New function.
2921         (_IO_wstr_seekoff): Set correct offset from negative displacement and
2922         set EINVAL for invalid ones.
2923         * libio/tst-memstream3.c: New file.
2924         * libio/tst-wmemstream3.c: Likewise.
2925         * manual/examples/memstrm.c: Remove warning when priting size_t.
2927 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2929         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
2930         macro to use __builtin_fma.
2931         * sysdeps/x86_64/fpu/dla.h: Remove file.
2933         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
2934         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
2935         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
2937 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
2939         [BZ #20292]
2940         * elf/Makefile (routines): Add dl-addr-obj.
2941         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
2942         tst-_dl_addr_inside_object.
2943         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
2944         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2945         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
2946         [ifeq (yesyes,$(have-fpie)$(build-shared))]
2947         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
2948         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
2949         * elf/dl-open.c: Likewise.
2950         * elf/dl-addr-obj.c: New file.
2951         * elf/tst-_dl_addr_inside_object.c: New file.
2953 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
2955         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
2956         <bits/iscanonical.h>.
2957         * bits/iscanonical.h: New file.
2958         * math/s_iscanonicall.c: Likewise.
2959         * math/Versions (__iscanonicall): New libm symbol at version
2960         GLIBC_2.25.
2961         * math/libm-test.inc (iscanonical_test_data): New array.
2962         (iscanonical_test): New function.
2963         (main): Call iscanonical_test.
2964         * math/Makefile (headers): Add bits/iscanonical.h.
2965         (type-ldouble-routines): Add s_iscanonicall.
2966         * manual/arith.texi (Floating Point Classes): Document
2967         iscanonical.
2968         * manual/libm-err-tab.pl: Update comment on interfaces without
2969         ulps tabulated.
2970         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
2971         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
2972         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
2973         Likewise.
2974         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
2975         test-iscanonical-ldbl-128ibm.
2976         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
2977         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
2978         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
2979         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
2980         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
2981         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2982         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2984         Likewise.
2985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2986         Likewise.
2987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2988         Likewise.
2989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2990         Likewise.
2991         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2992         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2994 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2996         * string/bits/string3.h: Remove C++ style comments.
2998 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3000         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
3001         instead of ternary condition.
3002         (do_sincos_2): Likewise.
3003         (__sin): Likewise.
3004         (__cos): Likewise.
3005         (slow): Likewise.
3006         (sloww): Likewise.
3007         (sloww1): Likewise.
3008         (bsloww): Likewise.
3009         (bsloww1): Likewise.
3011         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
3012         instead of ternary condition.
3013         (do_sin_slow): Likewise.
3014         (do_sincos_1): Likewise.
3015         (do_sincos_2): Likewise.
3016         (__cos): Likewise.
3017         (sloww): Likewise.
3018         (sloww1): Likewise.
3019         (sloww2): Likewise.
3020         (bsloww): Likewise.
3021         (bsloww1): Likewise.
3022         (bsloww2): Likewise.
3024         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
3025         check from here...
3026         (slow2): ... and here...
3027         (__sin): ... to here.
3029 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
3031         * math/math.h
3032         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
3033         Cast argument to its own type.
3034         * math/test-iszero-excess-precision.c: New file.
3035         * math/Makefile (tests): Add test-iszero-excess-precision.
3036         (CFLAGS-test-iszero-excess-precision.c): New variable.
3038 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
3040         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
3041         field, add err field.
3042         (__spawni_child): Report error through err member instead of pipe.
3043         (__spawnix): Likewise.
3045 2016-09-28  Zack Weinberg  <zackw@panix.com>
3047         * scripts/check-installed-headers.sh: Generalize treatment of
3048         sys/elf.h to all target architectures.
3050         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
3051         deleted typedef ucontext_t.
3053 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3055         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
3056         (__INTERNAL_SYSCALL1): Likewise.
3057         (__INTERNAL_SYSCALL2): Likewise.
3058         (__INTERNAL_SYSCALL3): Likewise.
3059         (__INTERNAL_SYSCALL4): Likewise.
3060         (__INTERNAL_SYSCALL5): Likewise.
3061         (__INTERNAL_SYSCALL6): Likewise.
3062         (__INTERNAL_SYSCALL7): Likewise.
3063         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
3064         (__INTERNAL_SYSCALL_NARGS): Likewise.
3065         (__INTERNAL_SYSCALL_DISP): Likewise.
3066         (INTERNAL_SYSCALL_CALL): Likewise.
3067         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
3068         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
3069         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
3070         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
3071         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
3072         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
3073         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
3074         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
3075         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
3076         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
3077         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
3078         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
3079         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
3081 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
3083         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
3084         macro.
3085         * math/libm-test.inc (iszero_test_data): New array.
3086         (iszero_test): New function.
3087         (main): Call iszero_test.
3088         * manual/arith.texi (Floating Point Classes): Document iszero.
3089         * manual/libm-err-tab.pl: Update comment on interfaces without
3090         ulps tabulated.
3092 2016-09-23  Zack Weinberg  <zackw@panix.com>
3094         * scripts/check-installed-headers.sh: New script.
3095         * Rules: In each directory that defines header files to be installed,
3096         run check-installed-headers.sh on them as a special test.
3097         * Makefile: Likewise for the headers installed at top level.
3099         * include/aliases.h, include/alloca.h, include/argz.h
3100         * include/arpa/nameser.h, include/arpa/nameser_compat.h
3101         * include/elf.h, include/envz.h, include/err.h
3102         * include/execinfo.h, include/fpu_control.h, include/getopt.h
3103         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
3104         * include/link.h, include/malloc.h, include/mcheck.h
3105         * include/mntent.h, include/netinet/ether.h
3106         * include/nss.h, include/obstack.h, include/printf.h
3107         * include/pty.h, include/resolv.h, include/rpc/auth.h
3108         * include/rpc/auth_des.h, include/rpc/auth_unix.h
3109         * include/rpc/clnt.h, include/rpc/des_crypt.h
3110         * include/rpc/key_prot.h, include/rpc/netdb.h
3111         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
3112         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
3113         * include/rpc/rpc_msg.h, include/rpc/svc.h
3114         * include/rpc/svc_auth.h, include/rpc/xdr.h
3115         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
3116         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
3117         * include/rpcsvc/ypupd.h, include/shadow.h
3118         * include/stdio_ext.h, include/sys/epoll.h
3119         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
3120         * include/sys/prctl.h, include/sys/profil.h
3121         * include/sys/statfs.h, include/sys/sysctl.h
3122         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
3123         * sysdeps/arm/nacl/include/bits/setjmp.h
3124         * sysdeps/mips/include/sys/asm.h
3125         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
3126         * sysdeps/unix/sysv/linux/include/sys/timex.h
3127         * sysdeps/x86/fpu/include/bits/fenv.h:
3128         Add #ifndef _ISOMAC guard around internal declarations.
3129         Add multiple-inclusion guard if not already present.
3131 2016-09-23  Zack Weinberg  <zackw@panix.com>
3133         * sysdeps/generic/sys/ucontext.h
3134         * sysdeps/arm/sys/ucontext.h
3135         * sysdeps/i386/sys/ucontext.h
3136         * sysdeps/m68k/sys/ucontext.h
3137         * sysdeps/mips/sys/ucontext.h
3138         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
3139         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
3140         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
3141         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3142         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
3143         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3144         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3145         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3146         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3147         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3148         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3149         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3150         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3151         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3152         Include both bits/sigcontext.h and bits/sigstack.h.
3153         Fix grammar error in comment, if present.
3155         * bits/sigstack.h
3156         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
3157         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
3158         * sysdeps/unix/sysv/linux/bits/sigstack.h
3159         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
3160         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
3161         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
3162         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
3163         * bits/sigcontext.h
3164         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3165         * sysdeps/unix/sysv/linux/bits/sigcontext.h
3166         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
3167         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
3168         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
3169         as well as signal.h, if this was not already allowed.  Request
3170         definition of size_t if necessary.  Minimize semantically-null
3171         differences across files.
3173 2016-09-23  Zack Weinberg  <zackw@panix.com>
3175         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
3176         Remove all logic conditional on __need macros.  Move all the
3177         conditionally defined types to their own headers...
3178         * time/bits/types/clock_t.h: Define clock_t here.
3179         * time/bits/types/clockid_t.h: Define clockid_t here.
3180         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
3181         * time/bits/types/struct_timespec.h: Define struct timespec here.
3182         * time/bits/types/struct_timeval.h: Define struct timeval here.
3183         * time/bits/types/struct_tm.h: Define struct tm here.
3184         * time/bits/types/time_t.h: Define time_t here.
3185         * time/bits/types/timer_t.h: Define timer_t here.
3186         * time/Makefile: Install the new headers.
3188         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
3189         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
3190         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
3191         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
3192         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
3193         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
3194         * sysdeps/unix/sysv/linux/bits/resource.h
3195         * sysdeps/unix/sysv/linux/bits/timex.h
3196         * sysdeps/unix/sysv/linux/mips/bits/resource.h
3197         * sysdeps/unix/sysv/linux/net/ppp_defs.h
3198         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
3199         * sysdeps/unix/sysv/linux/sys/acct.h
3200         * sysdeps/unix/sysv/linux/sys/timerfd.h
3201         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
3202         * time/sys/time.h, time/sys/timeb.h
3203         Use the new bits/types headers.
3205         * include/time.h: Remove __need logic.
3206         * include/bits/time.h
3207         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
3208         * include/bits/types/time_t.h, include/bits/types/timer_t.h
3209         * include/bits/types/struct_itimerspec.h
3210         * include/bits/types/struct_timespec.h
3211         * include/bits/types/struct_timeval.h
3212         * include/bits/types/struct_tm.h:
3213         New wrapper headers.
3215 2016-09-23  Zack Weinberg  <zackw@panix.com>
3217         * sysdeps/mach/hurd/net/if_ppp.h
3218         * sysdeps/unix/sysv/linux/net/if_ppp.h:
3219         Only define struct ifpppstatsreq and struct ifpppcstatsreq
3220         if __USE_MISC is defined, to ensure struct ifreq is declared.
3222         * inet/netinet/ether.h: Condition all function prototypes
3223         on __USE_MISC, to ensure struct ether_addr is declared.
3225         * socket/bits/types/struct_osockaddr.h: New header.
3226         * include/bits/types/struct_osockaddr.h: New wrapper.
3227         * socket/Makefile: Install the new header.
3228         * socket/sys/socket.h, inet/protocols/talkd.h:
3229         Refer to bits/types/struct_osockaddr.h for the definition of
3230         struct osockaddr.
3232 2016-09-23  Zack Weinberg  <zackw@panix.com>
3234         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
3235         * inet/protocols/routed.h, inet/protocols/talkd.h
3236         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
3237         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
3238         * sysdeps/generic/netinet/if_ether.h
3239         * sysdeps/generic/netinet/in_systm.h
3240         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
3241         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3242         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
3243         * sysdeps/mach/hurd/net/if_arp.h
3244         * sysdeps/mach/hurd/net/if_ppp.h
3245         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
3246         * sysdeps/unix/sysv/linux/bits/in.h
3247         * sysdeps/unix/sysv/linux/net/ethernet.h
3248         * sysdeps/unix/sysv/linux/net/if_arp.h
3249         * sysdeps/unix/sysv/linux/net/if_ppp.h
3250         * sysdeps/unix/sysv/linux/net/if_shaper.h
3251         * sysdeps/unix/sysv/linux/net/route.h
3252         * sysdeps/unix/sysv/linux/netinet/if_ether.h
3253         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3254         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3255         * sysdeps/unix/sysv/linux/netipx/ipx.h
3256         * sysdeps/unix/sysv/linux/sys/acct.h
3257         * include/arpa/nameser.h, include/resolv.h:
3258         Change all uses of u_char to unsigned char,
3259         u_short and ushort to unsigned short, u_int and uint to unsigned int,
3260         u_long and ulong to unsigned long, u_int8_t to uint8_t,
3261         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
3262         and u_int64_t and u_quad_t to uint64_t.
3264         * mach/sys/reboot.h: Remove two casts of integer literals
3265         to the types they already have.
3267         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
3268         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
3269         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
3270         from referring to 'unsigned char' to 'uint8_t' for consistency with
3271         the macro definition below.
3273         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
3274         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
3275         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
3276         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
3277         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
3278         * sysdeps/unix/sysv/linux/sys/acct.h
3279         * include/arpa/nameser.h, include/resolv.h:
3280         Fix indentation disrupted by mechanical edits.
3282         * inet/protocols/talkd.h, resolv/arpa/nameser.h
3283         * sysdeps/generic/netinet/in_systm.h
3284         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
3285         * sysdeps/gnu/netinet/udp.h
3286         * sysdeps/unix/sysv/linux/net/ethernet.h
3287         * sysdeps/unix/sysv/linux/net/if_arp.h
3288         * sysdeps/unix/sysv/linux/net/if_ppp.h
3289         * sysdeps/unix/sysv/linux/net/if_shaper.h
3290         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
3291         * sysdeps/unix/sysv/linux/netinet/if_tr.h
3292         * sysdeps/unix/sysv/linux/netipx/ipx.h
3293         * sysdeps/unix/sysv/linux/sys/acct.h
3294         Include stdint.h for uintNN_t definitions.
3295         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
3297 2016-09-23  Zack Weinberg  <zackw@panix.com>
3299         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
3300         * sysdeps/unix/sysv/linux/netrose/rose.h:
3301         Include sys/socket.h and netax25/ax25.h.
3303         * inet/netinet/icmp6.h, inet/netinet/ip6.h
3304         * resolv/arpa/nameser_compat.h:
3305         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
3307         * sysdeps/unix/sysv/linux/sys/quota.h:
3308         Use __caddr_t instead of caddr_t.
3309         * sysdeps/unix/sysv/linux/sys/timerfd.h:
3310         Use __clockid_t instead of clockid_t.
3312         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
3314         * argp/argp.h: Check whether _LIBC is defined before expanding it.
3315         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
3316         expanding it.
3318         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
3319         Define __glibc_c99_flexarr_available to 1 when the compiler
3320         supports C99-compatible flexible array members, 0 otherwise.
3321         * sysdeps/unix/sysv/linux/bits/socket.h
3322         * sysdeps/mach/hurd/bits/socket.h
3323         * bits/socket.h: Use __glibc_c99_flexarr_available in
3324         definitions of struct cmsghdr and CMSG_DATA.
3326 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3328         * manual/nss.texi (NSS Modules Interface): Adjust function return
3329         type to enum nss_status.  Document errnop argument.  Clarify
3330         h_errnop semantics.  Fix cross-reference formatting.
3331         (NSS Module Function Internals): Mention that *errnop needs to be
3332         set on failure, but not to zero.
3334 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3336         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
3337         (get_random_name): New functions.
3338         (check_wrapper_flags_mode): Use linkat to give the new file a name
3339         determined by get_random_name.
3340         (do_test): Add calls to test open64 and openat64.
3342 2016-09-23  Florian Weimer  <fweimer@redhat.com>
3344         * test-skeleton.c: Remove #include <stdarg.h>.
3346 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
3348         [BZ #19826]
3349         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
3350         initialization of static TLS entries.
3351         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
3352         * nptl/allocatestack.c (init_one_static_tls): Likewise.
3354 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3356         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
3357         _hurd_malloc_fork_prepare.
3358         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
3359         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
3360         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
3361         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
3362         (_hurd_fork_child_hook): Drop malloc_fork_child.
3363         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
3364         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
3365         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
3366         after locking locks (notably hurd_dtable_lock). Call
3367         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
3368         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
3369         __malloc_fork_unlock_child.
3370         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
3372 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
3374         * soft-fp/extendhftf2.c: New.
3375         * soft-fp/fixhfti.c: Likewise.
3376         * soft-fp/fixunshfti.c: Likewise.
3377         * soft-fp/floattihf.c: Likewise.
3378         * soft-fp/floatuntihf.c: Likewise.
3379         * soft-fp/half.h: Likewise.
3380         * soft-fp/trunctfhf2.c: Likewise.
3382 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
3384         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
3385         macro.
3386         * math/libm-test.inc (issubnormal_test_data): New array.
3387         (issubnormal_test): New function.
3388         * manual/arith.texi (Floating Point Classes): Document
3389         issubnormal.
3390         * manual/libm-err-tab.pl: Update comment on interfaces without
3391         ulps tabulated.
3393         * sysdeps/generic/stdint.h: Define
3394         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3395         <bits/libc-header-start.h> instead of including <features.h>.
3396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
3397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
3398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
3399         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
3400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
3401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
3402         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
3403         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
3404         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
3405         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
3406         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
3407         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
3408         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
3409         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
3410         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
3411         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
3412         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
3413         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
3414         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
3415         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
3416         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
3417         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
3418         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
3419         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
3420         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
3421         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
3422         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
3423         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
3424         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
3425         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
3426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
3427         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
3428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
3429         * manual/arith.texi (Integers): Document these macros for types
3430         specified by width properties.
3431         * manual/lang.texi (Width of Type): Document these macros for
3432         other standard typedefs.
3433         * stdlib/tst-width-stdint.c: New file.
3434         * stdlib/Makefile (tests): Add tst-width-stdint.
3436 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3438         [BZ #20016]
3439         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
3440         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
3441         Move ...
3442         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
3443         ... here, as compatibility symbols in a new file.
3444         * resolv/Makefile (libresolv-routines): Add compat-hooks.
3445         * resolv/res_init.c (__res_vinit): Adjust member names.
3446         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
3447         * resolv/resolv.h (res_sendhookact, res_send_qhook)
3448         (res_send_rhook): Remove.
3449         (struct __res_state): Rename qhook, rhook members.
3451 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3453         malloc: Use __libc_lock wrappers.
3454         * malloc/arena.c (list_lock, free_list_lock): Define using
3455         __libc_lock_define_initialized.
3456         (arena_lock): Adjust formatting.
3457         * malloc/malloc.c (struct malloc_state): Define mutex using
3458         __libc_lock_define.
3459         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
3460         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
3461         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
3462         (mutex_unlock, mutex_trylock): Remove.
3463         (__pthread_initialize): Remove unused macro.
3464         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
3465         (mutex_unlock, mutex_trylock): Remove.
3467 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3469         [BZ #20592]
3470         Remove RR type classification macros.
3471         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
3472         (ns_t_udp_p, ns_t_xfr_p): Remove.
3474 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3476         Remove misleading version information.
3477         * resolv/arpa/nameser.h (__NAMESER): Remove.
3478         * resolv/arpa/nameser_compat.h (__BIND): Remove.
3480 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3482         Remove the always-defined BIND_4_COMPAT macro.
3483         * resolv/arpa/nameser.h: Unconditionally include
3484         <arpa/nameser_compat.h>.
3485         (BIND_4_COMPAT): Remove.
3486         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
3488 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3490         [BZ #20591]
3491         Remove obsolete DNSSEC support.
3492         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
3493         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
3494         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
3495         (ns_verify_tcp, ns_verify_tcp_init): Remove.
3496         (ns_cert_types): Add comment.
3497         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
3498         separately.
3499         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
3500         (dst_s_dns_key_id): Remove.
3501         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
3502         variables.
3504 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3506         [BZ #20524]
3507         * manual/string.texi (String/Array Comparison): Clarify the
3508         strverscmp behavior.
3510 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3512         * test-skeleton.c (xasprintf): Add function.
3513         * io/tst-open-tmpfile.c: New test.
3514         * io/Makefile (tests): Add it.
3516 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3518         Avoid running $(CXX) during build to obtain header file paths.
3519         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
3520         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
3521         * Makerules (cstdlib, cmath): Remove variables.  Use
3522         $(c++-cstdlib-header), $(c++-cmath-header) instead.
3523         * configure: Regenerate.
3525 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3527         * Makeconfig (all-object-suffixes): Include .op only if
3528         $(build-profile).
3530 2016-09-21  Florian Weimer  <fweimer@redhat.com>
3532         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
3533         conditionals.  Do not define PATH_MAX.
3535 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3537         * posix/Makefile (tests): Add tst-spawn3.
3538         * posix/tst-spawn3.c: New file.
3539         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
3540         if it is already opened for open action.
3542         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
3543         all signals when executing the clone vfork child.
3544         (SIGALL_SET): Remove macro.
3546         * nptl/Makefile (tests): Add tst-exec5.
3547         * nptl/tst-exec5.c: New file.
3548         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
3549         asynchronous cancellation.
3551 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3553         * hurd/exc2signal.c: #include <hurd/signal.h>
3554         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
3555         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
3556         accordingly.
3557         * mach/mach_error.c (mach_error): Fix old-style function definition.
3558         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
3560 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3562         * math/Makefile (libm-calls): Remove s_nanF.
3563         (gen-libm-calls): Add s_nanF.
3565         * math/s_nan.c: Refactor into ...
3566         * math/s_nan_template.c: New file.
3568         * math/s_nanf.c: Removed.
3569         * math/s_nanl.c: Removed.
3570         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
3571         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
3573         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
3574         (LDOUBLE_nanl_libm_version): New macro.
3576         * sysdeps/generic/math-type-macros-double.h:
3577         (M_STRTO_NAN): New macro.
3578         * sysdeps/generic/math-type-macros-float.h: Likewise.
3579         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3581         * sysdeps/generic/math-type-macros.h: Document
3582         M_STRTO_NAN.
3584 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3586         * math/s_nanf.c: Remove __nanf undef.
3587         * math/s_nan.c: Remove __nan undef.
3588         * math/s_nanl.c: Remove __nanl undef.
3590         * sysdeps/generic/math_private.h (__nan): Remove macro
3591         override.
3592         (__nanf): Likewise.
3593         (__nanl): Likewise.
3595 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3597         * math/Makefile (gen-all-calls): New variable.
3598         (generated): Replace gen-libm-calls with gen-all-calls.
3599         (gen-libm-templates.stmp): Likewise.  Also, ensure
3600         the output directory exists or is created and add
3601         dependency on the Makefile.
3602         (calls): Move s_ldexpF into gen-calls.
3603         (gen-calls): New variable.
3605         * math/s_ldexpf.c: Removed.
3606         * math/s_ldexpl.c: Removed.
3607         * math/s_ldexp.c: Refactored into ...
3608         * math/s_ldexp_template.c: New file.
3610         * sysdeps/generic/math-type-macros-double.h: Remove
3611         redundant fall-through definition of declare_mgen_alias.
3612         (declare_mgen_alias_2): New macro.
3614         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
3615         New macro for function aliased to two exported symbols.
3617         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
3618         new template file.
3619         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3621 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3623         * Makeconfig (all-object-suffixes): Remove .og.
3624         * Makerules (elide-routines.og): Remove.
3625         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
3626         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
3627         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
3629 2016-09-20  Florian Weimer  <fweimer@redhat.com>
3631         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
3632         .os objects.
3634 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3636         [BZ #20615]
3637         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
3638         fpu directory by non-fpu.
3639         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
3640         on non-fpu directory from a fpu directory.
3642 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
3644         * include/limits.h: Define
3645         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3646         <bits/libc-header-start.h> instead of including <features.h>.
3647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
3648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
3649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
3650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
3651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
3652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
3653         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
3654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
3655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
3656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
3657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
3658         * manual/lang.texi (Width of Type): Document these macros.
3659         * stdlib/tst-width.c: New file.
3660         * stdlib/Makefile (tests): Add tst-width.
3662 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3664         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
3665         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
3667 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3669         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
3670         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3671         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3673 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3675         [BZ #18243]
3676         * rt/Makefile (test): Add tst-shm-cancel.
3677         * rt/tst-shm-cancel.c: New file.
3678         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
3680         [BZ #18243]
3681         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
3682         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
3683         definition.
3684         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
3685         uncontended case.
3686         * nptl/sem_wait.c (__new_sem_wait): Likewise.
3687         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
3688         (tf): Fix check for uncontended case.
3689         (do_test): Likewise.
3690         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
3691         (tf): Fix check for uncontended case.
3692         (do_test): Likewise.
3693         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
3694         (tf): Fix check for uncontended case.
3695         (do_test): Likewise.
3696         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
3697         (tf): Fix check for uncontended case.
3698         (do_test): Likewise.
3700         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
3701         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
3703         [BZ #15765]
3704         * nptl/Makefile (tests): Add tst-sem16.
3705         * nptl/tst-sem16.c: New file.
3706         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
3708         * nptl/sem_open.c (sem_open): Init pad value to 0.
3709         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
3710         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
3712 2016-09-15  Florian Weimer  <fweimer@redhat.com>
3714         [BZ #20611]
3715         * inet/Makefile (routines): Add inet6_scopeid_pton.
3716         (tests): Add tst-inet6_scopeid_pton.
3717         * inet/inet6_scopeid_pton.c: New file.
3718         * inet/net-internal.h: Likewise.
3719         * inet/tst-inet6_scopeid_pton.c: New test.
3720         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
3721         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
3722         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3724 2016-09-14  Florian Weimer  <fweimer@redhat.com>
3726         Remove support for compiling wrappers with PTW.
3727         * sysdeps/nptl/Makeconfig: Drop ptw- support.
3728         * nptl/Makefile (pthread-compat-wrappers): Define.
3729         (libpthread-routines): Use pthread-compat-wrappers.
3730         * sysdeps/unix/sysv/linux/alpha/Makefile
3731         (libpthread-routines, libpthread-shared-only-routines): Remove
3732         ptw- prefix.
3733         * sysdeps/s390/nptl/Makefile
3734         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3735         * sysdeps/ia64/nptl/Makefile
3736         (libpthread-routines, libpthread-shared-only-routines): Likewise.
3737         * sysdeps/nacl/Makefile (libpthread-routines): Use
3738         pthread-compat-wrappers to filter the routines list instead of the
3739         ptw- prefix.
3741 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3743         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
3744         with L() and remove explicit suffix, convert real literals
3745         which can be equivalentally substituted with integers, and
3746         transform -L(x) to L(-x).
3748         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
3749         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
3750         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
3751         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
3752         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
3753         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
3754         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3755         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
3756         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
3757         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
3758         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
3759         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
3760         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
3761         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
3762         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
3763         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
3764         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
3765         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
3766         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
3767         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
3768         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
3769         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
3770         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
3771         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
3772         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
3773         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
3774         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
3775         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
3776         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
3777         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
3778         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
3779         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
3780         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
3781         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
3782         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
3783         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
3784         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
3785         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
3786         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
3787         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
3788         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
3789         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
3790         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
3791         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
3792         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
3793         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
3794         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
3795         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
3796         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
3797         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3799 2016-09-13  Florian Weimer  <fweimer@redhat.com>
3801         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
3803 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3805         * malloc/Makefile (tests): Remove individual static test names
3806         and just add all of tests-static.
3808         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
3810 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
3812         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
3813         file.
3815         * sysdeps/sparc/fpu/fegetmode.c: New file.
3816         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
3818         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
3819         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
3821         * sysdeps/s390/fpu/fegetmode.c: New file.
3822         * sysdeps/s390/fpu/fesetmode.c: Likewise.
3824         * sysdeps/powerpc/fpu/fegetmode.c: New file.
3825         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
3826         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
3827         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
3828         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
3829         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
3831         * sysdeps/mips/fpu/fegetmode.c: New file.
3832         * sysdeps/mips/fpu/fesetmode.c: Likewise.
3834         * sysdeps/m68k/fpu/fegetmode.c: New file.
3835         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
3837         * sysdeps/ia64/fpu/fegetmode.c: New file.
3838         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
3840         * sysdeps/hppa/fpu/fegetmode.c: New file.
3841         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
3843         * sysdeps/arm/fegetmode.c: New file.
3844         * sysdeps/arm/fesetmode.c: Likewise.
3846         * sysdeps/alpha/fpu/fegetmode.c: New file.
3847         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
3849         * sysdeps/aarch64/fpu/fegetmode.c: New file.
3850         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
3852         * math/fegetmode.c: New file.
3853         * math/fesetmode.c: Likewise.
3854         * sysdeps/i386/fpu/fegetmode.c: Likewise.
3855         * sysdeps/i386/fpu/fesetmode.c: Likewise.
3856         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
3857         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
3858         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
3859         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
3860         declaration.
3861         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
3862         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
3863         typedef.
3864         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3865         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3866         (femode_t): New typedef.
3867         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3868         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3869         (femode_t): New typedef.
3870         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3871         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3872         (femode_t): New typedef.
3873         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3874         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3875         (femode_t): New typedef.
3876         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3877         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3878         (femode_t): New typedef.
3879         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3880         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3881         (femode_t): New typedef.
3882         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3883         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3884         (femode_t): New typedef.
3885         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3886         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3887         (femode_t): New typedef.
3888         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3889         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3890         (femode_t): New typedef.
3891         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3892         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3893         (femode_t): New typedef.
3894         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
3895         declaration.
3896         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3897         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3898         (femode_t): New typedef.
3899         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3900         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3901         (femode_t): New typedef.
3902         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3903         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3904         (femode_t): New typedef.
3905         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3906         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3907         (femode_t): New typedef.
3908         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3909         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3910         (femode_t): New typedef.
3911         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
3912         * manual/arith.texi (FE_DFL_MODE): Document macro.
3913         (fegetmode): Document function.
3914         (fesetmode): Likewise.
3915         * math/Versions (fegetmode): New libm symbol at version
3916         GLIBC_2.25.
3917         (fesetmode): Likewise.
3918         * math/Makefile (libm-support): Add fegetmode and fesetmode.
3919         (tests): Add test-femode and test-femode-traps.
3920         * math/test-femode-traps.c: New file.
3921         * math/test-femode.c: Likewise.
3922         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
3923         alias for __fe_dfl_env.
3924         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
3925         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
3926         (__fe_dfl_mode): Likewise.
3927         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
3928         version GLIBC_2.25.
3929         * sysdeps/nacl/libm.abilist: Update.
3930         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3931         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3932         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3933         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3934         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3935         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3936         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3937         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3939         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3940         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3941         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3943         Likewise.
3944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3945         Likewise.
3946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3947         Likewise.
3948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3949         Likewise.
3950         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3951         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3952         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3953         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3954         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3956         Likewise.
3957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3958         Likewise.
3959         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3960         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3961         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3963 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
3965         [BZ #20495]
3966         [BZ #20508]
3967         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
3968         processors, set Use_dl_runtime_resolve_slow and set
3969         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
3970         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
3971         New.
3972         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
3973         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
3974         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
3975         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
3976         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
3977         if Use_dl_runtime_resolve_opt is set.  Use
3978         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
3979         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
3980         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
3981         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
3982         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
3983         New.
3984         (_dl_runtime_resolve_opt): Likewise.
3985         (_dl_runtime_profile): Define only if _dl_runtime_profile is
3986         defined.
3988 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3990         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
3991         __libc_memalign with "+ RELA R_390_GLOB_DAT".
3993 2016-09-06  Florian Weimer  <fweimer@redhat.com>
3995         Convert malloc to __libc_lock.  Automated part, using this Perl
3996         s/// command:
3997           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
3998             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
3999         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
4000         conversion.
4002 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
4004         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
4005         (linknamespace-symlists-tests): Likewise.
4006         (linknamespace-header-tests): Likewise.
4008 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
4010         [BZ #19810]
4011         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
4012         * elf/tst-noload.c: New test case.
4013         * elf/Makefile (tests): Add tst-noload.
4015 2016-09-02  Roland McGrath  <roland@hack.frob.com>
4017         * sysdeps/nacl/dup.c: Add libc_hidden_def.
4019         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
4020         not any more.
4022         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
4024 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4026         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
4027         (do_cos_slow): Likewise.
4028         (do_sin): Likewise.
4029         (do_sin_slow): Likewise.
4030         (slow): Likewise.
4031         (slow1): Likewise.
4032         (slow2): Likewise.
4033         (sloww): Likewise.
4034         (sloww1): Likewise.
4035         (sloww2): Likewise.
4036         (bsloww): Likewise.
4037         (bsloww1): Likewise.
4038         (bsloww2): Likewise.
4039         (cslow2): Likewise.
4041         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
4043         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
4044         arguments.  Consolidate input partitioning from callers here.
4045         (do_cos_slow): Likewise.
4046         (do_sin): Likewise.
4047         (do_sin_slow): Likewise.
4048         (do_sincos_1): Remove the no longer necessary input partitioning.
4049         (do_sincos_2): Likewise.
4050         (__sin): Likewise.
4051         (__cos): Likewise.
4052         (slow1): Likewise.
4053         (slow2): Likewise.
4054         (sloww1): Likewise.
4055         (sloww2): Likewise.
4056         (bsloww1): Likewise.
4057         (bsloww2): Likewise.
4058         (cslow2): Likewise.
4060 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4062         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
4063         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
4064         outside of allocated array.
4066 2016-09-02  Florian Weimer  <fweimer@redhat.com>
4068         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
4069         instead of MB_CUR_MAX to avoid variable-length array.
4071 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4073         * math/Makefile (libm-calls): Remove k_rem_pio2F.
4074         (type-double-routines): Add k_rem_pio2.
4075         (type-float-routines): Add k_rem_pio2f.
4077         * sysdeps/generic/math_private.h:
4078         (__kernel_rem_pio2l): Removed.
4080         * math/k_rem_pio2l.c: Removed.
4081         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
4082         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
4083         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
4084         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
4086 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4088         * math/Makefile (gen-libm-calls): Add s_fmin
4089         (libm-calls): Remove above.
4091         * math/s_fmin.c: Refactor into ...
4092         * math/s_fmin_template.c: New file.
4094         * math/s_fminf.c: Removed.
4095         * math/s_fminl.c: Removed.
4096         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4097         (LDOUBLE_fmin_libm_version): New macro.
4099         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
4100         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
4102 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4104         * math/Makefile: (gen-libm-calls): Add s_fmax.
4105         (libm-calls): Remove above.
4107         * math/s_fmax.c: Refactor into ...
4108         * math/s_fmax_template.c: New file.
4109         * math/s_fmaxf.c: Removed.
4110         * math/s_fmaxl.c: Removed.
4112         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4113         (LDOUBLE_fmaxl_libm_version): New macro.
4115         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
4116         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
4118         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
4119         s_fmin.c to pick the aarch64 version of the file.
4120         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
4121         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
4123 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4125         * math/Makefile: (gen-libm-calls): Add s_nextdown.
4126         (libm-calls): Remove above.
4128         * math/s_nextdown.c: Refactor into ...
4129         * math/s_nextdown_template.c: New file.
4130         * math/s_nextdownf.c: Removed.
4131         * math/s_nextdownl.c: Removed.
4133         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
4135 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4137         * math/Makefile (gen-libm-calls): Add s_fdim.
4138         (libm-calls): Move to above.
4140         * math/s_fdim.c: Renamed and refactored into to ...
4141         * math/s_fdim_template.c: New file.
4142         * math/s_fdiml.c: Removed.
4143         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
4144         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
4146         * sysdeps/generic/math-type-macros-double.h:
4147         (declare_mgen_alias): Don't declare if already declared.
4148         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
4149         Likewise.
4151         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
4152         (declare_mgen_alias): Don't declare if already declared.
4153         (M_LIBM_NEED_COMPAT): Likewise.
4154         (declare_mgen_libm_compat): Likewise.
4155         (LDOUBLE_fdiml_libm_version): New macro.
4157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4158         Include math/s_fdim.c now that ldbl-opt version is not needed.
4159         (declare_mgen_alias): New macro to disable aliasing.
4161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
4162         (declare_mgen_alias): Likewise.
4163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
4164         (declare_mgen_alias): Likewise.
4165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
4166         (declare_mgen_alias): Likewise.
4167         (M_LIBM_NEED_COMPAT): Likewise.
4169 2016-09-01  Florian Weimer  <fweimer@redhat.com>
4171         [BZ #20525]
4172         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
4173         Include <linux/quota.h>.
4174         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
4175         and btodb.
4176         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
4177         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
4178         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
4179         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
4180         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
4181         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
4182         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
4183         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
4184         types.
4185         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
4186         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
4188 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4190         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
4191         (gammal_positive): Fix spacing.
4192         (__ieee754_gammal_r): Likewise.
4194 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4196         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
4197         (_Float128): Define as long double, always.
4198         (L): Apply long double type suffix, always.
4200         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
4201         _Float128, excepting comments.
4203         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4204         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4205         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4206         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4207         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4208         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4209         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4210         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
4211         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4212         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
4213         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4214         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4215         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4216         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4217         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4218         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4219         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4220         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4221         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4222         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4223         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4224         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
4225         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4226         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4227         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4228         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4229         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
4230         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4231         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4232         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4233         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4234         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4235         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4236         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4237         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4238         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4239         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4240         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4241         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4242         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
4243         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4244         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4245         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4246         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4247         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4248         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4249         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4250         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4251         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4252         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4253         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4254         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4255         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4256         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4257         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
4258         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4259         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4260         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4261         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4262         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4263         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4264         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4265         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4266         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4267         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4268         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
4269         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4270         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4272         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
4273         _Float128, and include math_private.h.
4274         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
4276         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
4277         long double semantics.
4278         (_Float128): Likewise.
4279         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
4280         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
4281         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
4282         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
4284 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
4286         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
4287         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
4288         * sysdeps/s390/configure: Regenerated.
4289         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
4290         instruction for raising over-/underflow if z196 zarch is supported
4291         by default.
4292         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
4294 2016-08-30  Svante Signell  <svante.signell@gmail.com>
4296         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
4297         it point to a dumb buffer for RPC to fill it.
4299 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4301         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
4302         instead of if/else.
4303         (do_sin_slow): Likewise.
4304         (do_sincos_1): Use fabs instead of if/else.
4305         (do_sincos_2): Likewise.
4306         (__sin): Likewise.
4307         (__cos): Likewise.
4308         (slow2): Likewise.
4309         (sloww): Likewise.
4310         (sloww1): Likewise.  Drop argument M.
4311         (sloww2): Use fabs instead of if/else.
4312         (bsloww): Likewise.
4313         (bsloww1): Likewise.
4314         (bsloww2): Likewise.
4316         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
4317         fall through comment.
4318         (do_sincos_1): Likewise.
4320         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
4321         Consolidate switch cases 0 and 2.
4323 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4325         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
4326         (libm-calls): Remove the above.
4328         * math/s_cexp_template.c: Update using type-generic macros.
4329         * math/s_clog10_template.c: Likewise.
4330         * math/s_cpow_template.c: Likewise.
4331         * math/s_clog_template.c: Likewise.
4332         * math/s_cproj_template.c: Likewise.
4333         * math/s_csqrt_template.c: Likewise.
4335         * math/s_cexp.c: Removed.
4336         * math/s_cexpf.c: Removed.
4337         * math/s_cexpl.c: Removed.
4338         * math/s_clog10.c: Removed.
4339         * math/s_clog10f.c: Removed.
4340         * math/s_clog10l.c: Removed.
4341         * math/s_cpow.c: Removed.
4342         * math/s_cpowf.c: Removed.
4343         * math/s_cpowl.c: Removed.
4344         * math/s_clog.c: Removed.
4345         * math/s_clogf.c: Removed.
4346         * math/s_clogl.c: Removed.
4347         * math/s_cproj.c: Removed.
4348         * math/s_cprojf.c: Removed.
4349         * math/s_cprojl.c: Removed.
4350         * math/s_csqrt.c: Removed.
4351         * math/s_csqrtf.c: Removed.
4352         * math/s_csqrtl.c: Removed.
4354         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
4355         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
4356         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
4357         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
4358         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
4359         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
4361         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
4362         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
4363         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
4364         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
4365         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
4366         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
4367         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
4368         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
4369         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
4370         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
4371         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
4373         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
4374         version.
4376         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
4377         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
4378         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
4379         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
4381 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4383         * s_cexp_template.c: Copy of s_cexp.c.
4384         * s_clog_template.c: Copy of s_clog.c.
4385         * s_clog10_template.c: Copy of s_clog10.c.
4386         * s_cpow_template.c: Copy of s_cpow.c.
4387         * s_cproj_template.c: Copy of s_cproj.c.
4388         * s_csqrt_template.c: Copy of s_csqrt.c.
4390 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4392         [BZ #20517]
4393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
4394         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
4395         exported.
4397 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
4399         * math/fetestexceptflag.c: New file.
4400         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
4401         Stefan Liebler.
4402         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4403         (fetestexceptflag): New function declaration.
4404         * manual/arith.texi (fetestexceptflag): Document function.
4405         * math/Versions (fetestexceptflag): New libm symbol at version
4406         GLIBC_2.25.
4407         * math/Makefile (libm-support): Add fetestexceptflag.
4408         (tests): Add test-fetestexceptflag.
4409         * math/test-fetestexceptflag.c: New file.
4410         * sysdeps/nacl/libm.abilist: Update.
4411         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4412         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4413         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4414         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4415         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4416         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4417         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4418         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4419         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4420         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4421         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4422         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4424         Likewise.
4425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4426         Likewise.
4427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4428         Likewise.
4429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4430         Likewise.
4431         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4432         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4433         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4434         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4435         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4437         Likewise.
4438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4439         Likewise.
4440         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4441         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4442         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4444 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4446         [BZ #20432]
4447         Avoid strong references to malloc-internal symbols when linking
4448         statically, to support statically interposed mallocs.
4449         * include/libc-symbols.h (call_function_static_weak): New macro.
4450         * malloc/Makefile (tests): Add tst-interpose-nothread,
4451         tst-interpose-thread, tst-interpose-static-nothread,
4452         tst-interpose-static-thread.
4453         (tests-static): Add tst-interpose-static-nothread,
4454         tst-interpose-static-thread.
4455         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
4456         tst-interpose-aux-thread.o.
4457         (test-extras): Add tst-interpose-aux-nothread,
4458         tst-interpose-aux-thread.
4459         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
4460         tst-interpose-aux-nothread.o.
4461         (tst-interpose-thread, tst-interpose-static-thread): Link with
4462         tst-interpose-aux-thread.o and libthread.
4463         * malloc/tst-interpose-aux-nothread.c: New file.
4464         * malloc/tst-interpose-aux-thread.c: Likewise.
4465         * malloc/tst-interpose-aux.c: Likewise.
4466         * malloc/tst-interpose-aux.h: Likewise.
4467         * malloc/tst-interpose-nothread.c: Likewise.
4468         * malloc/tst-interpose-skeleton.c: Likewise.
4469         * malloc/tst-interpose-static-nothread.c: Likewise.
4470         * malloc/tst-interpose-static-thread.c: Likewise.
4471         * malloc/tst-interpose-thread.c: Likewise.
4472         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
4473         * sysdeps/mach/hurd/fork.c (__fork): Only call
4474         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
4475         __malloc_fork_unlock_child if defined.
4476         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4478 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4480         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
4481         timespec C99 designated initialization.
4483 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4485         [BZ #19946]
4486         Avoid expected SIGALRM signals.
4487         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
4488         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
4489         (xpthread_create, xpthread_detach, xpthread_join)
4490         (delayed_exit_thread, delayed_exit): New functions.
4491         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
4492         (tf): Use xpthread_cond_wait.
4493         (do_test): Likewise.  Replace alarm with delayed_exit.
4494         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4495         (do_test): Call delayed_exit.  Report failure.
4496         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4497         (do_test): Call delayed_exit.
4498         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4499         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
4500         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4501         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
4502         error.
4503         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
4504         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
4505         error.
4506         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
4507         (do_test): Call delayed_exit.
4508         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
4509         (do_test): Call delayed_exit.
4510         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
4511         (do_test): Call delayed_exit instead of alarm.  Use
4512         xpthread_mutex_lock.
4513         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
4514         (do_test): Call delayed_exit instead of alarm.  Use
4515         xpthread_mutex_lock.
4516         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
4517         (do_test): Call delayed_exit instead of alarm.
4518         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
4519         (do_test): Call delayed_exit instead of alarm.  Use
4520         xpthread_spin_lock.
4521         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
4522         (do_test): Call delayed_exit instead of alarm.  Use
4523         xpthread_join.
4525 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
4527         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
4528         adjust CFA when allocating register save area on re-aligned
4529         stack.
4531 2016-08-26  Florian Weimer  <fweimer@redhat.com>
4533         * string/tst-cmp.c: New test.
4534         * string/Makefile (tests): Add it.
4536 2016-08-25  Mark Wielaard  <mark@klomp.org>
4538         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
4539         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
4540         (check_tree_recurse): Use newly defined accessors.
4541         (check_tree): Likewise.
4542         (maybe_split_for_insert): Likewise.
4543         (__tfind): Likewise.
4544         (__tdelete): Likewise.
4545         (trecurse): Likewise.
4546         (tdestroy_recurse): Likewise.
4547         (__tsearch): Likewise. And add asserts for malloc alignment.
4548         (__twalk): Cast root to node in case CHECK_TREE is defined.
4550 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4552         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
4554 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4556         * math/Makefile (libm-gen-calls): Add
4557         catan, catanh, ctan, ctanh.
4558         (libm-calls): Remove the above.
4560         * math/s_catan_template.c: Update using type-generic macros.
4561         * math/s_catanh_template.c: Likewise.
4562         * math/s_ctan_template.c: Likewise.
4563         * math/s_ctanh_template.c: Likewise.
4565         * math/s_catanf.c: Removed.
4566         * math/s_catan.c: Removed.
4567         * math/s_catanl.c: Removed.
4568         * math/s_catanhf.c: Removed.
4569         * math/s_catanh.c: Removed.
4570         * math/s_catanhl.c: Removed.
4571         * math/s_ctanf.c: Removed.
4572         * math/s_ctan.c: Removed.
4573         * math/s_ctanl.c: Removed.
4574         * math/s_ctanhf.c: Removed.
4575         * math/s_ctanh.c: Removed.
4576         * math/s_ctanhl.c: Removed.
4578         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
4579         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
4580         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
4581         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
4582         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
4583         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
4585         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
4586         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
4587         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
4588         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
4590 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4592         * s_catan_template.c: Copy of s_catan.c.
4593         * s_catanh_template.c: Copy of s_catanh.c.
4594         * s_ctan_template.c: Copy of s_ctan.c.
4595         * s_ctanh_template.c: Copy of s_ctanh.c.
4597 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4599         * math/Makefile (gen-libm-calls): Move
4600         casin, casinh, csin, csinh here.
4601         (libm-calls): Remove the above.
4603         * math/s_casin_template.c: Update using type-generic macros.
4604         * math/s_casinh_template.c: Likewise.
4605         * math/s_csin_template.c: Likewise.
4606         * math/s_csinh_template.c: Likewise.
4607         * math/k_casinh_template.c: Likewise.
4609         * math/s_casinf.c: Removed.
4610         * math/s_casin.c: Removed.
4611         * math/s_casinl.c: Removed.
4612         * math/s_casinh.c: Removed.
4613         * math/s_casinhf.c: Removed.
4614         * math/s_casinhl.c: Removed.
4615         * math/s_csin.c: Removed.
4616         * math/s_csinf.c: Removed.
4617         * math/s_csinl.c: Removed.
4618         * math/s_csinh.c: Removed.
4619         * math/s_csinhf.c: Removed.
4620         * math/s_csinhl.c: Removed.
4621         * math/k_casinh.c: Removed.
4622         * math/k_casinhf.c: Removed.
4623         * math/k_casinhl.c: Removed.
4625         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
4626         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
4627         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
4628         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
4630         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
4631         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
4632         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
4633         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
4634         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
4635         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
4636         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
4637         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
4639         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
4640         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
4641         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
4642         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
4644         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
4645         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
4646         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
4647         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
4649 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4651         * s_casin_template.c: Copy of s_casin.c.
4652         * s_casinh_template.c: Copy of s_casinh.c.
4653         * s_csin_template.c: Copy of s_csin.c.
4654         * s_csinh_template.c: Copy of s_csinh.c.
4655         * k_casinh_template.c: Copy of k_casinh.c.
4657 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
4659         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
4661 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4663         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
4664         (mul_split) Remove, rename as mul_splitl, remove
4665         redundant float.h include, and include via mul_splitl.h
4667         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
4668         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
4669         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
4670         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
4671         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
4673         * math/mul_splitl.h: New file.
4675         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
4676         Move into mul_split.h, and remove redundant float.h include.
4678         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
4679         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
4680         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4681         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
4683         * math/mul_split.h: New file.
4685 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4687         * math/Makefile (libm-gen-calls): Move
4688         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
4689         (libm-calls): Remove above.
4691         * math/s_cacos_template.c: Update using type-generic macros.
4692         * math/s_cacosh_template.c: Likewise.
4693         * math/s_ccos_template.c: Likewise.
4694         * math/s_ccosh_template.c: Likwise.
4696         * math/s_cacosf.c: Removed.
4697         * math/s_cacos.c: Removed.
4698         * math/s_cacosl.c: Removed.
4699         * math/s_cacoshf.c: Removed.
4700         * math/s_cacosh.c: Removed.
4701         * math/s_cacoshl.c: Removed.
4702         * math/s_ccosf.c: Removed.
4703         * math/s_ccos.c: Removed.
4704         * math/s_ccosl.c: Removed.
4705         * math/s_ccoshf.c: Removed.
4706         * math/s_ccosh.c: Removed.
4707         * math/s_ccoshl.c: Removed.
4709         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
4710         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
4711         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
4712         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
4713         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
4714         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
4716         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
4717         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
4718         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
4719         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
4721         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
4722         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
4723         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
4724         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
4726 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4728         * s_cacos_template.c: Copy of s_cacos.c.
4729         * s_cacosh_template.c: Copy of s_cacosh.c.
4730         * s_ccos_template.c: Copy of s_ccos.c.
4731         * s_ccosh_template.c: Copy of s_ccosh.c.
4733 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4735         * stdlib/tst-strtod-round-skeleton.c:
4736         Refactored from tst-strtod-round.c.
4738         (L_): New macro to apply literal modifier.
4739         (FNPFX): New macro to select str or wcs prefix.
4740         (CHAR): New macro to choose wchar_t or char.
4741         (STRM): New macro to choose printf for tested character type.
4743         (STRTO): New macro to choose appropriate string -> real function.
4744         (FNPFXS): Stringitized version of FNPFX.
4745         (STR): Support for above macro.
4746         (STRX): Likewise.
4748         (TEST): Update with above macros.
4749         (test): Likewise.
4750         (GEN_ONE_TEST): Likewise.
4751         (test_in_one_mode): Likewise.
4753         * stdlib/tst-strtod-round.c: New file.
4754         * wcsmbs/tst-wcstod-round.c: New file.
4756         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
4757         (tst-wcstod-round): Add libm depencency for fesetround.
4759 2016-08-19  Zack Weinberg  <zackw@panix.com>
4761         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
4763 2016-08-18  Torvald Riegel  <triegel@redhat.com>
4765         [BZ #20477]
4766         * resolv/res_hconf.c (do_init): Use atomic access.
4767         * resolv/res_hconf.h: Add comments.
4768         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
4769         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
4770         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4772 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
4774         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
4775         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
4776         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
4777         Likewise.
4779 2016-08-18  Florian Weimer  <fweimer@redhat.com>
4781         [BZ #16907]
4782         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
4783         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
4784         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
4785         (__attribute__): Remove definition.
4787 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4789         * sysdeps/ieee754/ldbl-128/e_asinl.c:
4790         Remove unused sqrtl declaration.
4792 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4794         * math/Makefile: (gen-libm-templates.stmp): New rule.
4795         (libm-calls): Move carg conj cimag and cabs into ...
4796         (gen-libm-calls): New variable.
4797         (generated): Inform Make objects from gen-libm-calls
4798         may be generated.
4800         * sysdeps/generic/math-type-macros.h: New file.
4801         * sysdeps/generic/math-type-macros-float.h: Likewise.
4802         * sysdeps/generic/math-type-macros-double.h: Likewise.
4803         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
4804         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
4805         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
4807         * math/cabs.c: Refactor into
4808         * math/cabs_template.c: new file.
4809         * math/cabsf.c: Removed.
4810         * math/cabsl.c: Removed.
4811         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
4812         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
4814         * math/carg.c: Refactor into
4815         * math/carg_template.c: new file.
4816         * math/cargf.c: Removed.
4817         * math/cargl.c: Removed.
4818         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
4819         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
4821         * math/conj.c: Refactor into
4822         * math/conj_template.c: new file.
4823         * math/conjf.c: Removed.
4824         * math/conjl.c: Removed.
4825         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
4826         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
4828         * math/cimag.c: Refactor into
4829         * math/cimag_template.c: new file.
4830         * math/cimagf.c: Removed.
4831         * math/cimagl.c: Removed.
4832         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4833         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4835         * math/cimag.c: Refactor into
4836         * math/cimag_template.c: new file.
4837         * math/cimagf.c: Removed.
4838         * math/cimagl.c: Removed.
4839         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
4840         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
4842 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4844         Reduce time to expected nptl/tst-once5 failure.
4845         * nptl/tst-once5.cc (TIMEOUT): Define.
4847 2016-08-17  Florian Weimer  <fweimer@redhat.com>
4849         [BZ #20452]
4850         Avoid additional copies of objects in libc.a in static libraries.
4851         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
4852         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
4853         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
4854         rt-sysdep.
4855         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
4856         Add nptl-sysdep.
4857         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
4858         Add ptw-sysdep.
4859         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
4860         rt-sysdep.
4861         * sysdeps/unix/sysv/linux/alpha/Makefile
4862         (libpthread-shared-only-routines): Add ptw-sysdep,
4863         ptw-sigprocmask, ptw-rt_sigaction.
4864         * sysdeps/unix/sysv/linux/ia64/Makefile
4865         (librt-shared-only-routines): Add rt-sysdep.
4866         * sysdeps/unix/sysv/linux/i386/Makefile
4867         (libpthread-shared-only-routines): Add libc-do-syscall.
4868         * sysdeps/unix/sysv/linux/microblaze/Makefile
4869         (libpthread-shared-only-routines): Add sysdep.
4870         * sysdeps/unix/sysv/linux/powerpc/Makefile
4871         (librt-shared-only-routines): Add rt-sysdep.
4872         (libpthread-shared-only-routines): Add sysdep.
4873         * sysdeps/unix/sysv/linux/s390/Makefile
4874         (librt-shared-only-routines): Add rt-sysdep.
4875         * sysdeps/unix/sysv/linux/sparc/Makefile
4876         (librt-shared-only-routines): Add rt-sysdep.
4877         (libpthread-shared-only-routines): Add sysdep.
4878         * sysdeps/unix/sysv/linux/tile/Makefile
4879         (libpthread-shared-only-routines): Likewise.
4881 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
4883         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
4884         Mask implicit bit out of unpacked value.
4885         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
4886         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
4887         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
4889         * sysdeps/sparc/fpu/fesetexcept.c: New file.
4891         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
4893         * sysdeps/s390/fpu/fesetexcept.c: New file.
4895         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
4896         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
4897         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
4899         * sysdeps/mips/fpu/fesetexcept.c: New file.
4901         * sysdeps/m68k/fpu/fesetexcept.c: New file.
4903         * sysdeps/ia64/fpu/fesetexcept.c: New file.
4905         * sysdeps/hppa/fpu/fesetexcept.c: New file.
4907         * sysdeps/arm/fesetexcept.c: New file.
4909         * sysdeps/alpha/fpu/fesetexcept.c: New file.
4911         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
4913         * math/fesetexcept.c: New file.
4914         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
4915         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
4916         * math/fenv.h: Define
4917         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
4918         <bits/libc-header-start.h> instead of including <features.h>.
4919         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
4920         declaration.
4921         * manual/arith.texi (fesetexcept): Document function.
4922         * math/Versions (fesetexcept): New libm symbol at version
4923         GLIBC_2.25.
4924         * math/Makefile (libm-support): Add fesetexcept.
4925         (tests): Add test-fesetexcept and test-fesetexcept-traps.
4926         * math/test-fesetexcept.c: New file.
4927         * math/test-fesetexcept-traps.c: Likewise.
4928         * sysdeps/nacl/libm.abilist: Update.
4929         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4930         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4931         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4932         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4933         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4934         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4935         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4936         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4937         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4938         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4939         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4940         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4942         Likewise.
4943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4944         Likewise.
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4946         Likewise.
4947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4948         Likewise.
4949         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4950         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4951         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4952         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4953         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4954         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4955         Likewise.
4956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4957         Likewise.
4958         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4959         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4960         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4962 2016-08-16  Florian Weimer  <fweimer@redhat.com>
4964         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
4965         New.
4966         (do_test): Apply default_stack_size_in_mb if not set.
4967         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
4969 2016-08-15  Andreas Schwab  <schwab@suse.de>
4971         [BZ #20435]
4972         CVE-2016-6323
4973         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
4974         as .cantunwind.
4976 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
4978         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
4979         comment from fraiseexcpt.c.
4981         * math/test-fexcept.c (feraiseexcept_exact): New function.
4982         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
4983         (test_except): Likewise.
4985 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
4987         [BZ #20455]
4988         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
4989         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
4990         to be restored.
4992         * math/test-fexcept-traps.c: New file.
4993         * math/test-fexcept.c: Likewise.
4994         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
4995         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
4996         macro.
4997         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
4998         (EXCEPTION_SET_FORCES_TRAP): Likewise.
5000 2016-08-09  Torvald Riegel  <triegel@redhat.com>
5002         * include/atomic.h (atomic_fetch_and_relaxed,
5003         atomic_fetch_and_release, atomic_fetch_or_release,
5004         atomic_fetch_xor_release): New.
5006 2016-08-06  Christian Seiler  <christian@iwakd.de>
5008         [BZ #20444]
5009         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
5010         MACH_PORT_NULL.
5012 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5014         * math/s_fdim.c: Avoid alias renamed.
5015         * math/s_fdimf.c: Likewise.
5016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5017         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5018         Add s_fdimf-vis3, s_fdim-vis3.
5019         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5020         (CFLAGS-s_fdim-vis3.c): Likewise.
5021         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
5022         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
5024 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5027         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5028         Remove s_fdimf-vis3, s_fdim-vis3.
5029         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
5030         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
5031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
5032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
5033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
5034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
5035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
5036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
5037         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
5038         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
5040 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
5042         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
5043         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
5044         -Wa,-Av9a -mvis.
5046 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5048         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
5049         LIT() to individual constants in simple expressions
5050         after splitting on spaces.
5051         (_apply_lit): Rename replaced version, and use it to
5052         apply to what appears to be a token.
5054         * math/libm-test.inc: Fix many, many issues with
5055         spacing.
5057 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
5059         * math/math.h: Move comment about <bits/mathdef.h> definitions
5060         above inclusion of <bits/mathdef.h>.  Do not mention
5061         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
5063 2016-08-05  Torvald Riegel  <triegel@redhat.com>
5065         * include/atomic.h (atomic_exchange_relaxed): New.
5067 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
5069         * math/e_scalb.c: Do not include <fenv.h>.
5070         (invalid_fn): Do calculation resulting in NaN instead of raising
5071         FE_INVALID and returning a NaN explicitly.
5072         * math/e_scalbf.c: Do not include <fenv.h>.
5073         (invalid_fn): Do calculation resulting in NaN instead of raising
5074         FE_INVALID and returning a NaN explicitly.
5075         * math/e_scalbl.c: Do not include <fenv.h>.
5076         (invalid_fn): Do calculation resulting in NaN instead of raising
5077         FE_INVALID and returning a NaN explicitly.
5079 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
5081         * po/de.po: Updated from Translation Project.
5082         * po/fi.po: Likewise.
5083         * po/sv.po: Likewise.
5085 2016-08-04  Florian Weimer  <fweimer@redhat.com>
5087         [BZ #20452]
5088         Use sysdep.o from libc.a in static libraries.
5089         * sysdeps/unix/sysv/linux/i386/Makefile
5090         (libpthread-shared-only-routines): Add sysdep.
5091         (librt-shared-only-routines): Likewise.
5093 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5095         * math/tgmath.h (nextdown): Define if
5096         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
5097         (nextup): Likewise.
5099         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
5100         macro.
5101         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5102         Document.
5103         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
5104         Document macro.
5105         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
5106         (exp10f): Likewise.
5107         (exp10l): Likewise.
5108         * math/bits/mathcalls.h (exp10): Declare if
5109         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
5111         * manual/arith.texi (nextup): Fix typo in last change.
5113 2016-08-03  Zack Weinberg  <zackw@panix.com>
5115         [BZ #19239]
5116         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
5117         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
5118         define major, minor, and makedev to issue deprecation warnings on use.
5119         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
5120         previously-activated deprecation warnings for these macros and prevent
5121         subsequent inclusions of this header from having any effect.
5122         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
5123         including <sys/sysmacros.h>, and undefine it again afterward.
5125 2016-08-03  Zack Weinberg  <zackw@panix.com>
5127         * sysdeps/generic/sys/sysmacros.h: Delete file.
5128         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
5129         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
5130         * bits/sysmacros.h: ... here; this encoding is now the generic
5131         encoding.  Now defines only the following macros:
5132         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
5133         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
5134         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
5136         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
5137         bits/sysmacros.h and the above new macros to generate the
5138         public implementations of major, minor, and makedev.
5139         * misc/tst-makedev.c: New test.
5140         * include/sys/sysmacros.h: New wrapper.
5142         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
5143         (routines): Add makedev.
5144         (tests): Add tst-makedev.
5145         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
5146         gnu_dev_makedev.
5147         * posix/Makefile (headers): Remove sys/sysmacros.h.
5148         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
5150         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
5151         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
5152         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
5153         * sysdeps/unix/sysv/linux/alpha/libc.abilist
5154         * sysdeps/unix/sysv/linux/arm/libc.abilist
5155         * sysdeps/unix/sysv/linux/hppa/libc.abilist
5156         * sysdeps/unix/sysv/linux/i386/libc.abilist
5157         * sysdeps/unix/sysv/linux/ia64/libc.abilist
5158         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5159         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
5160         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
5161         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5162         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5163         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5164         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5165         * sysdeps/unix/sysv/linux/nios2/libc.abilist
5166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
5169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5170         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
5171         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
5172         * sysdeps/unix/sysv/linux/sh/libc.abilist
5173         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5174         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5177         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
5178         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
5179         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
5180         Add GLIBC_2.25.
5182         * include/features.h (__glibc_clang_prereq): New macro.
5183         * misc/sys/cdefs.h (__glibc_clang_has_extension)
5184         (__attribute_deprecated_msg__): New macros.
5186 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5188         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
5189         macro.
5190         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
5191         * manual/arith.texi (issignaling): Document as ISO from TS
5192         18661-1:2014.
5193         (nextup): Likewise.
5194         (nextupf): Likewise.
5195         (nextupl): Likewise.
5196         (nextdown): Likewise.
5197         (nextdownf): Likewise.
5198         (nextdownl): Likewise.
5199         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
5200         macro.
5201         * math/math.h: Define
5202         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5203         <bits/libc-header-start.h> instead of including <features.h>.
5204         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
5205         [__USE_GNU].
5206         * math/bits/mathcalls.h (nextdown): Declare if
5207         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
5208         (nextup): Likewise.
5209         (__issignaling): Likewise.
5211 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5213         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
5214         check, and remove __glibc_likely hint
5215         from FP_INFINITE check.
5216         * s_csinhf.c (__csinhf): Likewise.
5218         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
5219         hint from FP_INFINITE check.
5220         * s_csinhl.c (__csinhl): Likewise.
5222 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5224         * math/Makefile (libm-calls): Insert F placeholder into
5225         object names.  Move w_lgamma_compat* routines into
5226         (libm-compat-calls): New variable.
5227         (libm-compat-calls-ldouble-yes): New variable.
5228         (calls): Insert F placeholder.
5229         (generated): Redefine using new type-foreach macro call.
5230         (routines): Likewise.
5232         (types): New variable to hold a list of symbolic names
5233         for each type supported by the target machine.
5234         (libm-routines): Redefine using new types variable.
5235         (type-foreach): macro to replace fooF with the
5236         appropriately suffixed foo for each types.
5238         (type-ldouble-suffix): New variable.
5239         (type-ldouble-routines): Likewise.
5240         (type-ldouble-yes): Likewise.
5241         (type-double-suffix): Likewise.
5242         (type-double-routines): Likewise.
5243         (type-float-suffix): Likewise.
5244         (type-float-routines): Likewise.
5246         (dbl-only-routines): Remove.
5247         (long-c-yes): Likewise.
5248         (long-m-routines): Likewise.
5249         (long-m-support): Likewise.
5250         (long-m-yes): Likewise.
5251         (test-longdouble-yes): Likewise.
5253         (test-float.o): Simplify by increasing the scope of the
5254         recipe which adds libm-test.stmp to the vector types.
5255         (test-ifloat.o): Likewise.
5256         (test-float-finite.o): Likewise.
5257         (test-double.o): Likewise
5258         (test-idouble.o): Likewise.
5259         (test-double-finite.o): Likewise.
5260         (test-ldouble.o): Likewise
5261         (test-ildoubl.o): Likewise.
5262         (test-ldouble-finite.o): Likewise.
5264         (libm-tests): Redefine type tests using foreach and the
5265         list of types in types.
5267         (CPPFLAGS-test-ildoubl.c): Rename to
5268         (CPPFLAGS-test-ildouble.c): New variable
5270         * math/test-ildoubl.c: Rename to
5271         * math/test-ildouble.c: New file.
5273 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5275         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
5276         Use fabsl instead of fabs.
5277         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
5278         Likewise.
5279         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
5280         Add long double suffix to constant to ensure proper
5281         promotion to long double.
5283 2016-08-03  Tom Tromey  <tom@tromey.com>
5285         [BZ #20311]
5286         * nptl_db/Makefile (headers): Add proc_service.h.
5287         * nptl_db/proc_service.h: Add include guard.  Use
5288         __BEGIN/__END_DECLS.
5289         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
5290         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
5291         arguments.
5294 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5296         [BZ #17730]
5297         Avoid using memalign for TCB allocations.
5298         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
5299         (_dl_allocate_tls_storage): Use malloc and manual alignment.
5300         Avoid alignment gap in the TLS_DTV_AT_TP case.
5301         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
5302         determine the pointer to free.
5303         * nptl/tst-tls3-malloc.c: New test.
5304         * nptl/Makefile (tests): Add it.
5305         (tst-tls3-malloc): Link with libdl, libpthread.
5306         (LDFLAGS-tst-tls3-malloc): Set.
5307         (tst-tls3-malloc.out): Depend on DSO used in test.
5309 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5311         [BZ #17730]
5312         Avoid using memalign for TLS allocations.
5313         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
5314         is_static member with to_free member.
5315         (union dtv): Use struct dtv_pointer.
5316         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
5317         dtv_pointer instead of is_static.
5318         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
5319         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
5320         instead of val.
5321         (allocate_dtv_entry): New function.
5322         (allocate_and_init): Return struct dtv_pointer.  Call
5323         allocate_dtv_entry instead of __libc_memalign.
5324         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
5325         instead of val.
5326         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
5327         instead of is_static.  Adjust call to allocate_and_init.
5328         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
5329         struct dtv_pointer instead of val.
5331 2016-08-03  Florian Weimer  <fweimer@redhat.com>
5333         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
5334         (MALLOC_ALIGN_MASK): Move ...
5335         * malloc/malloc-internal.h: ... to here.
5336         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
5338 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
5340         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
5341         (UDP_ENCAP_GTP1U): Likewise.
5343         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
5344         (PF_MAX): Update value.
5345         (AF_QIPCRTR): New macro.
5347 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5349         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
5350         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
5351         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
5352         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
5353         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5354         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5355         s_truncf-vis3, s_trunc-vis3.
5356         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
5357         (CFLAGS-s_ceil-vis3.c): Likewise.
5358         (CFLAGS-s_floorf-vis3.c): Likewise.
5359         (CFLAGS-s_floor-vis3.c): Likewise.
5360         (CFLAGS-s_truncf-vis3.c): Likewise.
5361         (CFLAGS-s_trunc-vis3.c): Likewise.
5362         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
5363         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
5364         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
5365         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
5366         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
5367         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
5368         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
5369         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
5370         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
5371         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
5372         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
5373         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
5375 2016-08-02  David S. Miller  <davem@davemloft.net>
5377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5378         (__nearbyint_vis3): Don't check for sNaN before float register is
5379         loaded with the incoming argument.
5380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5381         (__nearbyintf_vis3): Likewise.
5382         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
5383         Likewise.
5384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
5385         Likewise.
5387         * string/test-strncmp.c (do_test_limit): Make sure the test data
5388         stream is aligned as required for the type "CHAR".
5389         (do_test): Likewise.
5391 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
5393         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
5394         by beq instructions jumping to the end of the function.
5395         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
5396         clobber list. Use "i" constraint instead of "X".
5397         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
5398         of "X".
5400 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
5402         * bits/libc-header-start.h: New file.
5403         * Makefile (headers): Add bits/libc-header-start.h.
5404         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
5405         (__GLIBC_USE): New macro.
5406         * libio/stdio.h: Define
5407         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5408         <bits/libc-header-start.h> instead of including <features.h>.
5409         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
5410         (open_memstream): Likewise.
5411         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
5412         (__asprintf): Likewise.
5413         (asprintf): Likewise.
5414         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
5415         (getdelim): Likewise.
5416         (getline): Likewise.
5417         * string/string.h: Define
5418         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5419         <bits/libc-header-start.h> instead of including <features.h>.
5420         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
5421         (strndup): Likewise.
5422         * wcsmbs/wchar.h: Define
5423         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
5424         <bits/libc-header-start.h> instead of including <features.h>.
5425         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
5426         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
5428 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5430         Support linking against compatibility symbols, for use in tests.
5431         * include/libc-symbols.h (symbol_version_reference): New macro.
5432         (symbol_version): Use it.
5433         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
5434         (compat_symbol): Use compat_symbol_reference.
5435         (compat_symbol_1, compat_symbol_2): Remove.
5436         (compat_symbol_reference, compat_symbol_reference_1)
5437         (compat_symbol_reference_2): New macro.  Use
5438         symbol_version_reference.
5440 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5442         [BZ #19469]
5443         * malloc/Makefile (CPPFLAGS): Compile tests with
5444         -DTEST_NO_MALLOPT.
5445         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
5447 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
5449         [BZ #20033]
5450         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
5451         finite version.
5452         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
5453         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
5454         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
5455         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
5456         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
5457         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
5458         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
5459         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
5460         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
5461         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
5462         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
5463         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
5464         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
5465         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
5466         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
5467         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
5468         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
5469         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
5470         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
5471         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
5472         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
5473         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
5474         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
5475         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
5476         in zero power.
5478 2016-08-02  Florian Weimer  <fweimer@redhat.com>
5480         [BZ #20370]
5481         * malloc/arena.c (get_free_list): Update comment.  Assert that
5482         arenas on the free list have no attached threads.
5483         (remove_from_free_list): New function.
5484         (reused_arena): Call it.
5486 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
5488         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
5489         when it is a NaN.
5490         [_IEEE_FP_INEXACT] Remove.
5491         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
5492         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
5493         when it is a NaN.
5494         [_IEEE_FP_INEXACT] Remove.
5495         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
5496         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
5497         when it is a NaN.
5498         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
5499         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
5500         when its absolute value is greater than 0x1.0p52.
5501         [_IEEE_FP_INEXACT] Remove.
5502         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
5503         when its absolute value is greater than 0x1.0p23.
5504         [_IEEE_FP_INEXACT] Remove.
5506 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
5508         * version.h (RELEASE): Set to "development"
5509         (VERSION): Set to 2.24.90.
5510         * NEWS: Add 2.25 section.
5512         * version.h (RELEASE): Set to "stable"
5513         (VERSION): Set to 2.24.
5514         * include/features.h (__GLIBC_MINOR__): Set to 24.
5516         * NEWS: Add 2.24 fixed bugs.
5517         * po/libc.pot: Regenerate.
5519 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
5521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
5522         [$(subdir) = math] (libm-sysdep_routines): Remove.
5523         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
5524         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
5525         s_truncf-vis3, s_trunc-vis3.
5526         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
5527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
5528         file.
5529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
5530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
5531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
5534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
5535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
5536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
5538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
5539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
5540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
5541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
5542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
5543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
5544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
5548         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
5549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
5550         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
5551         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
5552         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
5553         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
5554         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
5555         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
5556         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
5557         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
5558         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
5559         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
5560         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
5561         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
5562         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
5563         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
5564         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
5565         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
5566         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5567         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5568         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
5569         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
5570         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
5571         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
5573 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
5575         [BZ #20384]
5576         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
5577         test-double-libmvec-sincos-avx-main.o,
5578         test-double-libmvec-sincos-avx2-main.o,
5579         test-double-libmvec-sincos-main.o,
5580         test-float-libmvec-sincosf-avx-main.o,
5581         test-float-libmvec-sincosf-avx2-main.o and
5582         test-float-libmvec-sincosf-main.o.
5583         test-float-libmvec-sincosf-avx512-main.o.
5584         ($(objpfx)test-double-libmvec-sincos): Also link with
5585         $(objpfx)test-double-libmvec-sincos-main.o.
5586         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
5587         $(objpfx)test-double-libmvec-sincos-avx-main.o.
5588         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
5589         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
5590         ($(objpfx)test-float-libmvec-sincosf): Also link with
5591         $(objpfx)test-float-libmvec-sincosf-main.o.
5592         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
5593         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
5594         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
5595         test-double-libmvec-sincos-avx512-main.o and
5596         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
5597         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
5598         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
5599         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
5600         (CFLAGS-test-double-libmvec-sincos.c): Removed.
5601         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
5602         (CFLAGS-test-double-libmvec-sincos-main.c): New.
5603         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
5604         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
5605         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
5606         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
5607         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
5608         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
5609         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
5610         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
5611         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
5612         -DREQUIRE_AVX2.
5613         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
5614         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
5615         -DREQUIRE_AVX512F.
5616         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
5617         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
5618         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
5619         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
5620         file.
5621         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
5622         Likewise.
5623         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
5624         Likewise.
5625         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
5626         Likewise.
5627         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
5628         Likewise.
5629         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
5630         Likewise.
5631         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
5632         Likewise.
5633         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
5634         Likewise.
5636 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
5638         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
5640 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
5642         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
5643         and typo in a comment about AT_HWCAP entry.
5645 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5647         * sysdeps/aarch64/libm-test-ulps: Updated.
5649 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
5651         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
5652         of r13 as it is not restored in mvcle case.
5654 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
5656         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
5657         Rename "ret" to "__ret".
5658         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
5659         inline_syscall5, inline_syscall6): Likewise.
5661 2016-07-19   Will Newton  <will.newton@gmail.com>
5663         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
5664         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
5665         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
5666         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
5667         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
5669 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
5671         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
5672         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
5673         -mfpmath=387 with $(rtld-CFLAGS).
5674         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
5675         $(rtld-CFLAGS).
5677 2016-07-18   Ross Burton  <ross.burton@intel.com>
5678              Khem Raj  <raj.khem@gmail.com>
5680         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
5681         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
5682         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
5683         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
5684         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
5685         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
5686         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
5687         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
5688         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
5689         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
5690         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
5691         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
5692         R_METAG_TLS_DTPOFF): New.
5694 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5695             Matt Clay  <mclay@lycos.com>
5697         [BZ #20357]
5698         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
5699         to call __mpsin/__mpcos and to negate values.
5700         * math/auto-libm-test-in: Add test.
5701         * math/auto-libm-test-out: Regenerate.
5703 2016-07-18  Zack Weinberg  <zackw@panix.com>
5705         * grp/Makefile: Don't install the internal header grp-merge.h.
5707 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5709         * sysdeps/aarch64/libm-test-ulps: Regenerated.
5711 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5713         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
5715 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5717         [BZ #15368]
5718         * sysdeps/unix/sysv/linux/nptl-signals.h
5719         (__nptl_clear_internal_signals): New function.
5720         (__libc_signal_block_all): Likewise.
5721         (__libc_signal_block_app): Likewise.
5722         (__libc_signal_restore_set): Likewise.
5723         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
5724         implementation.
5725         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
5726         the cached pid/tid value in pthread structure.
5728 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
5730         [BZ #20347]
5731         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
5733 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5735         [BZ #20348]
5736         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
5737         preadv64, pwrite64 and pwritev64.
5739 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5741         [BZ #20350]
5742         * posix/tst-preadwrite.c: Renamed to ...
5743         * posix/tst-preadwrite-common.c: This.
5744         (PREAD): Removed.
5745         (PWRITE): Likewise.
5746         (STRINGIFY): Likewise.
5747         (STRINGIFY2): Likewise.
5748         (do_prepare): Make it static and remove function arguments.
5749         (do_test): Likewise.
5750         (PREPARE): Updated.
5751         (TEST_FUNCTION): New.
5752         (name): Make it static.
5753         (fd): Likewise.
5754         (do_prepare): Use create_temp_file.
5755         (do_test): Renamed to ...
5756         (do_test_with_offset): This.  Make it static and accept offset.
5757         Properly check return value of PWRITE and PREAD.  Return bytes
5758         read.  Don't close fd nor unlink name.
5759         * posix/tst-preadwrite.c: Rewrite.
5760         * posix/tst-preadwrite64.c: Likewise.
5762 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
5764         [BZ #20309]
5765         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
5766         -mtls-dialect=gnu2 works.
5767         * configure: Regenerated.
5768         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
5769         (tests): Add tst-gnu2-tls1.
5770         (modules-names): Add tst-gnu2-tls1mod.
5771         ($(objpfx)tst-gnu2-tls1): New.
5772         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
5773         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
5774         * elf/tst-gnu2-tls1.c: New file.
5775         * elf/tst-gnu2-tls1mod.c: Likewise.
5776         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
5777         bytes for push in the PLT entry to align the stack.
5779 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
5781         [BZ #20349]
5782         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
5784 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
5786         [BZ #18707]
5787         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
5788         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
5790 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5792         * sysdeps/unix/sysv/linux/sysdep.h
5793         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
5794         guards.
5795         * misc/tst-preadvwritev-common.c: New file.
5796         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
5797         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
5798         a check for files larger than 2GB.
5800         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5801         (__ASSUME_OFF_DIFF_OFF64): Remove define.
5802         * sysdeps/unix/sysv/linux/pread.c
5803         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
5804         __OFF_T_MATCHES_OFF64_T.
5805         * sysdeps/unix/sysv/linux/pread64.c
5806         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
5807         * sysdeps/unix/sysv/linux/preadv.c
5808         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
5809         * sysdeps/unix/sysv/linux/preadv64.c
5810         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
5811         * sysdeps/unix/sysv/linux/pwrite.c
5812         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
5813         * sysdeps/unix/sysv/linux/pwrite64.c
5814         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
5815         * sysdeps/unix/sysv/linux/pwritev.c
5816         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
5817         * sysdeps/unix/sysv/linux/pwritev64.c
5818         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
5820 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
5822         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5823         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
5825 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5827         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
5829 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
5831         [BZ #20240]
5832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
5833         (CFLAGS-s_modf-ppc32.c): New variable.
5834         (CFLAGS-s_modff-ppc32.c): Likewise.
5835         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5836         (CFLAGS-s_modf-ppc64.c): Likewise.
5837         (CFLAGS-s_modff-ppc64.c): Likewise.
5839 2016-07-07  Andreas Schwab  <schwab@suse.de>
5841         [BZ #20263]
5842         * nptl/tst-robust10.c: New test.
5843         * nptl/Makefile (tests): Add tst-robust10.
5845 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
5847         [BZ #20263]
5848         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
5850 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5852         * sysdeps/s390/linkmap.h (struct link_map_machine):
5853         Remove member gotplt and add member jmprel.
5854         * sysdeps/s390/s390-32/dl-machine.h
5855         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
5856         instead of gotplt with &got[3].
5857         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
5858         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5860 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
5862         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
5864 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5866         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
5867         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
5868         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5869         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
5870         * libio/vtables.c (_IO_vtable_check)
5871         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
5872         * libio/libioP.h (IO_set_accept_foreign_vtables)
5873         [!PTR_MANGLE]: Do not call PTR_MANGLE.
5875 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
5877         [BZ #20314]
5878         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
5879         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
5880         $(common-objpfx)cmath.
5881         ($(common-objpfx)cstdlib): New target.
5882         ($(common-objpfx)cmath): Likewise.
5884 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
5886         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
5888 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5890         [BZ #20327]
5891         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
5892         are not part of the string.
5894 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5896         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
5897         * nptl/tst-cancel4-common.h (fifoname): New variable.
5898         (fifofd): Likewise.
5899         (cl_fifo): New function.
5900         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
5901         SIGINT.
5902         (tf_open): Add early cancel test.
5904 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
5906         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
5908 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
5910         * sysdeps/generic/ldsodefs.h
5911         (dl_symbol_visibility_binds_local_p): New inline function.
5912         * elf/dl-addr.c (determine_info): Treat hidden and internal
5913         symbols as local.
5914         * elf/dl-lookup.c (do_lookup_x): Likewise.
5915         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
5917 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
5919         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
5920         invalid exception for a sNaN input.
5921         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5922         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
5923         (__nearbyint_vis3): Likewise
5924         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
5925         (__nearbyintf_vis3): Likewise
5926         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
5927         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
5928         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
5929         Likewise.
5930         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
5931         Likewise.
5933 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
5935         [BZ #20139]
5936         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
5937         (HAVE_AVX512DQ_ASM_SUPPORT): This.
5938         * sysdeps/x86_64/configure.ac: Require assembler from binutils
5939         2.24 or above.
5940         (HAVE_AVX512_ASM_SUPPORT): Removed.
5941         (HAVE_AVX512DQ_ASM_SUPPORT): New.
5942         * sysdeps/x86_64/configure: Regenerated.
5943         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
5944         check unconditional.
5945         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
5946         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5947         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5948         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
5949         Likewise.
5950         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
5951         Likewise.
5952         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5953         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5954         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5955         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5956         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
5957         Likewise.
5958         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
5959         Likewise.
5960         * sysdeps/x86_64/multiarch/memset.S: Likewise.
5961         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5962         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
5963         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
5964         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
5965         Likewise.
5966         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
5967         Likewise.
5968         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
5969         Likewise.
5970         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
5971         Likewise.
5972         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
5973         Likewise.
5974         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
5975         Likewise.
5976         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
5977         Likewise.
5978         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
5979         Likewise.
5980         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
5981         Likewise.
5982         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
5983         Likewise.
5984         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
5985         Likewise.
5987 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
5989         [BZ #20024]
5990         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
5991         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
5992         of this implementation of vector function.
5993         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5994         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5995         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
5996         Likewise.
5997         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5998         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5999         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
6000         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
6001         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
6002         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
6003         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
6004         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
6005         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
6006         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
6007         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
6008         for testing vector sincos with fixed ABI.
6009         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6010         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6011         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6012         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6013         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6014         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6015         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6016         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
6017         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
6018         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
6019         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
6020         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
6021         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
6022         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
6023         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
6024         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6026 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6028         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
6030 2016-06-30  Anton Blanchard  <anton@samba.org>
6032         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6033         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
6034         s_sinf-ppc64.
6035         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
6036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
6037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
6038         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
6040 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6042         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6043         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
6044         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
6045         e_expf-ppc64.
6046         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
6047         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
6048         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
6049         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
6051 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
6053         [BZ #20277]
6054         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
6055         when SHARED is defined.
6057 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
6059         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
6060         (index_arch_Prefer_ERMS): Likewise.
6061         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
6062         __memcpy_erms for Prefer_ERMS.
6063         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6064         (__memmove_erms): Enabled for libc.a.
6065         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
6066         __memmove_erms or Prefer_ERMS.
6067         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
6068         __mempcpy_erms for Prefer_ERMS.
6069         * sysdeps/x86_64/multiarch/memset.S (memset): Return
6070         __memset_erms for Prefer_ERMS.
6072 2016-06-30  Andreas Schwab  <schwab@suse.de>
6074         [BZ #20262]
6075         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
6076         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
6077         of memory.
6079 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
6081         [BZ #18645]
6082         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
6083         (test-extras): Add tst-cleanupx4aux.
6084         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
6085         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
6086         tst-cleanupx4aux.o.
6087         * nptl/tst-cleanupx4aux.c: New file.
6089 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
6091         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
6093 2016-06-29  Andreas Schwab  <schwab@suse.de>
6095         [BZ #20260]
6096         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
6097         address before the beginning of the string as an integer to avoid
6098         array-bounds warning.
6100 2016-06-28  Richard Henderson  <rth@redhat.com>
6102         * elf/elf.h (EM_BPF): New.
6103         (EM_NUM): Update.
6104         (R_BPF_NONE, R_BPF_MAP_FD): New.
6106         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
6107         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
6108         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
6109         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
6110         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
6111         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
6112         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
6113         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
6114         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
6115         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
6116         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
6117         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
6118         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
6119         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
6120         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
6121         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
6122         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
6123         (EM_NUM): Update.
6125 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
6127         [BZ #18960]
6128         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
6129         Set _nl_current_LC_CATEGORY_used to two instead of one.
6131 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
6133         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
6134         (do_test): ... this.
6135         (TEST_FUNCTION): New macro.
6136          Include test-skeleton.c.
6137         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
6138         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
6140 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
6142         [BZ #15479]
6143         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
6144         floating-point environment rather than just control word.
6145         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
6146         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
6147         floating-point environment, with "invalid" exceptions merged in,
6148         rather than just control word.
6149         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
6150         * math/libm-test.inc (trunc_test_data): Do not allow spurious
6151         "inexact" exceptions.
6153         [BZ #15479]
6154         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
6155         floating-point environment rather than just control word.
6156         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
6157         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
6158         floating-point environment, with "invalid" exceptions merged in,
6159         rather than just control word.
6160         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
6161         * math/libm-test.inc (floor_test_data): Do not allow spurious
6162         "inexact" exceptions.
6164         [BZ #15479]
6165         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
6166         floating-point environment rather than just control word.
6167         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
6168         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
6169         floating-point environment, with "invalid" exceptions merged in,
6170         rather than just control word.
6171         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
6172         * math/libm-test.inc (ceil_test_data): Do not allow spurious
6173         "inexact" exceptions.
6175 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
6177         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
6178         __libc_vfork.
6179         (__vfork) [IS_IN (libc)]: Remove alias.
6180         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
6181         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6182         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6184 2016-06-24  Torvald Riegel  <triegel@redhat.com>
6186         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
6187         of atomic_compare_and_exchange_bool_rel.
6188         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6189         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
6190         catomic_compare_and_exchange_bool_rel): Remove.
6191         * sysdeps/aarch64/atomic-machine.h
6192         (atomic_compare_and_exchange_bool_rel): Likewise.
6193         * sysdeps/alpha/atomic-machine.h
6194         (atomic_compare_and_exchange_bool_rel): Likewise.
6195         * sysdeps/arm/atomic-machine.h
6196         (atomic_compare_and_exchange_bool_rel): Likewise.
6197         * sysdeps/mips/atomic-machine.h
6198         (atomic_compare_and_exchange_bool_rel): Likewise.
6199         * sysdeps/microblaze/atomic-machine.h
6200         ( __arch_compare_and_exchange_bool_8_rel,
6201         __arch_compare_and_exchange_bool_16_rel): Likewise.
6202         * sysdeps/powerpc/atomic-machine.h
6203         ( __arch_compare_and_exchange_bool_8_rel,
6204         __arch_compare_and_exchange_bool_16_rel): Likewise.
6205         * sysdeps/powerpc/powerpc32/atomic-machine.h
6206         ( __arch_compare_and_exchange_bool_32_rel,
6207         __arch_compare_and_exchange_bool_64_rel): Likewise.
6208         * sysdeps/powerpc/powerpc64/atomic-machine.h
6209         ( __arch_compare_and_exchange_bool_32_rel,
6210         __arch_compare_and_exchange_bool_64_rel): Likewise.
6211         * sysdeps/tile/atomic-machine.h
6212         (atomic_compare_and_exchange_bool_rel): Likewise.
6214 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
6216         [BZ #20296]
6217         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
6218         when either argument is a NaN.
6219         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
6220         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
6222         * math/libm-test.inc (snan_value_ld): New macro.
6223         (isgreater_test_data): Add sNaN tests.
6224         (isgreaterequal_test_data): Likewise.
6225         (isless_test_data): Likewise.
6226         (islessequal_test_data): Likewise.
6227         (islessgreater_test_data): Likewise.
6228         (isunordered_test_data): Likewise.
6229         (nextafter_test_data): Likewise.
6230         (nexttoward_test_data): Likewise.
6231         (remainder_test_data): Likewise.
6232         (remquo_test_data): Likewise.
6233         (significand_test_data): Likewise.
6234         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
6236 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6238         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
6239         environment macros are defined.
6240         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
6242 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6244         [BZ #20191]
6245         Implement vtable verification in libio.
6246         * Makerules (shlib.lds): Place __libc_IO_vtables section.
6247         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
6248         * debug/vdprintf_chk.c (__vdprintf_chk): Call
6249         _IO_new_file_init_internal instead of _IO_file_init.
6250         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
6251         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
6252         * libio/Makefile (routines): Add vtables.
6253         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
6254         (_IO_init): Remove, not for internal use.
6255         (_IO_init_internal): Declare, internal replacement for _IO_init.
6256         (_IO_file_init): Remove, not for internal use.
6257         (_IO_new_file_init): Remove, not for internal use.
6258         (_IO_new_file_init_internal): Declare, internal replacement for
6259         _IO_new_file_init.
6260         (_IO_old_file_init): Remove, not for internal use.
6261         (_IO_old_file_init_internal): Declare, internal replacement for
6262         _IO_old_file_init.
6263         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
6264         internal use.
6265         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
6266         Declare.
6267         (libio_vtable): New macro.
6268         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
6269         functions.
6270         * libio/fileops.c (_IO_new_file_init_internal): Rename from
6271         _IO_new_file_init.
6272         (_IO_new_file_init): New externally visible wrapper which disables
6273         vtable verification.
6274         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
6275         Define as vtables.
6276         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
6277         (_IO_init): New externally visible wrapper which disables
6278         vtable verification.
6279         * libio/iofdopen.c (_IO_new_fdopen): Call
6280         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
6281         comment.
6282         * libio/iofopen.c (__fopen_internal): Call
6283         _IO_new_file_init_internal instead of _IO_file_init.
6284         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
6285         Define as vtables.
6286         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
6287         _IO_new_file_init_internal instead of _IO_file_init.
6288         * libio/iopopen.c (_IO_new_popen): Likewise.
6289         (_IO_proc_jumps): Define as vtable.
6290         * libio/iovdprintf.c (_IO_vdprintf): Call
6291         _IO_new_file_init_internal instead of _IO_file_init.
6292         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
6293         (__open_memstream): Call _IO_init_internal instead of _IO_init.
6294         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
6295         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
6296         _IO_old_file_init.
6297         (_IO_old_file_init): New externally visible wrapper which disables
6298         vtable verification.
6299         (_IO_old_file_jumps): Define as vtable.
6300         * libio/oldiofdopen.c (_IO_old_fdopen): Call
6301         _IO_old_file_init_internal instead of _IO_old_file_init.
6302         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
6303         * libio/oldiopopen.c (_IO_old_popen): Likewise.
6304         (_IO_old_proc_jumps): Define as vtable.
6305         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
6306         Define as vtables.
6307         * libio/vtables.c: New file.
6308         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
6309         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
6310         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
6311         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
6312         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
6313         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
6314         instead of _IO_init.
6316 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6318         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
6320 2016-06-23  Florian Weimer  <fweimer@redhat.com>
6322         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
6323         potentially unused.
6325 2016-06-22  Florian Weimer  <fweimer@redhat.com>
6327         * test-skeleton.c (write_message): New function.
6328         * malloc/tst-mallocfork2.c (write_message): Remove.
6329         * debug/tst-longjmp_chk2.c (write_indented): New function.
6330         (write_message): Remove.
6331         (stackoverflow_handler): Call write_indented.
6333 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
6335         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
6336         "inexact" exceptions after fnstenv.
6337         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
6338         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6339         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
6341 2015-06-22  Zack Weinberg  <zackw@panix.com>
6343         * sysdeps/generic/bits/hwcap.h: Moved to ...
6344         * bits/hwcap.h: Here.
6346 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
6348         * sysdeps/aarch64/memcpy.S (memcpy):
6349         Further tuning for performance.
6351 2016-06-21  Florian Weimer  <fweimer@redhat.com>
6353         [BZ #20284]
6354         * malloc/arena.c (reused_arena): Do not return NULL if we start
6355         out with a non-corrupted arena.
6357 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6359         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
6360         * misc/tst-preadvwritev.c: New file.
6361         * misc/tst-preadvwritev64.c: Likewise.
6362         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
6363         usage.
6364         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
6365         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
6366         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
6367         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
6369 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
6371         [BZ #19654]
6372         * sysdeps/x86_64/fpu/Makefile: Added new tests.
6373         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
6374         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
6375         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
6376         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
6377         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
6378         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
6379         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
6380         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
6381         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
6382         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
6383         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
6384         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
6385         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
6386         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
6387         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
6388         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
6389         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
6390         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
6391         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
6392         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
6393         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
6394         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
6395         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
6396         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
6397         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
6399 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6401         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
6402         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
6404 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
6406         * sysdeps/aarch64/memcpy.S (memcpy):
6407         Rewrite of optimized memcpy and memmove.
6408         * sysdeps/aarch64/memmove.S (memmove): Remove
6409         memmove code (merged into memcpy.S).
6411 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6413         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
6414         * sysdeps/generic/dl-dtv.h: New file.
6415         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6416         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
6417         (dtv_t): Remove.
6418         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6419         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
6420         (dtv_t): Remove.
6421         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6422         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
6423         (dtv_t): Remove.
6424         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6425         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
6426         (dtv_t): Remove.
6427         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6428         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
6429         (dtv_t): Remove.
6430         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6431         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
6432         (dtv_t): Remove.
6433         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6434         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
6435         (dtv_t): Remove.
6436         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
6437         (dtv_t): Remove.
6438         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6439         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
6440         (dtv_t): Remove.
6441         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6442         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
6443         (dtv_t): Remove.
6444         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6445         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
6446         (dtv_t): Remove.
6447         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6448         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
6449         (dtv_t): Remove.
6450         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6451         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
6452         (dtv_t): Remove.
6453         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6454         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
6455         (dtv_t): Remove.
6456         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6457         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
6458         (dtv_t): Remove.
6459         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
6460         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
6461         (dtv_t): Remove.
6463 2016-06-20  Florian Weimer  <fweimer@redhat.com>
6465         Revert symbol poisoning of  __malloc_initialize_hook.
6466         * include/stdc-predef.h (__malloc_initialize_hook): Remove
6467         poisoning.
6468         * malloc/Makefile: Remove un-poisoning.
6469         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
6470         instead of old__malloc_initialize_hook.
6471         * malloc/malloc-hooks.h: Likewise.
6472         * malloc/malloc.c: Likewise.
6473         * malloc/mcheck-init.c: Likewise.
6475 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
6477         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
6479 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
6481         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
6482         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
6483         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
6484         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
6486 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6488         * NEWS: Mention addition of nextup and nextdown.
6489         * manual/arith.texi: Document nextup and nextdown.
6490         * manual/libm-err-tab.pl: Add nextup and nextdown.
6491         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
6492         * math/Versions (libm): Add GLIBC_2.24.
6493         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
6494         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
6495         Add new test.
6496         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
6497         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
6498         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
6499         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
6500         (nextup_test_data): Likewise.
6501         (nextdown_test_data): Likewise.
6502         * math/s_nextdown.c: New file.
6503         * math/s_nextdownf.c: Likewise.
6504         * math/s_nextdownl.c: Likewise.
6505         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
6506         F(nextup): New function.
6507         F(nextdown): Likewise.
6508         * math/tgmath.h: Add nextup and nextdown.
6509         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
6510         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
6511         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
6512         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
6513         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
6514         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
6515         Add nextup and nextdown.
6516         (CFLAGS-nldbl-nextup.c): New variable.
6517         (CFLAGS-nldbl-nextdown.c): Likewise.
6518         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
6519         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
6520         * sysdeps/nacl/libm.abilist: Update.
6521         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6522         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6523         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6524         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6525         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6526         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6527         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6528         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6529         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6530         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6531         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6532         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
6534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6535         Likewise.
6536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
6537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
6538         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6539         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6540         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6541         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6542         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
6544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
6545         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6546         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6547         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
6548         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6550 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6552         * manual/pattern.texi: Fix typos & grammar errors.
6554 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6556         * manual/search.texi: Fix typos & grammar errors.
6558 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6560         * manual/message.texi: Fix typos & grammar errors.
6562 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
6564         * manual/contrib.texi: Fix spelling typos.
6565         * manual/crypt.texi: Likewise.
6566         * manual/filesys.texi: Likewise.
6567         * manual/locale.texi: Likewise.
6568         * manual/message.texi: Likewise.
6569         * manual/nss.texi: Likewise.
6570         * manual/string.texi: Likewise.
6572 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6574         * manual/locale.texi: Fix typos & grammar errors.
6576 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6578         * manual/charset.texi: Fix typos & grammar errors.
6580 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6582         * manual/string.texi: Fix typos.
6584 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6586         * manual/ctype.texi: Fix typos.
6588 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
6590         * manual/memory.texi: Fix various typos & grammar errors.
6592 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
6594         [BZ #20255]
6595         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
6596         * math/libm-test.inc (fdim_test_data): Add another test.
6598         [BZ #6796]
6599         [BZ #20255]
6600         [BZ #20256]
6601         * math/s_fdim.c: Include <math_private.h>.
6602         (__fdim): Use math_narrow_eval on result.
6603         * math/s_fdimf.c: Include <math_private.h>.
6604         (__fdimf): Use math_narrow_eval on result.
6605         * sysdeps/i386/fpu/s_fdim.S: Remove file.
6606         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
6607         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
6608         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
6609         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
6610         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
6611         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
6612         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
6613         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
6614         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
6615         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
6616         * math/libm-test.inc (fdim_test_data): Expect errno setting on
6617         overflow.  Add sNaN tests.
6619         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
6620         fpclassify.
6621         * math/s_fdimf.c (__fdimf): Likewise.
6622         * math/s_fdiml.c (__fdiml): Likewise.
6624 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6626         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6627         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
6628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6629         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
6630         ifunc'ed strcasecmp/strncasecmp.
6631         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
6632         [EALIGN]: Removed.
6633         [END]: Likewise.
6634         [__strcasecmp]: Define instead of the above to control symbol name.
6635         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
6636         for __strcasecmp_power8.
6637         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
6638         for __strncasecmp_power8.
6639         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
6640         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
6641         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
6642         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
6643         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
6644         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
6646 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
6648         [BZ #20252]
6649         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
6650         arguments when second argument is a NaN.
6651         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
6652         qNaN tests.
6654         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
6655         (conj_test_data): Likewise.
6656         (copysign_test_data): Likewise.
6657         (creal_test_data): Likewise.
6658         (fma_test_data): Likewise.
6659         (fmod_test_data): Likewise.
6661         [BZ #20250]
6662         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
6663         itself.
6664         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
6665         zero input to itself.
6666         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
6667         Likewise.
6668         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
6669         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
6670         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
6671         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
6672         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
6674 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6676         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
6677         * nptl/tst-cancel4-common.c: New file.
6678         * nptl/tst-cancel4-common.h: Likewise.
6679         * nptl/tst-cancel4.c: Move common definitions to
6680         tst-cancel4-common.{c,h} file.
6681         * nptl/tst-cancel4_1.c: New test.
6682         * nptl/tst-cancel4_2.c: New test.
6684 2016-06-13  Florian Weimer  <fweimer@redhat.com>
6686         [BZ #20248]
6687         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
6688         (write_message): New function.
6689         (stackoverflow_handler): Call it instead of printf, to avoid
6690         excessive stack usage by printf.
6691         (do_test): Restore SIGSEGV, SIGBUS default handlers.
6693 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6695         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
6696         (prio_inherit_missing): Remove define.
6697         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6698         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6699         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
6700         Likewise.
6701         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6702         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6703         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6704         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6705         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6706         (__ASSUME_FUTEX_LOCK_PI): Likewise.
6708 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
6710         [BZ #19670]
6711         [BZ #19672]
6713         * io/test-lfs.c (do_prepare): Use xmalloc.
6714         * io/tst-fcntl.c (do_prepare): Likewise.
6715         * libio/tst-fopenloc.c (do_bz17916): Likewise.
6716         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
6717         * login/tst-utmp.c (do_prepare): Likewise.
6718         * posix/tst-exec.c (do_prepare): Likewise.
6719         * posix/tst-pathconf.c (prepare): Likewise.
6720         * posix/tst-spawn.c (do_prepare): Likewise.
6721         * posix/tst-truncate.c (do_prepare): Likewise.
6722         * rt/tst-aio.c (do_prepare): Likewise.
6723         * rt/tst-aio64.c (do_prepare): Likewise.
6725 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6727         [BZ #20237]
6728         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
6729         (get*ent): Set entidx to NULL during initialization.  If entidx is
6730         NULL, start iteration from the beginning.
6732 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6734         * malloc/malloc.c (musable): Return correct size for dumped fake
6735         mmapped chunk.
6737 2016-06-11  Florian Weimer  <fweimer@redhat.com>
6739         [BZ #20222]
6740         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
6741         (_IO_cookie_write): Likewise.
6742         (_IO_cookie_seek): Likewise.
6743         (_IO_cookie_close): Likewise.
6744         (_IO_old_cookie_seek): Likewise.
6745         (set_callbacks): New function.
6746         (_IO_cookie_init): Call set_callbacks to copy callbacks.
6748 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
6750         * locale/programs/localedef.c (oldstyle_tables): Remove.
6751         * locale/programs/localedef.h (oldstyle_tables): Likewise.
6753 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
6755         [BZ #20240]
6756         * math/Makefile (CFLAGS-s_modf.c): New variable.
6757         (CFLAGS-s_modff.c): Likewise.
6758         (CFLAGS-s_modfl.c): Likewise.
6759         * math/libm-test.inc (modf_test_data): Add sNaN tests.
6761 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
6763         [BZ #20215]
6764         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
6765         [!__GNUC_PREREQ (3,2)]: Likewise.
6767 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
6769         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
6770         (msghdr.msg_controllen): Likewise.
6771         (cmsghdr.cmsg_len): Likewise.
6772         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
6773         ptw-oldsendmsg.
6774         (CFLAGS-oldrecvmsg.c): Remove rule.
6775         (CFLAGS-oldsendmsg.c): Likewise.
6776         (CFLAGS-recvmsg.c): Add rule.
6777         (CFLAGS-sendmsg.c): Likewise.
6778         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
6779         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
6780         (CFLAGS-recvmsg.c): Remove rule.
6781         (CFLAGS-sendmsg.c): Likewise.
6782         (CFLAGS-oldrecvmsg.c): Likewise.
6783         (CFLAGS-oldsendmsg.c): Likewise.
6784         (CFLAGS-recvmmsg.c): Likewise.
6785         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
6786         to kernel defined interfaces.
6787         (msghdr.msg_controllen): Likewise.
6788         (cmsghdr.cmsg_len): Likewise.
6789         (msghdr.__glibc_reserved1): Remove member.
6790         (msghdr.__glibc_reserved2): Likewise.
6791         (cmsghdr.__glibc_reserved1): Likewise.
6792         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
6793         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
6794         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6795         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6796         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
6797         version.
6798         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
6799         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
6800         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
6801         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
6802         Remove recvmsg and sendmsg.
6803         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
6804         Likewise.
6805         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6806         Likewise.
6807         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6808         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6809         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6810         Likewise.
6811         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6812         Likewise.
6813         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
6814         [libc] (GLIBC_2.24): Likewise.
6815         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6816         Likewise.
6817         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6818         Likewise.
6819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
6820         [libc] (GLIBC_2.24): Likewise.
6821         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6822         Likewise.
6823         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6824         Likewise.
6825         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6826         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6827         Likewise.
6828         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6829         Likewise.
6830         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6831         Likewise.
6832         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
6833         Likewise.
6834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
6835         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
6836         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
6837         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
6838         version for {recv,send,recm,sendm}msg.
6839         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6840         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6841         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6842         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6843         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6844         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6845         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6846         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6847         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6848         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6849         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6850         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6852         Likewise.
6853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6854         Likewise.
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6857         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6858         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6859         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6860         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6861         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6862         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6865         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6866         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6867         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6869 2016-06-10  Florian Weimer  <fweimer@redhat.com>
6871         [BZ #19564]
6872         Remove __malloc_initialize_hook from the API.
6873         * malloc/malloc.h (__malloc_initialize_hook): Remove.
6874         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
6875         #pragma GCC poison.
6876         * malloc/malloc-hooks.h: New file.
6877         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
6878         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
6879         (old__malloc_initialize_hook): Rename from
6880         __malloc_initialize_hook to evade poisoning.  Turn into compat
6881         symbol.
6882         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
6883         __malloc_initialize_hook.
6884         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
6885         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
6886         * manual/memory.texi (Hooks for Malloc): Remove
6887         __malloc_initialize_hook.  Adjust hook example.
6889 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
6891         [BZ #20235]
6892         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
6893         itself.
6894         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
6895         * math/libm-test.inc (log2_test_data): Add sNaN tests.
6897         [BZ #20234]
6898         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
6899         infinity or NaN input to itself.
6901         [BZ #20233]
6902         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
6903         to itself.
6905         [BZ #20232]
6906         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
6907         itself.
6909 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6911         * sysdeps/x86_64/start.S (_start): Always indirect branch to
6912         __libc_start_main via GOT.
6914 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
6916         * sysdeps/x86_64/memcopy.h: New file.
6917         * sysdeps/x86_64/wordcopy.c: Likewise.
6919 2016-06-09  Florian Weimer  <fweimer@redhat.com>
6921         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
6922         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
6923         <cstdlib>.
6924         (optimization_barrier): New.
6925         (do_test): Use it.  Call quick_exit in the global namespace.
6926         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
6927         instead of <cstdlib>, <thread>.
6928         (optimization_barrier): New.
6929         (non_main_thread): Adjust declaration.  Call optimization_barrier.
6930         Call quick_exit in the global namespace.
6931         (do_test): Call optimization_barrier.  Use pthread_create,
6932         pthread_join instead of std::thread.
6934 2016-06-09  Andreas Schwab  <schwab@suse.de>
6936         [BZ #19755]
6937         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
6938         new entries in auto-propagate mode.
6939         * nscd/grpcache.c (cache_addgr): Likewise.
6941 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
6943         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
6944         New functions.
6945         (add_temp_file): Use them.
6947 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
6949         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
6951 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
6953         [BZ #20229]
6954         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
6955         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
6956         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
6958         [BZ #20228]
6959         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
6960         itself.
6961         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
6962         * math/libm-test.inc (log10_test_data): Add sNaN tests.
6964         [BZ #20227]
6965         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
6966         itself.
6967         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6968         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6969         * math/libm-test.inc (log_test_data): Add sNaN tests.
6971         [BZ #20226]
6972         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
6973         itself.
6974         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6975         * math/libm-test.inc (exp_test_data): Add sNaN tests.
6976         (exp10_test_data): Likewise.
6977         (expm1_test_data): Likewise.
6979         [BZ #20225]
6980         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
6981         itself.
6982         * math/s_ldexpf.c (__ldexpf): Likewise.
6983         * math/s_ldexpl.c (__ldexpl): Likewise.
6984         * math/w_scalbln.c (__w_scalbln): Likewise.
6985         * math/w_scalblnf.c (__w_scalblnf): Likewise.
6986         * math/w_scalblnl.c (__w_scalblnl): Likewise.
6987         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
6988         (scalbln_test_data): Likewise.
6990         [BZ #20224]
6991         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
6992         argument to itself.
6993         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
6995 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
6997         [BZ #19776]
6998         * sysdeps/x86_64/memcpy.S: Make it dummy.
6999         * sysdeps/x86_64/mempcpy.S: Likewise.
7000         * sysdeps/x86_64/memmove.S: New file.
7001         * sysdeps/x86_64/memmove_chk.S: Likewise.
7002         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
7003         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
7004         * sysdeps/x86_64/memmove.c: Removed.
7005         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7006         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
7007         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
7008         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
7009         Likewise.
7010         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7011         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7012         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7013         memcpy-sse2-unaligned, memmove-avx-unaligned,
7014         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
7015         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7016         (__libc_ifunc_impl_list): Replace
7017         __memmove_chk_avx512_unaligned_2 with
7018         __memmove_chk_avx512_unaligned.  Remove
7019         __memmove_chk_avx_unaligned_2.  Replace
7020         __memmove_chk_sse2_unaligned_2 with
7021         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
7022         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
7023         with __memmove_avx512_unaligned.  Replace
7024         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
7025         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
7026         with __memcpy_chk_avx512_unaligned.  Remove
7027         __memcpy_chk_avx_unaligned_2.  Replace
7028         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
7029         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
7030         Replace __memcpy_avx512_unaligned_2 with
7031         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
7032         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
7033         with __mempcpy_chk_avx512_unaligned.  Remove
7034         __mempcpy_chk_avx_unaligned_2.  Replace
7035         __mempcpy_chk_sse2_unaligned_2 with
7036         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
7037         Replace __mempcpy_avx512_unaligned_2 with
7038         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
7039         Replace __mempcpy_sse2_unaligned_2 with
7040         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
7041         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
7042         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
7043         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
7044         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
7045         (ENTRY): Removed.
7046         (END): Likewise.
7047         (ENTRY_CHK): Likewise.
7048         (libc_hidden_builtin_def): Likewise.
7049         Don't include ../memcpy.S.
7050         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
7051         __memcpy_chk_avx512_unaligned_erms and
7052         __memcpy_chk_avx512_unaligned.  Use
7053         __memcpy_chk_avx_unaligned_erms and
7054         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7055         Default to __memcpy_chk_sse2_unaligned.
7056         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
7057         Change function suffix from unaligned_2 to unaligned.
7058         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
7059         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
7060         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
7061         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
7062         (ENTRY): Removed.
7063         (END): Likewise.
7064         (ENTRY_CHK): Likewise.
7065         (libc_hidden_builtin_def): Likewise.
7066         Don't include ../mempcpy.S.
7067         (mempcpy): New.  Add a weak alias.
7068         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
7069         __mempcpy_chk_avx512_unaligned_erms and
7070         __mempcpy_chk_avx512_unaligned.  Use
7071         __mempcpy_chk_avx_unaligned_erms and
7072         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
7073         Default to __mempcpy_chk_sse2_unaligned.
7075 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
7077         [BZ #19881]
7078         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
7079         into ...
7080         * sysdeps/x86_64/memset.S: This.
7081         (__bzero): Removed.
7082         (__memset_tail): Likewise.
7083         (__memset_chk): Likewise.
7084         (memset): Likewise.
7085         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
7086         defined.
7087         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
7088         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
7089         (__memset_zero_constant_len_parameter): Check SHARED instead of
7090         PIC.
7091         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
7092         memset-avx2 and memset-sse2-unaligned-erms.
7093         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
7094         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
7095         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
7096         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7097         (__bzero): Enabled.
7098         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
7099         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
7100         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
7101         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
7102         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
7103         (memset): Removed.
7104         (__memset_chk): Likewise.
7105         (MEMSET_SYMBOL): New.
7106         (libc_hidden_builtin_def): Replace __memset_sse2 with
7107         __memset_sse2_unaligned.
7108         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
7109         __memset_chk_sse2 and __memset_chk_avx2 with
7110         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
7111         Use __memset_chk_sse2_unaligned_erms or
7112         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
7113         __memset_chk_avx512_unaligned_erms and
7114         __memset_chk_avx512_unaligned.
7116 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7118         * math/gen-auto-libm-test.c (fp_format_desc): remove
7119         suffix member.
7120         (output_generic_value): Remove usage of suffix member,
7121         and the resulting unuse of the fp_format argument.
7122         (output_for_one_input_case): Remove unused fp_format
7123         parameter.
7125         * math/auto-libm-test-out: Regenerate.
7127         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
7128         usage with TEST_COND_ibm128.
7129         (TEST_COND_flt_32): Remove.
7130         (TEST_COND_dbl_64): Remove.
7131         (TEST_COND_ldbl_96_intel): Remove.
7132         (TEST_COND_ldbl_96_m68k): Remove.
7133         (TEST_COND_ldbl_128): Remove.
7135 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7137         * auto-libm-test-in:
7138         Replace flt-32 usage with binary32.
7139         Replace dbl-64 usage with binary64.
7140         Replace ldbl-intel-96 usage with intel96.
7141         Replace ldbl-m68k-96 usage with m68k96.
7142         Replace ldbl-128ibm usage with ibm128.
7143         Replace ldbl-128 usage with binary128.
7145         * auto-libm-test-out: Regenerate.
7147 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7149         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
7150         (parse_ulps): Dynamically generate type name matching
7151         string from all_floats.
7152         (get_ulps): Generate the ulps as an array instead.
7153         (output_ulps): Dynamically compose the type based
7154         on the number of supported formats, and print
7155         the indices as type specific helper macros.
7157         * math/libm-test.inc: Remove comment about CHOOSE.
7158         (ulp_data): Generate the type in libm-test-ulps.h.
7159         (ULP_IDX): New macro.
7160         (find_ulps): Update usage of max_ulp.
7162         * math/test-double-vlen2.h (CHOOSE): Remove.
7163         * math/test-double-vlen4.h (CHOOSE): Likewise.
7164         * math/test-double-vlen8.h (CHOOSE): Likewise.
7165         * math/test-float.c (CHOOSE): Likewise.
7166         * math/test-float-finite.c (CHOOSE): Likewise.
7167         * math/test-double.c (CHOOSE): Likewise.
7168         * math/test-double-finite.c (CHOOSE): Likewise.
7169         * math/test-idouble.c (CHOOSE): Likewise.
7170         * math/test-ifloat.c (CHOOSE): Likewise.
7171         * math/test-ildoubl.c (CHOOSE): Likewise.
7172         * math/test-ldouble-finite.c (CHOOSE): Likewise.
7173         * math/test-ldouble.c (CHOOSE): Likewise.
7175         * math/test-float.h (TEST_FLOAT): Remove.
7176         * math/test-double.h (TEST_DOUBLE): Likewise.
7177         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
7179 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7181         * math/gen-libm-test.pl: (apply_lit): New subroutine.
7182         (parse_args): Strip C suffix from floating point literals
7183         typed with 'f' and wrap them with LIT().
7185         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
7186         (test_ff_f_data_nexttoward): Rename to
7187         (test_fj_f_data): New struct.
7188         (nexttoward_test_data): Relabel tests as
7189         TEST_fj_f instead of TEST_ff_f.
7191 2016-06-08  Florian Weimer  <fweimer@redhat.com>
7193         Emacs bug 23726.
7194         * malloc/malloc.c (dumped_main_arena_start): Update comment.
7195         (__libc_realloc): Correct size computation for dumped fake mmapped
7196         chunks.
7198 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
7200         [BZ #20219]
7201         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
7202         to itself.
7203         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
7205         [BZ #20218]
7206         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
7207         to itself.
7208         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
7210 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
7212         [BZ #20195]
7213         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
7214         check to ...
7215         (init_cpu_features): Here.
7217 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
7219         [BZ #20214]
7220         * sysdeps/unix/sysv/linux/bits/in.h
7221         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7222          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
7223         Define to 1.
7224         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
7225          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
7226         Define to 0.
7227         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
7228         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
7230 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
7232         [BZ #20198]
7233         * stdlib/Makefile (tests): Add tst-quick_exit, and
7234         tst-thread-quick_exit.
7235         [ifeq ($(have-cxx-thread_local),yes)]
7236         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
7237         (CFLAGS-tst-thread-quick_exit.o): Likewise.
7238         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
7239         (LDLIBS-tst-thread-quick_exit): Likewise.
7240         [ifneq ($(have-cxx-thread_local),yes)]
7241         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
7242         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
7243         If run_dtors is true call __call_tls_dtors.
7244         (exit): Call __run_exit_handlers with run_dtors set to true.
7245         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
7246         definition.
7247         * stdlib/quick_exit.c (quick_exit): Remove function.
7248         (__new_quick_exit): New function.
7249         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
7250         function.
7251         * stdlib/tst-quick_exit.cc: New file.
7252         * stdlib/tst-thread-quick_exit.cc: New file.
7253         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
7254         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
7255         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
7256         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
7257         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
7258         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
7259         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
7260         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
7261         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
7262         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
7263         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
7264         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
7265         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
7266         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
7267         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
7268         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
7270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
7271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
7272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
7273         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
7274         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
7275         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
7276         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
7277         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
7278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
7279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
7280         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
7281         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
7282         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
7284 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
7286         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
7287         a typo in comments.
7289 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7291         [BZ #20213]
7292         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
7293         argument to itself.
7294         * math/libm-test.inc (asin_test_data): Add sNaN tests.
7296 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7298         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
7299         required flags.
7300         (CFLAGS-pwritev64.c): Likewise.
7301         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
7302         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7303         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
7304         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
7305         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
7306         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
7307         syscall from auto-generation.
7308         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
7309         [WORDSIZE == 64] (pwritev64): Remove macro.
7310         [!PWRITEV] (PWRITEV): Likewise.
7311         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7312         [!PWRITEV] (PWRITE): Likewise.
7313         [!PWRITEV] (OFF_T): Likewise.
7314         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
7315         (LO_HI_LONG): Remove macro.
7316         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
7317         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
7318         (PWRITEV): Remove macro.
7319         (PWRITEV_REPLACEMENTE): Likewise.
7320         (PWRITE): Likewise.
7321         (OFF_T): Likewise.
7322         (pwritev64): New function.
7323         * nptl/tst-cancel4.c (tf_writev): Add test.
7325         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
7326         required flags.
7327         (CFLAGS-preadv64.c): Likewise.
7328         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
7329         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7330         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
7331         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
7332         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
7333         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
7334         syscall from auto-generation.
7335         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
7336         [WORDSIZE == 64] (preadv64): Remove macro.
7337         [!PREADV] (PREADV): Likewise.
7338         [!PREADV] (PREADV_REPLACEMENT): Likewise.
7339         [!PREADV] (PREAD): Likewise.
7340         [!PREADV] (OFF_T): Likewise.
7341         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
7342         (LO_HI_LONG): Remove macro.
7343         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
7344         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
7345         (PREADV): Remove macro.
7346         (PREADV_REPLACEMENTE): Likewise.
7347         (PREAD): Likewise.
7348         (OFF_T): Likewise.
7349         (preadv64): New function.
7350         * nptl/tst-cancel4.c (tf_preadv): Add test.
7352 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
7354         [BZ #20212]
7355         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
7356         argument to itself.
7357         * math/libm-test.inc (acos_test_data): Add sNaN tests.
7359 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7361         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
7362         New symbol defined as libc_hidden_def.
7363         (strcasestr): Became a weak alias to __strcasestr.
7364         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
7365         according to multi-arch support.  Move __stpncpy hidden
7366         definition from here to...
7367         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
7368         symbol stpncpy.
7369         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
7370         libc_hidden_builtin_def.
7371         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
7372         memset symbol to use when multi-arch support is available.
7374 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7376         * dlfcn/tst-rec-dlopen.c: Include string.h.
7378 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
7380         * manual/install.texi: Remove mention of --without-tls
7381         * INSTALL: Regenerate.
7383 2016-06-05  Florian Weimer  <fweimer@redhat.com>
7385         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
7386         Remove.
7387         (call_function, interposed_malloc_called): New variables.
7388         (malloc): New function.
7389         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
7390         and clear call_function as needed.
7392 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
7394         * include/wchar.h (__wmemset): Use __typeof.
7396 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
7398         * include/wchar.h (__wmemset): Declare function without typeof.
7400 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
7402         [BZ #20205]
7403         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
7404         exponent when incrementing negative subnormal with low mantissa
7405         word zero.
7406         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
7407         Add another test.
7409 2016-06-03  Florian Weimer  <fweimer@redhat.com>
7411         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
7412         __wmemset instead of wmemset.
7414 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
7416         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
7417         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
7418         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
7419         __USE_KERNEL_IPV6_DEFS to 0.
7420         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
7421         Update comment.
7423 2016-06-01  Florian Weimer  <fweimer@redhat.com>
7425         [BZ #19861]
7426         Do not use IFUNC resolver with potentially unrelocated symbol.
7427         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
7428         (DEFINE_FORK): Remove macro and inline definition.
7429         (fork_alias): Renamed from fork_ifunc.
7430         (__fork_alias): Renamed from __fork_ifunc.
7432 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
7434         [BZ 19653]
7435         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
7436         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
7438 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7440         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
7441         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
7442         i386-linux-gnu).
7443         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
7444         Set to no.
7445         * sysdeps/mach/hurd/configure: Refresh.
7447 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7449         [BZ #20178]
7450         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
7451         on failure instead of exit.
7453 2016-05-30  Roland McGrath  <roland@hack.frob.com>
7455         [BZ #3629]
7456         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
7457         of POSIX.1-2008.
7459 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7461         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
7462           Use PLT entry for calling _hurd_self_sigstate.
7464 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
7466         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
7467         available logical processors with SMT level type sharing L2
7468         cache for Intel processors.
7470 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7472         [BZ #20160]
7473         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
7474         argument to itself before returning the result.
7475         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7476         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7477         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7478         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
7479         Likewise.
7480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
7481         Likewise.
7482         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
7483         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
7484         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
7485         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
7486         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7487         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7489         [BZ #20160]
7490         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
7491         argument to itself before returning the result.
7492         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7493         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7494         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7495         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
7496         Likewise.
7497         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
7498         Likewise.
7499         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
7500         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
7501         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
7502         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
7503         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7504         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7506 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7508         * libm-test.inc: Replace usage of M_El with
7509         (lit_e): New macro.
7511 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7513         * libm-test.inc: Replace usage of M_PI_4l with
7514         (lit_pi_4_d): New macro.
7516 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7518         * libm-test.inc: Replace usage of M_PIl with
7519         (lit_pi): New macro.
7521 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7523         * libm-test.inc: Replace usage of M_PI2l with
7524         (lit_pi_2_d): New macro.
7526         * math/test-double.h (LITM): New macro.
7527         * math/test-float.h (LITM): Likewise.
7528         * math/test-ldouble.h (LITM): Likewise.
7530 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7532         * libm-test.inc (M_PI_34l): Rename to
7533         (lit_pi_3_m_4_d): New Macro.
7534         (M_PI_34_LOG10El): Rename to
7535         (lit_pi_3_m_4_ln10_m_d): New Macro.
7536         (M_PI2_LOG10El): Rename to
7537         (lit_pi_2_ln10_m_d):  New Macro.
7538         (M_PI4_LOG10El): Rename to
7539         (lit_pi_4_ln10_m_d):  New Macro.
7540         (M_PI_LOG10El): Rename to
7541         (lit_pi_ln10_d):  New Macro.
7543 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7545         [BZ #20157]
7546         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
7547         determine whether to negate low half if [_ARCH_PPCGR], and integer
7548         comparison otherwise.
7549         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
7550         determine whether to negate low half.
7552         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
7553         (NO_TEST_INLINE_DOUBLE): Likewise.
7554         (TEST_COND_x86_64): Likewise.
7555         (TEST_COND_x86): Likewise.
7556         (M_PI_6l): Likewise.
7558 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7560         * math/libm-test.inc:
7561         (TEST_FLOAT): Change usage to TEST_COND_binary32.
7562         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
7563         (TEST_LDOUBLE): Update usage to evaluate as true if
7564         the guarded tests match the property being tested.
7565         (LDBL_MAX_EXP): Change to MAX_EXP.
7566         (LDBL_MIN_EXP): Change to MIN_EXP.
7567         (LDBL_MANT_DIG): Change to MANT_DIG, except for
7568         nexttoward tests.
7570 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7572         * math/libm-test.inc:
7573         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
7574         (TYPE_MIN): Likewise.
7575         (TYPE_TRUE_MIN): Likewise.
7576         (TYPE_MAX): Likewise.
7577         (MIN_EXP): Likewise.
7578         (MAX_EXP): Likewise.
7579         (MANT_DIG): Likewise.
7581         (FSTR_MAX): New macro.
7582         (__CONCATX): Likewise.
7583         (QTYPE_STR): Likewise.
7584         (TEST_COND_binary32): Likewise.
7585         (TEST_COND_binary64): Likewise.
7586         (TEST_COND_binary128): Likewise.
7587         (TEST_COND_ibm128): Likewise.
7588         (TEST_COND_intel96): Likewise.
7589         (TEST_COND_m68k96): Likewise.
7591         (TEST_COND_flt_32): Redefine as equivalent format test macro.
7592         (TEST_COND_dbl_64): Likewise.
7593         (TEST_COND_ldbl_96_intel): Likewise.
7594         (TEST_COND_ldbl_96_m68k): Likewise.
7595         (TEST_COND_ldbl_128): Likewise.
7596         (TEST_COND_ldbl_128ibm): Likewise.
7598         (plus_zero): Redefine using LIT macro.
7599         (minus_zero): Likewise.
7600         (plus_infty): Redefine as (INF).
7601         (minux_infty): Redefine as (-INF).
7602         (max_value): Redefine as TYPE_MAX.
7603         (min_value): Redefine as TYPE_MIN.
7604         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
7606         (print_float): Refactor to use snprintf to convert FLOAT values
7607         to string. This brings it closer to dropin replacement of strtof
7608         for the TS 18661 defined types.
7609         (update_stats): Likewise.
7610         (print_complex_function_ulps): Likewise.
7611         (print_max_error): Likewise.
7612         (print_complex_max_error): Likewise.
7613         (check_float_internal): Likewise.
7615         * math/test-float.h (PREFIX): New macro.
7616         (LIT): Likewise.
7617         (TYPE_STR): Likewise.
7618         (FTOSTR): Likewise.
7620         * math/test-double.h (PREFIX): New macro.
7621         (LIT): Likewise.
7622         (TYPE_STR): Likewise.
7623         (FTOSTR): Likewise.
7625         * math/test-ldouble.h (PREFIX): New macro.
7626         (LIT): Likewise.
7627         (TYPE_STR): Likewise.
7628         (FTOSTR): Likewise.
7630 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
7632         [BZ #20156]
7633         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
7634         to itself when zero or not finite.
7635         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
7636         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7637         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
7638         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
7640 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
7642         [BZ #20153]
7643         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
7644         x * x + x for infinities and NaNs.
7646         [BZ #20151]
7647         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
7648         argument to itself before returning result.
7649         (__ieee754_y0l): Likewise.
7650         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
7651         (__ieee754_y1l).
7653         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
7654         (atan_test_data): Likewise.
7655         (ceil_test_data): Likewise.
7656         (cos_test_data): Likewise.
7657         (cosh_test_data): Likewise.
7658         (erf_test_data): Likewise.
7659         (exp2_test_data): Likewise.
7660         (fabs_test_data): Likewise.
7661         (floor_test_data): Likewise.
7662         (ilogb_test_data): Likewise.
7663         (j0_test_data): Likewise.
7664         (j1_test_data): Likewise.
7665         (jn_test_data): Likewise.
7666         (lgamma_test_data): Likewise.
7667         (lrint_test_data): Likewise.
7668         (llrint_test_data): Likewise.
7669         (logb_test_data): Likewise.
7670         (lround_test_data): Likewise.
7671         (llround_test_data): Likewise.
7672         (nearbyint_test_data): Likewise.
7673         (rint_test_data): Likewise.
7674         (round_test_data): Likewise.
7675         (sin_test_data): Likewise.
7676         (sincos_test_data): Likewise.
7677         (sinh_test_data): Likewise.
7678         (sqrt_test_data): Likewise.
7679         (tan_test_data): Likewise.
7680         (tanh_test_data): Likewise.
7681         (tgamma_test_data): Likewise.
7682         (trunc_test_data): Likewise.
7683         (y0_test_data): Likewise.
7684         (y1_test_data): Likewise.
7685         (yn_test_data): Likewise.
7687         * math/libm-test.inc: Update comment about NaN testing.
7688         (TEST_SNAN): New macro.
7689         (snan_value): Likewise.
7690         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
7691         (fpclassify_test_data): Add sNaN tests.
7692         (isfinite_test_data): Likewise.
7693         (isinf_test_data): Likewise.
7694         (isnan_test_data): Likewise.
7695         (isnormal_test_data): Likewise.
7696         (issignaling_test_data): Likewise.
7697         (signbit_test_data): Likewise.
7698         * math/gen-libm-test.pl (%beautify): Add snan_value.
7699         (show_exceptions): Add argument $test_snan.
7700         (parse_args): Handle snan_value as non-finite.  Update call to
7701         show_exceptions.
7702         * math/Makefile (libm-test-no-inline-cflags): Add
7703         -fsignaling-nans.
7705 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7707         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
7708         (CFLAGS-oldsendmsg.c): Add rule.
7709         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
7710         Correct recvmsg symbol name.
7711         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
7712         Likewise.
7714 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7716         * sysdeps/unix/sysv/linux/Makefile
7717         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
7718         oldsendmmsg.
7719         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
7720         sendmmsg.
7721         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7722         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7723         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7724         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7726         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7727         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
7729         Likewise.
7730         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7731         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
7732         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
7733         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
7734         iovlen and controllen fields to adjust to POSIX specification.
7735         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
7737         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
7738         and change to correct expected type.
7739         (msghdr.msg_controllen): Likewise.
7740         (cmsghdr.cmsg_len): Likewise.
7741         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
7742         expected POSIX assumption about the size.
7743         (msghdr.msg_controllen): Likewise.
7744         (msghdr.__glibc_reserved1): Likewise.
7745         (msghdr.__glibc_reserved2): Likewise.
7746         (cmsghdr.cmsg_len): Likewise.
7747         (cmsghdr.__glibc_reserved1): Likewise.
7748         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
7749         Add ptw-oldrecvmsg and ptw-oldsendmsg.
7750         (CFLAGS-sendmsg.c): Remove rule.
7751         (CFLAGS-recvmsg.c): Likewise.
7752         (CFLAGS-oldsendmsg.c): Add rule.
7753         (CFLAGS-oldrecvmsg.c): Likewise.
7754         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
7755         recvmsg and sendmsg.
7756         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
7757         Likewise.
7758         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
7759         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
7760         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
7761         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
7762         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
7763         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
7764         Likewise.
7765         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
7766         Likewise.
7767         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
7768         Likewise.
7769         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
7770         Likewise.
7771         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
7772         Likewise.
7773         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
7774         Likewise.
7775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
7776         (GLIBC_2.24): Likewise.
7777         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
7778         Likewise.
7779         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
7780         Likewise.
7781         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
7782         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
7783         Likewise.
7784         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
7785         Likewise.
7786         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
7787         Likewise.
7788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
7789         (GLIBC_2.24): Likewise.
7790         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
7791         Likewise.
7792         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
7793         Likewise.
7794         * sysdeps/unix/sysv/linux/Makefile
7795         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
7796         (CFLAGS-sendmsg.c): Add rule.
7797         (CFLAGS-recvmsg.c): Likewise.
7798         (CFLAGS-oldsendmsg.c): Likewise.
7799         (CFLAGS-oldrecvmsg.c): Likewise.
7800         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
7801         initialization.
7802         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
7803         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
7804         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
7805         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
7806         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
7807         iovlen and controllen fields to adjust to POSIX specification.
7808         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
7809         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
7810         added recvmsg and sendmsg.
7811         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
7812         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
7813         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
7814         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
7815         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
7816         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
7817         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
7818         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
7819         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
7820         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
7821         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
7822         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
7823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
7824         Likewise.
7825         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
7826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
7827         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
7828         Likewise.
7829         Likewise.
7830         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
7831         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
7832         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
7833         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
7834         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7835         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
7836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
7837         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
7838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
7839         Likewise.
7840         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
7841         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
7843         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
7844         from auto-generation.
7845         (sendmsg): Likewise.
7846         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
7847         (sendmsg): Likewise.
7848         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
7849         (sendmsg): Likewise.
7850         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
7851         (sendmsg): Likewise.
7852         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
7853         (sendmsg): Likewise.
7854         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
7855         (sendmsg): Likewise.
7856         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
7857         Likewise.
7858         (sendmsg): Likewise.
7859         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
7860         (sendmsg): Likewise.
7861         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7862         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7863         Remove.
7864         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7865         Likewise.
7866         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7867         Undefine.
7868         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7869         Likewise.
7870         * sysdeps/unix/sysv/linux/kernel-features.h
7871         (__ASSUME_SENDMSG_SYSCALL): Define.
7872         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7873         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7874         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7875         Remove.
7876         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7877         Likewise.
7878         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7879         Undefine.
7880         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7881         Likewise.
7882         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7883         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7884         Remove.
7885         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7886         Likewise.
7887         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
7888         Undefine.
7889         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
7890         Likewise.
7891         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7892         (__ASSUME_SENDMSG_SYSCALL): Undefine.
7893         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7894         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7895         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7896         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7897         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7898         (__ASSUME_SENDMSG_SYSCALL): Likewise.
7899         (__ASSUME_RECVMSG_SYSCALL): Likewise.
7901 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7903         * stdlib/gen-tst-strtod-round.c: Add backslash to
7904         compile command in comment.
7905         (printfp): Remove the literal suffix, and define an infinite
7906         value as INF to avoid expansion clash with INFINITY.
7907         (round_str): Remove the literal suffix.
7908         (round_for_all): Likewise, remove the now duplicate ldbl-64
7909         entry, and remove some magic constants.
7911         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
7912         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
7913         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
7914         (_CONCAT): New macro.
7915         (CONCAT): Likewise.
7916         (CHOOSE_ld): Likewise.
7917         (CHOOSE_f): Likewise.
7918         (CHOOSE_d): Likewise.
7919         (FTYPE_MEMBER): Likewise.
7920         (BOOL_MEMBER): Likewise.
7921         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
7922         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
7923         (_XNTRY): Likewise.
7924         (XNTRY): Likewise.
7925         (_ENTRY): Likewise.
7926         (ENTRY): Likewise.
7927         (test_exactness): Generate members via macro.
7928         (test_results): Likewise.
7929         (test): Update members.
7930         (TEST): Redefine using new macros.
7931         (INF): New macro.
7932         (fetestmodes): New structure.
7933         (do_test): Refactor to be type generic.
7934         (test_in_one_mode): Refactor duplicate code into
7935         (GEN_ONE_TEST): New macro.
7937         * stdlib/tst-strtod-round-data.h: Regenerate.
7939         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
7940         Extend to pass additional arbitrary parameters to
7941         generators.
7943 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
7945         [BZ #15479]
7946         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
7947         floating-point state after first floating-point operation on
7948         input.  Restore full floating-point state instead of just rounding
7949         mode.
7950         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
7951         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
7952         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
7953         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
7954         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
7956         [BZ #15479]
7957         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
7958         floating-point state after first floating-point operation on
7959         input.  Restore full floating-point state instead of just rounding
7960         mode.
7961         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
7962         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
7963         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
7964         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
7965         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
7967 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7969         [BZ #19727]
7970         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
7971         valid high surrogate.
7972         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
7973         of an utf16 surrogate.
7974         * iconv/gconv_simple.c (BODY): Likewise.
7975         * iconvdata/bug-iconv12.c: New file.
7976         * iconvdata/Makefile (tests): Add bug-iconv12.
7978 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7980         [BZ #19726]
7981         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
7982         outptrp in case of an illegal input.
7983         * iconv/tst-iconv6.c: New file.
7984         * iconv/Makefile (tests): Add tst-iconv6.
7986 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7988         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
7989         an error in case of a value in range of an utf16 low surrogate.
7991 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7993         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
7994         an error in case of a value in range of an utf16 low surrogate.
7996 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
7998         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
7999         Move to ...
8000         * sysdeps/s390/Makefile: ... here.
8001         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
8002         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
8003         (BRANCH_ON_COUNT): New define.
8004         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
8005         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
8006         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
8007         run on s390-32, too.
8008         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
8009         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
8010         run on s390-32, too.
8011         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
8012         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
8013         run on s390-32, too.
8015 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8017         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
8018         etf3eh or new vector loop-variant.
8020 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8022         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
8023         etf3eh or new vector loop-variant.
8025 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8027         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
8028         or new vector loop-variant.
8030 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8032         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
8033         Rename to TR_LOOP and usage of tr instead of troo instruction.
8035 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8037         * sysdeps/s390/multiarch/gconv_simple.c: New File.
8038         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
8040 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8042         * sysdeps/s390/multiarch/8bit-generic.c: New File.
8043         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
8044         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
8045         New override define.
8046         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
8048 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8050         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
8051         * sysdeps/s390/configure.ac: Add test for S390 vector register
8052         support in gcc.
8053         * sysdeps/s390/configure: Regenerated.
8055 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
8057         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
8058         Install file from $(objpfx)gconv-modules.
8059         ($(objpfx)gconv-modules): Concatenate architecture specific file
8060         in variable sysdeps-gconv-modules and gconv-modules in src dir.
8061         * sysdeps/s390/gconv-modules: New file.
8062         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
8063         Deleted.
8064         ($(objpfx)gconv-modules-s390): Deleted.
8065         (sysdeps-gconv-modules): New variable.
8067 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8069         [BZ #15479]
8070         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
8071         of immediate operand to rounding instruction.
8072         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
8073         Likewise.
8074         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
8075         Likewise.
8076         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
8077         Likewise.
8079 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8081         * math/libm-test.inc (MIN_EXP): Directly define as
8082         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
8084 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8086         * math/libm-test.inc (MANT_DIG): Directly define as
8087         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
8089 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8091         * stdlib/gen-tst-strtod-round.c (main):
8092           Change usage to more closely match the generated
8093           output.  Add usage and compilation instructions.
8094           (string_to_fp): Add and use FILE* parameter as
8095           output target.
8096           (print_fp): Likewise.
8097           (round_str): Likewise.
8098           (round_for_all): Likewise.
8099         * stdlib/tst-strtod-round.c (tests): Move into
8100         * stdlib/tst-strtod-round-data.h: New file.
8102 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
8104         [BZ #15479]
8105         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
8106         (__round): Do not force "inexact" exception.
8107         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
8108         variable.
8109         (__round): Do not force "inexact" exception.
8110         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
8111         (__roundf): Do not force "inexact" exception.
8112         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
8113         (__roundl): Do not force "inexact" exception.
8114         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
8115         (__roundl): Do not force "inexact" exception.
8116         * math/libm-test.inc (round_test_data): Do not allow spurious
8117         "inexact" exceptions.
8119         [BZ #15479]
8120         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
8121         exception in comment.
8122         (huge): Remove variable.
8123         (__floor): Do not force "inexact" exception.
8124         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
8125         "inexact" exception in comment.
8126         (huge): Remove variable.
8127         (__floor): Do not force "inexact" exception.
8128         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
8129         exception in comment.
8130         (huge): Remove variable.
8131         (__floorf): Do not force "inexact" exception.
8132         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
8133         exception in comment.
8134         (huge): Remove variable.
8135         (__floorl): Do not force "inexact" exception.
8137         [BZ #15479]
8138         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
8139         exception in comment.
8140         (huge): Remove variable.
8141         (__ceil): Do not force "inexact" exception.
8142         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
8143         "inexact" exception in comment.
8144         (huge): Remove variable.
8145         (__ceil): Do not force "inexact" exception.
8146         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
8147         (__ceilf): Do not force "inexact" exception.
8148         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
8149         exception in comment.
8150         (huge): Remove variable.
8151         (__ceill): Do not force "inexact" exception.
8153 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
8155         * config.h.in (BIND_NOW): New.
8156         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
8157         * configure: Regenerated.
8158         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
8159         indirect branch via the GOT slot.
8161 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8163         [BZ #19765]
8164         * sysdeps/s390/mempcpy.S: New File.
8165         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
8166         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
8167         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8168         Add mempcpy variants.
8169         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
8170         (memcpy): Adjust to be usable from mempcpy entry point.
8171         (__memcpy_mvcle): Likewise.
8172         * sysdeps/s390/s390-64/memcpy.S: Likewise.
8173         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
8174         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
8175         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
8176         (__memcpy_z10): Likewise.
8177         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8179 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8181         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
8182         Remove __GI_ symbol.
8183         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
8184         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
8185         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
8186         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
8187         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
8188         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
8190 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8192         * sysdeps/s390/s390-64/memcpy.S (memcpy):
8193         Use cghi instead of chi to compare 64bit value.
8195 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8197         * sysdeps/s390/s390-32/memcpy.S (memcpy):
8198         Jump to 1MB check before executing mvc-loop.
8200 2016-05-24  Florian Weimer  <fweimer@redhat.com>
8202         [BZ #6527]
8203         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
8204         unconditionally.
8205         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
8207 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8209         * stdlib/tst-strtod6.c (do_test): Use new type generic
8210         invocation of the test function.
8211         (test): Refactor into ...
8212         (TEST_STRTOD): New macro base function.
8214 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8216         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
8217         (TEST_STRTOD): New macro.
8218         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
8220 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8222         * stdlib/tst-strtod6.c (do_test): Use new type generic
8223         invocation of the test function.
8224         (test): Refactor into ...
8225         (TEST_STRTOD): New macro base function.
8227 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8229         CVE-2016-4429
8230         [BZ #20112]
8231         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
8232         payload.
8234 2016-05-23  Florian Weimer  <fweimer@redhat.com>
8236         [BZ #20111]
8237         * bits/sockaddr.h (_SS_SIZE): Define.
8238         * bits/socket.h (_SS_SIZE): Remove.
8239         (_SS_PADSIZE): Adjust to account for all padding.
8240         (struct sockaddr_storage): Update comment.  Avoid implicit
8241         padding.
8242         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
8243         (_SS_PADSIZE): Adjust to account for all padding.
8244         (struct sockaddr_storage): Update comment.  Avoid implicit
8245         padding.
8246         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
8247         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
8248         (_SS_PADSIZE): Adjust to account for all padding.
8249         (struct sockaddr_storage): Update comment.  Avoid implicit
8250         padding.
8251         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
8252         __SS_SIZE is 126 in this version.
8253         * inet/tst-sockaddr.c: New file.
8254         * inet/Makefile (tests): Add tst-sockaddr.c
8255         (tst-sockaddr.c): Compile with non-strict aliasing.
8257 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
8259         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
8260         [XPG3 || XPG4].
8261         (NL_ARGMAX): Also expect for [XPG3].
8262         (NL_LANGMAX): Likewise.
8263         (NL_MSGMAX): Likewise.
8264         (NL_NMAX): Likewise.
8265         (NL_SETMAX): Likewise.
8266         (NL_TEXTMAX): Likewise.
8267         (NZERO): Likewise.
8268         (TMP_MAX): Likewise.
8269         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
8270         variable.
8272         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
8273         (PF_MAX): Update value.
8274         (AF_KCM): New macro.
8275         (SOL_NETBEUI): Likewise.
8276         (SOL_LLC): Likewise.
8277         (SOL_DCCP): Likewise.
8278         (SOL_NETLINK): Likewise.
8279         (SOL_TIPC): Likewise.
8280         (SOL_RXRPC): Likewise.
8281         (SOL_PPPOL2TP): Likewise.
8282         (SOL_BLUETOOTH): Likewise.
8283         (SOL_PNPIPE): Likewise.
8284         (SOL_RDS): Likewise.
8285         (SOL_IUCV): Likewise.
8286         (SOL_CAIF): Likewise.
8287         (SOL_ALG): Likewise.
8288         (SOL_NFC): Likewise.
8289         (SOL_KCM): Likewise.
8290         (MSG_BATCH): New enum value and macro.
8292 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
8294         [BZ #18185]
8295         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
8296         sharing L2 cache to 2 for Knights Landing.
8298 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
8300         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
8301         (FTW_DP): Do not expect for [XPG3 || XPG4].
8302         (FTW_SL): Do not expect for [XPG3].
8303         (FTW_SLN): Likewise.
8304         (FTW_PHYS): Likewise.
8305         (FTW_MOUNT): Likewise.
8306         (FTW_DEPTH): Likewise.
8307         (FTW_CHDIR): Likewise.
8308         (nftw): Likewise.
8309         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
8310         variable.
8312 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8314         * manual/errno.texi: Fix various typos & grammar errors.
8316 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
8318         * manual/intro.texi: Fix duplicated typo.
8320 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8322         [BZ #13304]
8323         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
8324         <float.h>, <math_private.h> and <stdlib.h>.
8325         (add_split): New function.
8326         (mul_split): Likewise.
8327         (ext_val): New typedef.
8328         (store_ext_val): New function.
8329         (mul_ext_val): New function.
8330         (compare): New function.
8331         (add_split_ext): New function.
8332         (__fmal): After checking for Inf, NaN and zero, compute result as
8333         an exact sum of scaled double values in round-to-nearest before
8334         adding those up and adjusting for other rounding modes.
8335         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
8336         tests of fma.
8337         * math/auto-libm-test-out: Regenerated.
8339 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8341         [BZ #20119]
8342         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
8343         processor level type mask for CPUID with EAX == 11.
8345 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8347         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
8348         logical threads if the HTT bit is 0.
8349         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
8350         (index_cpu_HTT): Likewise.
8351         (reg_HTT): Likewise.
8353 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
8355         [BZ #20115]
8356         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
8357         Remove alignments on jump targets.
8359 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
8361         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
8362         (getpwent): Likewise.
8363         (setpwent): Likewise.
8364         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
8365         variable.
8367         * conform/data/search.h-data (insque): Do not expect for [XPG3].
8368         (remque): Likewise.
8369         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
8370         variable.
8372 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8374         * math/libm-test.inc: Update comment not to refer to signs of NaNs
8375         not being tested.
8377 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8379         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8380         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
8381         call.
8382         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8383         (__condvar_cleanup1): Likewise.
8385 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8387         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
8388         New
8389         (__pthread_unwind): Renamed to ...
8390         (PTHREAD_UNWIND): This.
8391         (__pthread_enable_asynccancel): Replace
8392         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
8394 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
8396         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
8397         (CLONE_NEWCGROUP): New macro.
8399         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
8400         (Q_GETNEXTQUOTA): New macro.
8402 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
8404         [BZ #19907]
8405         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
8406         buffer updated by the previous run.
8407         * string/test-memcpy.c (do_one_test): Likewise.
8408         * benchtests/bench-memmove.c (do_one_test): Add a comment.
8409         * string/test-memmove.c (do_one_test): Likewise.
8411 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
8413         [BZ #20094]
8414         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
8415         not [__USE_XOPEN].
8416         (unlockpt): Likewise.
8417         (ptsname): Likewise.
8418         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
8419         variable.
8421         [BZ #20076]
8422         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
8423         instead of [__USE_UNIX98].
8424         (S_ISSOCK): Likewise.
8425         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
8426         variable.
8428         [BZ #20074]
8429         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
8430         [__USE_POSIX].
8431         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
8432         variable.
8434         [BZ #20051]
8435         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
8436         (ttyslot): Do not declare.
8437         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
8438         (ttyslot): New prototype.
8439         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
8440         variable.
8441         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
8443 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
8445         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
8447 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8449         Fix race condition in tst-mallocfork2, use fewer resources.
8450         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
8451         to current process group.
8452         (signal_sender): Yield in the non-sleeping case.
8454 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
8456         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
8457         (ecvt): Likewise.
8458         (fcvt): Likewise.
8459         (gcvt): Likewise.
8460         (getsubopt): Likewise.
8461         (grantpt): Likewise.
8462         (initstate): Likewise.
8463         (l64a): Likewise.
8464         (mktemp): Likewise.
8465         (mkstemp): Likewise.
8466         (ptsname): Likewise.
8467         (random): Likewise.
8468         (realpath): Likewise.
8469         (setstate): Likewise.
8470         (srandom): Likewise.
8471         (ttyslot): Likewise.
8472         (unlockpt): Likewise.
8473         (valloc): Likewise.
8475         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
8476         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
8477         variable.
8479 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8481         [BZ #20072]
8482         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
8483         init_cpu_features only if SHARED is defined.
8484         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
8486 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
8488         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
8489         non-inclusive caches on Intel processors.
8491 2016-05-13  Florian Weimer  <fweimer@redhat.com>
8493         * malloc/malloc.c (dumped_main_arena_start)
8494         (dumped_main_arena_end): New variables.
8495         (DUMPED_MAIN_ARENA_CHUNK): New macro.
8496         (do_check_chunk): Skip dumped fake mmapped chunks.
8497         (munmap_chunk): Likewise.
8498         (__libc_free): Do not adjust statistics for fake mmapped chunks.
8499         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
8500         mmapped chunks.
8501         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
8502         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
8503         and dumped_main_arena_end to cover the dumped heap.
8505 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
8507         * conform/data/time.h-data (getdate_err): Do not expect for
8508         [XPG3].
8509         (getdate): Likewise.
8510         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
8511         variable.
8513         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
8514         (F_ULOCK): Likewise.
8515         (F_TEST): Likewise.
8516         (F_TLOCK): Likewise.
8517         (useconds_t): Likewise.
8518         (intptr_t): Do not expect for [XPG3] or [XPG4].
8519         (brk): Do not expect for [XPG3]
8520         (fchown): Likewise.
8521         (fchdir): Likewise.
8522         (ftruncate): Likewise.
8523         (getdtablesize): Likewise.
8524         (gethostid): Likewise.
8525         (getpagesize): Likewise.
8526         (getpgid): Likewise.
8527         (getsid): Likewise.
8528         (getwd): Likewise.
8529         (lchown): Likewise.
8530         (lockf): Likewise.
8531         (readlink): Likewise.
8532         (sbrk): Likewise.
8533         (setpgrp): Likewise.
8534         (setregid): Likewise.
8535         (setreuid): Likewise.
8536         (symlink): Likewise.
8537         (sync): Likewise.
8538         (truncate): Likewise.
8539         (ualarm): Likewise.
8540         (usleep): Likewise.
8541         (vfork): Likewise.
8542         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
8543         variable.
8545         [BZ #20054]
8546         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
8547         not [__USE_UNIX98].
8548         * conform/data/unistd.h-data (gethostname): Do not expect for
8549         [XPG3].
8551         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
8552         [!POSIX] (S_IFBLK): Likewise.
8553         [!POSIX] (S_IFCHR): Likewise.
8554         [!POSIX] (S_IFIFO): Likewise.
8555         [!POSIX] (S_IFREG): Likewise.
8556         [!POSIX] (S_IFDIR): Likewise.
8557         [!POSIX] (S_IFLNK): Likewise.
8558         [!POSIX] (S_IFSOCK): Likewise.
8559         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
8560         variable.
8561         (test-xfail-XPG4/fcntl.h/conform): Likewise.
8563 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
8565         * sysdeps/aarch64/memset.S (__memset):
8566         Rewrite of optimized memset.
8568 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8570         [BZ #19703]
8571         Partially async-signal-safe fork for single-threaded processes.
8572         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
8573         variable.  Do not acquire and reset/release malloc and libio locks
8574         in single-threaded processes.
8575         * malloc/tst-mallocfork2.c: New file.
8576         * malloc/Makefile (tests): Add it.
8578 2016-05-12  Florian Weimer  <fweimer@redhat.com>
8580         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
8581         argument.  Use scratch buffer instead of extend_alloca.
8582         (gethosts): Use scratch buffer instead of extend_alloca.
8583         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
8584         extend_alloca.
8585         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
8587 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
8589         [BZ #20055]
8590         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
8591         instead of [__USE_UNIX98].
8592         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
8593         [__USE_UNIX98].
8594         * conform/data/termios.h-data (tcgetsid): Do not expect for
8595         [XPG3].
8596         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
8597         variable.
8598         (test-xfail-XPG4/termios.h/conform): Likewise.
8600 2016-05-11  Florian Weimer  <fweimer@redhat.com>
8602         Do not use mcheck in localedef.
8603         * locale/programs/localedef.c (turn_on_mcheck)
8604         (__malloc_initialize_hook): Remove.
8606 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8608         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
8609         * sysdeps/s390/s390-64/Makefile: Likewise.
8611 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
8613         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
8614         Remove ifunc-defines.sym.
8615         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
8616         Likewise.
8617         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
8618         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
8619         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
8620         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
8621         rtld-global-offsets.sym.
8622         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
8623         * sysdeps/x86/cpu-features-offsets.sym: This.
8624         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
8625         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
8627 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
8629         [BZ #20073]
8630         * io/sys/stat.h (fchmod): Declare for
8631         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
8632         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
8633         variable.
8635         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
8636         [XPG3] (S_IFSOCK): Likewise.
8637         [XPG3] (S_ISVTX): Likewise.
8638         [XPG3] (S_ISLNK): Likewise.
8639         [XPG3] (S_ISSOCK): Likewise.
8640         [XPG3] (fchmod): Likewise.
8641         [XPG3] (lstat): Likewise.
8642         [XPG3] (mknod): Likewise.
8644         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
8645         [XPG3].  Expect type long and XFAIL for [XPG4].
8646         (st_blocks): Likewise.
8648         [BZ #20044]
8649         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
8650         (pthread_atfork): New prototype.
8651         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
8652         variable.
8654         [BZ #20043]
8655         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
8656         prototype.
8658 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8660         [BZ #20017]
8661         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
8662         gmtime.
8664 2016-05-10  Florian Weimer  <fweimer@redhat.com>
8666         [BZ #19994]
8667         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
8668         flag in _res.options.
8670 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
8672         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
8673         [XPG3 || XPG4].
8674         (blksize_t): Likewise.
8675         (clockid_t): Likewise.
8676         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
8677         variable.
8678         (test-xfail-XPG4/sys/types.h/conform): Likewise.
8680 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
8682         * sysdeps/unix/sysv/linux/s390/init-first.c:
8683         Add VDSO_SYMBOL(getcpu).
8684         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
8685         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
8686         Add VDSO_SYMBOL(getcpu).
8687         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
8688         New define HAVE_GETCPU_VSYSCALL.
8689         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8691 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
8693         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
8694         instead of <sysdeps/x86_64/cacheinfo.c>.
8695         * sysdeps/x86_64/cacheinfo.c: Moved to ...
8696         * sysdeps/x86/cacheinfo.c: Here.
8698 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8700         * malloc/malloc-internal.h: Adjust header file guard.
8702 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8704         [BZ #19787]
8705         * inet/getnameinfo.c (check_sprintf_result): New function.
8706         (CHECKED_SNPRINTF): New macro.
8707         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
8708         to the host buffer.
8709         (gni_host_local): Use checked_copy to copy the host name.
8710         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
8711         (gni_serv_local): Use checked_copy to copy the service name.
8712         (getnameinfo): Remove unnecessary truncation of result buffers.
8714 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8716         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
8717         in case of inet_ntop failure.
8719 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8721         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
8722         avoid long lines.
8723         (gni_host_inet_numeric): Likewise.  Reduce scope of local
8724         variables.
8725         (gni_host_inet, gni_host_local): Add comment.
8726         (gni_host): Add comment.  Use temporary to avoid long lines.
8728 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8730         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
8731         registers specifiers where general purpose registers specifiers should
8732         have been used.
8734 2016-05-04  Florian Weimer  <fweimer@redhat.com>
8736         [BZ #19779]
8737         CVE-2016-1234
8738         Avoid copying names of directory entries.
8739         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
8740         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
8741         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
8742         (struct readdir_result): New type.
8743         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
8744         (GL_READDIR): New macros.
8745         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
8746         (convert_dirent, convert_dirent64): New functions.
8747         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
8748         convert_dirent64.  Adjust references to the readdir result.
8749         * sysdeps/unix/sysv/linux/i386/glob64.c:
8750         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
8751         * posix/bug-glob2.c (LONG_NAME): Define.
8752         (filesystem): Add LONG_NAME.
8753         (my_DIR): Increase the size of room_for_dirent.
8755 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
8757         [BZ #20041]
8758         * misc/sys/select.h (__need_timespec): Only define if
8759         [__USE_XOPEN2K].
8760         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
8761         variable.
8762         (test-xfail-XPG4/utmpx.h/conform): Likewise.
8763         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
8764         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
8766 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8767             Segher Boessenkool  <segher@gcc.gnu.org>
8769         [BZ #20004]
8770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
8771         (__novec_swapcontext): Add missing load.
8773 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
8775         [BZ #20023]
8776         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
8777         <time.h>.
8778         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
8779         variable.
8780         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
8782 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
8785         flags CLONE_VM compare.
8787 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8789         [BZ #20031]
8790         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
8791         completely empty.
8793 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8795         [BZ #19573]
8796         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
8797         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
8798         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
8799         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
8800         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
8801         (hesiod_free_list): Mark as hidden.
8802         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
8803         res_set, res_get.
8804         * hesiod/hesiod.c: Remove unnecessary forward declarations.
8805         (init, __hesiod_res_get, __hesiod_res_set): Remove.
8806         (hesiod_init): Remove obsolete res_ninit call.
8807         (hesiod_end): Do not free resolver state.  Do not invoke callback.
8808         (hesiod_bind): Do not call init.
8809         (get_txt_records): Use res_mkquery, res_send instead of
8810         res_nmkquery, res_nsend.
8811         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
8812         instead of _nss_hesiod_init.
8813         (_nss_hesiod_initgroups_dyn): Likewise.
8814         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
8815         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
8816         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
8818 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8820         * hesiod/hesiod_p.h (DEF_RHS): Remove.
8821         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
8823 2016-05-02  Florian Weimer  <fweimer@redhat.com>
8825         * hesiod/hesiod.h: Remove RCS keyword.
8826         * hesiod/hesiod_p.h: Likewise.
8828         * hesiod/hesiod.c: Likewise.
8830 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
8832         [BZ #12450]
8833         * locale/iso-639.def: Add Samogitian/sgs.
8835 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
8837         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
8839         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
8841 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
8842             Carlos O'Donell  <carlos@redhat.com>
8844         [BZ #19072]
8845         * grp/Makefile (headers): Add grp-merge.h
8846         (routines): Add grp-merge.
8847         * grp/getgrgid_r.c: Include grp-merge.h.
8848         (DEEPCOPY_FN): Define.
8849         (MERGE_FN): Define.
8850         * grp/getgrname_r.c: Include grp-merge.h.
8851         (DEEPCOPY_FN): Define.
8852         (MERGE_FN): Define.
8853         * grp/grp-merge.c: New file.
8854         * grp/grp-merge.h: New file.
8855         * include/grp-merge.h: New file.
8856         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
8857         __copy_grp@GLIBC_PRIVATE.
8858         * manual/nss.texi (Actions in the NSS configuration): Describe
8859         return, continue, and merge.
8860         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
8861         (DEEPCOPY_FN): Define.
8862         (MERGE_FN): Define.
8863         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
8864         (DEEPCOPY_FN): Define.
8865         (MERGE_FN): Define.
8866         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
8867         [!MERGE_FN]: Define __merge_einval.
8868         (CHECK_MERGE): Define.
8869         (REENTRANT_NAME): Process merge if do_merge is true.
8870         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
8871         (__nss_getent_r): Likewise.
8872         * nss/nsswitch.c (nss_parse_service_list): Likewise.
8873         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
8875 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8877         [BZ #20012]
8878         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
8879         length to calculate the buffer to read.
8880         (fmemopen_write): Set the buffer position based on bytes written.
8881         (fmemopen_seek): Return EINVAL for invalid whence modes.
8883         [BZ #19957]
8884         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
8885         tst-getpid2.
8886         (test): Add tst-clone2.
8887         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
8888         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
8889         pid/tid fields for CLONE_VM.
8890         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
8891         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
8892         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
8893         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
8894         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
8895         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
8896         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
8897         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
8898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
8899         Likewise.
8900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8901         Likewise.
8902         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
8903         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
8904         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
8905         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
8906         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
8907         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
8908         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
8909         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
8911 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8913         [BZ #19642]
8914         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
8915         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
8916         (gni_serv_local, gni_serv): New functions extracted from
8917         getnameinfo.
8918         (getnameinfo): Call gni_host and gni_serv to perform the
8919         processing.  Always free scratch buffer.
8921 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8923         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
8924         remaining bytes in the dest string, with zeros.
8926 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8928         [BZ #20010]
8929         CVE-2016-3706
8930         * sysdeps/posix/getaddrinfo.c
8931         (convert_hostent_to_gaih_addrtuple): New function.
8932         (gethosts): Call convert_hostent_to_gaih_addrtuple.
8933         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
8934         AF_INET data.
8936 2016-04-29  Florian Weimer  <fweimer@redhat.com>
8938         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
8939         callback function gl_readdir.
8940         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
8941         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
8942         (glob_in_dir): Remove len.  Use strdup instead of malloc and
8943         memcpy to copy the name.
8944         * manual/pattern.texi (Calling Glob): Document requirements for
8945         implementations of the gl_readdir callback function.
8946         * manual/examples/mkdirent.c: New example.
8947         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
8948         per the manual guidance.
8949         * posix/tst-gnuglob.c (my_readdir): Likewise.
8951 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
8953         [BZ #20014]
8954         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
8955         not [__USE_POSIX].
8956         (getchar_unlocked): Likewise.
8957         (putc_unlocked): Likewise.
8958         (putchar_unlocked): Likewise.
8959         (flockfile): Likewise.
8960         (ftrylockfile): Likewise.
8961         (funlockfile): Likewise.
8962         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
8963         variable.
8964         (test-xfail-XPG4/stdio.h/conform): Likewise.
8966         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
8967         Expect constant.
8968         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
8969         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
8970         variable.
8971         (test-xfail-XPG4/langinfo.h/conform): Likewise.
8972         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
8974         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
8975         [__USE_LARGEFILE64] (off64_t): Likewise.
8976         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
8977         variable.
8979 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8981         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
8983 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8985         * resolv/inet_addr.c: Reindent preprocessor conditionals.
8986         * resolv/res_init.c: Likewise.
8987         * resolv/res_mkquery.c: Likewise.
8989 2016-04-28  Florian Weimer  <fweimer@redhat.com>
8991         * resolv/res_init.c (isascii): Do not define.  Use definition in
8992         <ctype.h>.
8993         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
8994         (LOG_AUTH): Remove.
8995         (SPRINTF): Remove, adjust caller.
8996         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
8998 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9000         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
9001         SUNSECURITY conditional.
9002         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
9004 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9006         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
9007         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
9008         Remove BSD-related preprocessor conditionals.
9009         * conf/portability.h: Remove.
9011 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9013         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
9014         * resolv/res_data.c: Likewise.
9016 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9018         * resolv/res_comp.c: Remove code conditional on __ultrix__.
9019         * resolv/res_data.c: Remove code conditional on ultrix.
9021 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9023         * resolv/res_init.c (RFC1535): Do not define.  Remove
9024         RFC1535 preprocessor conditionals.
9025         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
9026         because there configuration options which make the resolver
9027         behavior different.
9029 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9031         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
9032         RESOLVSORT preprocessor conditionals.
9033         * resolv/nss_dns/dns-host.c: Likewise.
9034         * resolv/res_init.c: Likewise.
9036 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9038         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
9039         is never defined.
9041 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9043         * inet/inet_lnaof.c: Remove SCSS keyword.
9044         * inet/inet_mkadr.c: Likewise.
9045         * inet/inet_net.c: Likewise.
9046         * inet/inet_netof.c: Likewise.
9047         * inet/rcmd.c: Likewise.
9048         * inet/rexec.c: Likewise.
9049         * inet/ruserpass.c: Likewise.
9051 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9053         * resolv/inet_addr.c: Remove _LIBC conditionals.
9054         * resolv/res_data.c: Likewise.
9055         * resolv/res_init.c: Likewise.
9056         * resolv/res_mkquery.c: Likewise.
9057         * resolv/res_libc.c: Update comment.
9058         * resolv/README: Update.
9060 2016-04-28  Florian Weimer  <fweimer@redhat.com>
9062         * resolv/gethnamaddr.c: Remove SCSS keyword.
9063         * resolv/herror.c: Likewise.
9064         * resolv/inet_addr.c: Likewise.
9065         * resolv/inet_net_ntop.c: Likewise.
9066         * resolv/inet_net_pton.c: Likewise.
9067         * resolv/inet_neta.c: Likewise.
9068         * resolv/inet_ntop.c: Likewise.
9069         * resolv/inet_pton.c: Likewise.
9070         * resolv/ns_date.c: Remove RCS keyword.
9071         * resolv/ns_name.c: Likewise.
9072         * resolv/ns_netint.c: Likewise.
9073         * resolv/ns_parse.c: Likewise.
9074         * resolv/ns_print.c: Likewise.
9075         * resolv/ns_samedomain.c: Likewise.
9076         * resolv/ns_ttl.c: Likewise.
9077         * resolv/nsap_addr.c: Likewise.
9078         * resolv/res_comp.c: Remove SCSS and RCS keyword.
9079         * resolv/res_data.c: Remove RCS keyword.
9080         * resolv/res_debug.c: Remove SCSS and RCS keyword.
9081         * resolv/res_init.c: Likewise.
9082         * resolv/res_mkquery.c: Likewise.
9083         * resolv/res_query.c: Likewise.
9084         * resolv/res_send.c: Likewise.
9086 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9088         * conform/data/stdio.h-data (fdopen): Expect also for
9089         [XPG3 || XPG4].
9091         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
9092         (fseeko): Likewise.
9093         (ftello): Likewise.
9094         (ftrylockfile): Likewise.
9095         (funlockfile): Likewise.
9096         (getc_unlocked): Likewise.
9097         (getchar_unlocked): Likewise.
9098         (putc_unlocked): Likewise.
9099         (putchar_unlocked): Likewise.
9101 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9103         [BZ #19868]
9104         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
9105         DNS packet syntax checks (which were not needed before).  Skip
9106         over non-PTR records.
9108 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9110         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
9111         definition.  Include <stddef.h> instead.
9113 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9115         [BZ #19831]
9116         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
9117         function.
9118         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
9119         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
9121 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9123         [BZ #19862]
9124         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
9125         (getanswer_r): Do not call syslog.
9126         (gaih_getanswer_slice): Likewise.
9127         * resolv/gethnamaddr.c (AskedForGot): Remove.
9128         (getanswer): Do not call syslog.
9129         (gethostbyaddr): Likewise.
9131 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
9133         * conform/data/signal.h-data (union sigval): Expect also if
9134         [XOPEN2K].
9135         (struct sigevent): Likewise.
9136         (SIGEV_NONE): Likewise.
9137         (SIGEV_SIGNAL): Likewise.
9138         (SIGEV_THREAD): Likewise.
9139         (SIGRTMIN): Likewise.
9140         (SIGRTMAX): Likewise.
9141         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
9142         variable.
9143         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
9145 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9147         [BZ #19830]
9148         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
9149         (gaih_getanswer_slice): Likewise.
9150         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
9151         Also check for availability of RR metadata.
9153 2016-04-27  Florian Weimer  <fweimer@redhat.com>
9155         [BZ #19825]
9156         * resolv/res_send.c (send_vc): Remove early *resplen2
9157         initialization.  Set *resplen2 on socket error.  Call
9158         close_and_return_error for other errors.
9160 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
9162         * sysdeps/unix/sysv/linux/netiucv/iucv.h
9163         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
9164         (SCM_IUCV_TRGCLS): New define.
9166 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9168         [BZ #20005]
9169         * libio/fmemopen.c (fmemopen_write): Update internal position after
9170         write.
9171         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
9172         * stdio-common/tst-fmemopen4.c: New file..
9174 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
9176         [BZ #19996]
9177         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
9178         not [__USE_XOPEN2K].
9179         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
9180         variable.
9182         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
9183         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
9184         variable.
9186         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
9187         [__USE_XOPEN2K8].
9188         [__USE_LARGEFILE64] (off64_t): Likewise.
9189         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
9190         variable.
9192 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
9194         [BZ #19989]
9195         * libio/stdio.h (cuserid): Do not declare if
9196         [__USE_XOPEN2K && !__USE_GNU].
9197         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
9198         variable.
9200 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9202         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9203         (sysdep_routines): Add P8 and PPC64 strcspn targets.
9204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9205         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9206         ifunc'ed strcspn.
9207         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9208         [EALIGN]: Removed.
9209         [END]: Likewise
9210         [STRSPN]: Define instead of the above to control symbol name.
9211         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
9212         New file.
9213         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
9214         Likewise.
9215         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
9216         Likewise.
9217         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
9218         Likewise.
9219         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9220         [INITIAL_MASK]: New macro.
9221         [STRCSPN]: Likewise.
9222         [UPDATE_MASK]: Likewise.
9223         [USE_AS_STRCSPN]: Lisewise.
9225 2016-04-25  Florian Weimer  <fweimer@redhat.com>
9227         [BZ #19931]
9228         * stdio-common/tst-vfprintf-width-prec.c: New file.
9229         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
9230         (tests-special): Add tst-vfprintf-width-prec-mem.out.
9231         (generated): Add mtrace-related files.
9232         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
9233         (tst-%-mem.out): New pattern rule, replaces
9234         tst-printf-bz18872-mem.out.
9235         * stdio-common/vfprintf.c (vfprintf): When handling a precision
9236         specifier, deallocate any previously allocated work buffer.
9238 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
9240         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
9241         Add nop before __startcontext, add explaining comments.
9243 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
9245         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
9246         any more. Notably since IPV6_PKTINFO has been reintroduced with a
9247         completely different API.
9249         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
9250         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
9251         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
9252         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
9253         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
9254         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
9255         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
9256         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
9257         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
9258         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
9260 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
9262         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
9264 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
9266         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
9267         when it is the default of 0.
9269 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9271         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
9272         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9273         (sysdep_routines): Add new strcasestr targets.
9274         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9275         (__libc_ifunc_impl_list): Likewise.
9276         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
9277         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
9278         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
9279         * sysdeps/powerpc/powerpc64/power8/Makefile:
9280         New file to add strcasestr-ppc64 to sysdep_routines.
9281         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
9282         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
9284 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
9286         * benchtests/Makefile (wcsmbs-benchset): Include only for
9287         native builds and runs.
9288         (LOCALES): Likewise.
9289         (bench-build): Build timing-type here instead of the bench
9290         target.  Generate locale only for native builds.
9291         * benchtests/README: Add note for cross-building.
9293         * benchtests/Makefile (bench-clean): Clean up extra-objs.
9295         * benchtests/README: Update README to include instructions on
9296         using bench-build.
9298         * Makefile.in (bench-build): New target.
9299         * Rules (PHONY): Add bench-build target.
9300         * benchtests/Makefile (bench): Depend on bench-build.
9301         (bench-build): New target.
9303 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9305         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
9306         profil_reply_port.
9307         (profile_waiter): Do not initialize profil_reply_port.
9308         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
9309         frequency instead of tick length in us.
9311 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
9313         [BZ #18712]
9314         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
9315         (__old_mempcpy_small): Likewise.
9316         (__old_strcpy_small): Likewise.
9317         (__old_stpcpy_small): Likewise.
9318         (__old_strpbrk_c2): Fix compat symbol name.
9319         (__old_strpbrk_c3): Likewise.
9320         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
9321         (__mempcpy_small): Remove.
9322         (__strcpy_small): Remove.
9323         (__stpcpy_small): Remove.
9325 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
9327         [BZ #19400]
9328         * locale/iso-639.def: Add the Talossan/tzl language.
9330 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9332         [BZ #16983]
9333         * locale/programs/ld-address.c (address_finish): Update postal_fmt
9334         comment.  Add "ln" to strchr check on postal_fmt.
9336 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
9338         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
9339         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
9340         tel_dom_fmt.
9342 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9344         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9345         (sysdep_routines): Added __strlen_power8.
9346         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
9347         __strlen_power8 entry.
9348         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
9349         Implementation for POWER8.
9350         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
9351         for __strlen_power8.
9352         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
9353         Implementation for POWER8.
9355 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
9357         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
9359 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
9361         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
9362         Goldmont and Airmont processors.
9364 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
9366         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
9367         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
9368         (__STRING2_SMALL_GET32): Remove.
9369         (memset): Remove.
9370         (__memset_1): Remove.
9371         (__memset_gc): Remove.
9372         (__mempcpy): Remove.
9373         (mempcpy): Remove.
9374         (__mempcpy_args): Remove.
9375         (strchr): Remove.
9376         (strcpy): Remove.
9377         (strcpy_args): Remove.
9378         (__stpcpy_args): Remove.
9379         (__strcmp_cc): Remove.
9380         (__strcmp_gc): Remove.
9381         (strstr): Remove.
9383 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
9385         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
9386         * nis/nis_call.c (nis_server_cache_add): Likewise.
9388 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9390         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
9392 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9394         * malloc/arena.c (__malloc_fork_lock_parent)
9395         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
9396         internal_function attribute.
9398 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
9400         * stdio-common/printf_fp.c (__printf_fp_l):
9401         Rename ___printf_fp_l to __printf_fp_l and
9402         remove strong alias. Use libc_hidden_def instead
9403         of ldbl_hidden_def macro.
9405 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9407         Remove malloc hooks from fork handler.  They are no longer needed
9408         because malloc runs right before fork, and no malloc calls from
9409         other fork handlers are not possible anymore.
9410         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
9411         declarations.
9412         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
9413         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
9414         (atfork_recursive_cntr): Remove.
9415         (__malloc_fork_lock_parent): Do not override malloc hooks and
9416         thread_arena.
9417         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
9418         thread_arena.
9419         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
9420         thread_arena instead of save_arena.
9422 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9424         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
9425         (thread_atfork, thread_atfork_static): Remove.
9426         * sysdeps/mach/hurd/malloc-machine.h:
9427         (thread_atfork, thread_atfork_static): Remove.
9429 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9431         [BZ #19431]
9432         Run the malloc fork handler as late as possible to avoid deadlocks.
9433         * malloc/malloc-internal.h: New file.
9434         * malloc/malloc.c: Include it.
9435         * malloc/arena.c (ATFORK_MEM): Remove.
9436         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
9437         Update comment.
9438         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
9439         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
9440         Remove outdated comment.
9441         (ptmalloc_init): Do not call thread_atfork.  Remove
9442         thread_atfork_static.
9443         * malloc/tst-malloc-fork-deadlock.c: New file.
9444         * Makefile (tests): Add tst-malloc-fork-deadlock.
9445         (tst-malloc-fork-deadlock): Link against libpthread.
9446         * manual/memory.texi (Aligned Memory Blocks): Update safety
9447         annotation comments.
9448         * sysdeps/nptl/fork.c (__libc_fork): Call
9449         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
9450         __malloc_fork_unlock_child.
9451         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
9453 2016-04-14  Florian Weimer  <fweimer@redhat.com>
9455         [BZ #19613]
9456         Remove union wait.
9457         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
9458         (w_stopsig, w_stopval): Remove.
9459         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
9460         stat_loc argument.
9461         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
9462         (__WAIT_STATUS_DEFN): Remove.
9463         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9464         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
9465         (wait, wait3, wait4): Use int * for the stat_loc argument.
9466         * posix/wait.c (__wait): Likewise.
9467         * posix/wait3.c (__wait3): Likewise.
9468         * posix/wait4.c (__wait4): Likewise.
9469         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
9470         (__WAIT_STATUS_DEFN): Remove.
9471         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
9472         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
9473         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
9474         argument.
9475         * sysdeps/posix/wait.c (__libc_wait): Likewise.
9476         * sysdeps/posix/wait3.c (__wait3): Likewise.
9477         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
9478         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
9479         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
9480         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
9481         stat_loc argument.
9482         * manual/process.texi (BSD Wait Functions): Remove union wait.
9484 2016-04-13  Andreas Schwab  <schwab@suse.de>
9486         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
9487         (test-extras): Add tst-tlsalign-vars.
9488         * math/Makefile: Wrap long lines.
9489         (libm-vec-test-wrappers): Define.
9490         (test-extras): Add $(libm-vec-test-wrappers).
9491         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
9492         * nss/Makefile (extra-test-objs): Add nss_test1.os.
9493         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
9494         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
9495         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
9496         (extra-test-objs): Add corresponding objects.
9498 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
9500         [BZ #19928]
9501         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
9502         New.
9503         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
9504         times of shared cache size.
9505         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
9506         (VMOVNT): New.
9507         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
9508         (VMOVNT): Likewise.
9509         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
9510         (VMOVNT): Likewise.
9511         (VMOVU): Changed to movups for smaller code sizes.
9512         (VMOVA): Changed to movaps for smaller code sizes.
9513         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
9514         comments.
9515         (PREFETCH): New.
9516         (PREFETCH_SIZE): Likewise.
9517         (PREFETCHED_LOAD_SIZE): Likewise.
9518         (PREFETCH_ONE_SET): Likewise.
9519         Rewrite to use forward and backward loops, which move 4 vector
9520         registers at a time, to support overlapping addresses and use
9521         non temporal store if size is above the threshold and there is
9522         no overlap between destination and source.
9524 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
9526         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
9527         Include dl-vdso.
9528         * sysdeps/unix/sysv/linux/mips/Versions: Add
9529         __vdso_clock_gettime.
9530         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
9531         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
9532         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
9533         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
9534         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
9535         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
9536         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
9537         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
9538         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
9540 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9542         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
9543         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
9544         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9545         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9546         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9547         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9550         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
9551         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
9552         syscalls generation.
9553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9554         [__NR_pwrite64] (__NR_write): Remove define.
9555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9556         [__NR_pwrite64] (__NR_write): Remove define.
9557         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
9558         Remove define.
9559         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
9560         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
9561         Remove define.
9562         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
9563         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
9564         Linux implementation as base.
9565         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9567         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
9568         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
9569         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9570         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
9572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9573         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
9574         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
9575         syscall generation.
9576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9577         [__NR_pread64] (__NR_pread): Remove define.
9578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
9579         [__NR_pread64] (__NR_pread): Likewise.
9580         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
9581         define.
9582         (__libc_pread): Use SYSCALL_LL macro on offset argument.
9583         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
9584         Remove define.
9585         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
9586         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
9587         Linux implementation as base.
9588         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9589         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9590         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9592         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
9593         definition.
9594         (__ALIGNMENT_COUNT): Likewise.
9595         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
9596         (__ALIGNMENT_COUNT): Likewise.
9597         (SYSCALL_LL): New define.
9598         (SYSCALL_LL64): Likewise.
9599         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
9600         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
9601         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
9602         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
9604         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9605         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
9606         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9607         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9608         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9609         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
9611 2016-04-11  Florian Weimer  <fweimer@redhat.com>
9613         [BZ #19865]
9614         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
9615         original buffer before retry.
9617 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9619         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
9620         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
9621         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
9622         GLRO(dl_auxv) list.
9623         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
9624         including <ldsodefs.h>.
9625         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
9627 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
9629         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
9630         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
9631         $(CPPFLAGS).
9633 2016-04-09  Khem Raj  <raj.khem@gmail.com>
9635         [BZ #17950]
9636         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
9637         Add -mfpmath=387.
9639 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
9641         * sysdeps/i386/configure.ac: Change == to = when calling test.
9642         * sysdeps/x86_64/configure.ac: Likewise.
9643         * sysdeps/i386/configure: Regenerated.
9644         * sysdeps/x86_64/configure: Likewise.
9646 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
9648         [BZ #16137]
9649         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
9650         * benchtests/bench-strcoll.c (input_files): Likewise.
9651         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
9652         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
9653         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
9655 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
9657         [BZ #19929]
9658         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
9659         [__USE_XOPEN2K8 && !__USE_GNU].
9660         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
9661         variable.
9663         [BZ #19925]
9664         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
9665         define if [!__USE_MISC && __USE_XOPEN2K].
9666         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
9667         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
9668         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
9669         Likewise.
9670         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
9671         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
9672         variable.
9673         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
9675 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9677         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9678         (sysdep_routines): Add new strspn targets.
9679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9680         (__libc_ifunc_impl_list): Add strspn.
9681         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
9682         New file.
9683         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
9684         Likewise.
9685         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
9686         Likewise.
9687         * sysdeps/powerpc/powerpc64/power8/strspn.S:
9688         Likewise.
9690 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9692         * misc/hsearch_r.c: Include <limits.h>.
9694 2016-04-07  Florian Weimer  <fweimer@redhat.com>
9696         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
9698 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9700         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9701         (MEMCPY_SYMBOL): New.
9702         (MEMPCPY_SYMBOL): Likewise.
9703         (MEMMOVE_CHK_SYMBOL): Likewise.
9704         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
9705         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
9706         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
9707         Provide alias for memcpy in libc.a and ld.so.
9709 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9711         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9712         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
9713         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
9714         Disabled fro now.
9715         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
9716         symbols.  Properly check USE_MULTIARCH on __memset symbols.
9718 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
9720         * benchtests/Makefile (string-benchset): Add memcpy-large,
9721         memmove-large and memset-large.
9722         * benchtests/bench-memcpy-large.c: New file.
9723         * benchtests/bench-memmove-large.c: Likewise.
9724         * benchtests/bench-memmove-large.c: Likewise.
9725         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
9727 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9729         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
9730         32-bit displacement to avoid long nop between instructions.
9732 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
9734         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
9735         a comment on VMOVU and VMOVA.
9737 2016-04-04  Florian Weimer  <fweimer@redhat.com>
9739         [BZ #19633]
9740         Use specified locale for number formatting in strfmon_l.
9741         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
9742         (__nl_lookup_word): New inline functions.
9743         * include/printf.h (__print_fp_l): Declare.
9744         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
9745         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
9746         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
9747         (___printf_fp): New function.
9748         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
9749         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
9750         * stdlib/tst-strfmon_l.c (do_test): New test.
9751         * stdlib/Makefile (tests): Add kt.
9752         (LOCALES): Build additional locales.
9753         (tst-strfmon_l.out): Require locales.
9755 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9757         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
9758         if not in libc.
9759         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9760         Likewise.
9761         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
9762         Likewise.
9763         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9764         Likewise.
9766 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
9768         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9769         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
9770         with unaligned_erms.
9771         (__memmove_erms): Skip if source == destination.
9772         (__memmove_unaligned_erms): Don't check source == destination
9773         first.
9775 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9777         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
9778         bit_arch_Fast_Copy_Backward for Intel Core proessors.
9780 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9782         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
9783         * string/strspn.c (strspn): Likewise.
9785 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9787         * benchtests/bench-memset.c (do_test): Support 64-byte
9788         alignment.
9789         (test_main): Test 64-byte alignment.
9791 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9793         * benchtests/bench-memmove.c (test_main): Test 64-byte
9794         alignment.
9796 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
9798         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
9800 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9802         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
9803         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
9804         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
9806         * string/strpbrk.c (strpbrk): Rewrite function.
9807         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
9808         (__strpbrk_c2): Likewise.
9809         (__strpbrk_c3): Likewise.
9810         * string/string-inlines.c
9811         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
9812         Likewise.
9813         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
9814         Likewise.
9816         * string/strspn.c (strcspn): Rewrite function.
9817         * string/bits/string2.h (strspn): Use __builtin_strcspn.
9818         (__strspn_c1): Remove inline function.
9819         (__strspn_c2): Likewise.
9820         (__strspn_c3): Likewise.
9821         * string/string-inlines.c
9822         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
9823         compatibility symbol.
9824         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
9825         Likewise.
9826         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
9827         Likewise.
9828         * string/string-inlines.c: Include generic version.
9830 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
9831             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9833         * string/Version (libc): Add GLIBC_2.24.
9834         * string/strcspn.c (strcspn): Rewrite function.
9835         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
9836         (__strcspn_c1): Remove inline function.
9837         (__strcspn_c2): Likewise.
9838         (__strcspn_c3): Likewise.
9839         * string/string-inline.c
9840         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
9841         compatibility symbol.
9842         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
9843         Likewise.
9844         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
9845         Likewise.
9846         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
9848 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
9850         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
9851         Use ahi instead of aghi to adjust stack pointer.
9853 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9855         [BZ #19853]
9856         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
9857         TEST to take significant digits as second parameter.
9858         [TEST]: Redefine in terms of TEST_N taking 30
9859         significant digits.
9860         (do_test): Add test case to demonstrate precision
9861         failure in the ldbl-128ibm printf.
9862         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
9863         (__mpn_extract_long_double): Carry 7 extra intermediate
9864         bits of precision to aide computing difference when
9865         signs differ.
9867 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9869         [BZ #19881]
9870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9871         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
9872         memset-avx512-unaligned-erms.
9873         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9874         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
9875         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
9876         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
9877         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
9878         __memset_sse2_unaligned_erms, __memset_erms,
9879         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
9880         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
9881         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
9882         file.
9883         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9884         Likewise.
9885         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
9886         Likewise.
9887         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
9888         Likewise.
9890 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
9892         [BZ #19776]
9893         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9894         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
9895         memmove-avx512-unaligned-erms.
9896         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9897         (__libc_ifunc_impl_list): Test
9898         __memmove_chk_avx512_unaligned_2,
9899         __memmove_chk_avx512_unaligned_erms,
9900         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
9901         __memmove_chk_sse2_unaligned_2,
9902         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
9903         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
9904         __memmove_avx512_unaligned_erms, __memmove_erms,
9905         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
9906         __memcpy_chk_avx512_unaligned_2,
9907         __memcpy_chk_avx512_unaligned_erms,
9908         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
9909         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
9910         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
9911         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
9912         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
9913         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
9914         __mempcpy_chk_avx512_unaligned_erms,
9915         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
9916         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
9917         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
9918         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
9919         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
9920         __mempcpy_erms.
9921         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
9922         file.
9923         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9924         Likwise.
9925         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9926         Likwise.
9927         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
9928         Likwise.
9930 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9932         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
9933         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
9934         (La_s390_64_regs): Likewise.
9935         (La_s390_32_retval): Append vector register lrv_v24.
9936         (La_s390_64_retval): Likeweise.
9937         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
9938         Handle extended structs La_s390_32_regs and La_s390_32_retval.
9939         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
9940         Handle extended structs La_s390_64_regs and La_s390_64_retval.
9942 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
9944         [BZ #19916]
9945         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
9946         to create a non-vector/vector version for _dl_runtime_resolve and
9947         _dl_runtime_profile. Move implementation to ...
9948         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
9949         (_dl_runtime_resolve) Save and restore fpr/vrs.
9950         (_dl_runtime_profile) Save and restore vrs and fix some issues
9951         if _dl_call_pltexit is called.
9952         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
9953         Choose the correct resolver function if running on a machine with vx.
9954         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
9955         to create a non-vector/vector version for _dl_runtime_resolve and
9956         _dl_runtime_profile. Move implementation to ...
9957         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
9958         (_dl_runtime_resolve) Save and restore fpr/vrs.
9959         (_dl_runtime_profile) Save and restore vrs and fix some issues
9960         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
9961         Choose the correct resolver function if running on a machine with vx.
9963 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9965         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
9967 2016-03-31  Florian Weimer  <fweimer@redhat.com>
9969         [BZ #19509]
9970         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
9971         skip_map != NULL.
9972         * elf/tst-dlsym-error.c: New file.
9973         * elf/Makefile (tests): Add tst-dlsym-error.
9974         (tst-dlsym-error): Link against libdl.
9976 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
9978         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9979         (__ASSUME_FUTIMESAT): Remove macro.
9980         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
9982 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9984         [BZ #19879]
9985         CVE-2016-3075
9986         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
9987         copy name.
9989 2016-03-29  Florian Weimer  <fweimer@redhat.com>
9991         [BZ #19837]
9992         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
9993         error if parse_line fails.
9995 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
9997         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
9998         (index_cpu_ERMS): Likewise.
9999         (reg_ERMS): Likewise.
10001 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
10003         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
10004         PER_LINUX_FDPIC): Add.
10006 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10008         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10009         memcpy-avx512-no-vzeroupper.
10010         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
10011         to ...
10012         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
10013         (MEMCPY): Don't define.
10014         (MEMCPY_CHK): Likewise.
10015         (MEMPCPY): Likewise.
10016         (MEMPCPY_CHK): Likewise.
10017         (MEMPCPY_CHK): Renamed to ...
10018         (__mempcpy_chk_avx512_no_vzeroupper): This.
10019         (MEMPCPY_CHK): Renamed to ...
10020         (__mempcpy_chk_avx512_no_vzeroupper): This.
10021         (MEMCPY_CHK): Renamed to ...
10022         (__memmove_chk_avx512_no_vzeroupper): This.
10023         (MEMCPY): Renamed to ...
10024         (__memmove_avx512_no_vzeroupper): This.
10025         (__memcpy_avx512_no_vzeroupper): New alias.
10026         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
10028 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10030         [BZ #18858]
10031         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10032         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
10033         and mempcpy-avx512-no-vzeroupper.
10034         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
10035         New.
10036         (MEMPCPY): Likewise.
10037         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
10038         (MEMPCPY_CHK): New.
10039         (MEMPCPY): Likewise.
10040         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
10041         (MEMPCPY): Likewise.
10042         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
10043         (MEMPCPY): Likewise.
10044         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
10045         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
10046         Likewise.
10047         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
10048         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
10050 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
10051              Amit Pawar  <Amit.Pawar@amd.com>
10053         [BZ #19583]
10054         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10055         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
10056         processors.  Set Fast_Copy_Backward for AMD Excavator
10057         processors.
10058         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
10059         New.
10060         (index_arch_Fast_Unaligned_Copy): Likewise.
10061         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
10062         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
10064 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10066         [BZ #19791]
10067         * resolv/res_send.c (close_and_return_error): New function.
10068         (send_dg): Initialize *resplen2 after reopen failure.  Call
10069         close_and_return_error for error returns.  On error paths without
10070         __res_iclose, initialze *resplen2 explicitly.  Update comment for
10071         successful return.
10073 2016-03-25  Florian Weimer  <fweimer@redhat.com>
10075         [BZ# 19860]
10076         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
10077         zero if the compiler does not provide the AVX512F bit.
10079 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
10081         [BZ #19848]
10082         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
10083         from 8 to 4.
10084         (__ieee754_powl): Compare integer exponent against 4 not 8.
10085         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
10086         from 8 to 4.
10087         (__ieee754_powl): Compare integer exponent against 4 not 8.
10088         * math/auto-libm-test-in: Add more tests of pow.
10089         * math/auto-libm-test-out: Regenerated.
10090         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
10091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10093 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10095         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
10096         Make code unconditional.
10097         [!__NR_utimensat]: Remove conditional code.
10098         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
10099         Make code unconditional.
10100         [!__NR_utimensat]: Remove conditional code.
10101         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
10102         Make code unconditional.
10103         [!__NR_utimensat]: Remove conditional code.
10105 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
10107         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
10108         Make code unconditional.
10110 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
10112         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
10113         call-clobbered %eax on retry path.
10114         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
10116 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10118         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
10119         Don't set %rcx twice before "rep movsb".
10121 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
10123         [BZ #19583]
10124         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
10125         inline.  Check family before setting family, model and
10126         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
10127         bits here.
10128         (init_cpu_features): Replace HAS_CPU_FEATURE and
10129         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
10130         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
10131         for Intel processors with usable AVX2.  Call get_common_indeces
10132         for other processors with family == NULL.
10133         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
10134         (CPU_FEATURES_ARCH_P): Likewise.
10135         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
10136         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
10138 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10140         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
10141         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
10142         $(shared-thread-library) instead of hardcoding the path to libpthread.
10144 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
10146         * sysdeps/unix/sysv/linux/kernel-features.h
10147         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
10148         * sysdeps/unix/sysv/linux/getdents.c
10149         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
10150         [!have_no_getdents64_defined]: Likewise.
10151         (__GETDENTS): Remove __have_no_getdents64 conditional.
10153 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
10155         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
10156         Remove macro.
10157         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
10158         <kernel-features.h>.
10159         (signalfd) [__NR_signalfd4]: Make code unconditional.
10160         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
10162 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10164         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
10165         style.
10167 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
10169         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
10170         (__pthread_enable_asynccancel): Use JUMPTARGET to call
10171         __pthread_unwind.
10172         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
10173         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
10174         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
10175         (__condvar_cleanup1): Likewise.
10177 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
10179         [BZ #19822]
10180         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
10181         move it to the final $@ location.
10183 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10185         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
10186         access where posix_spawn success and pid argument is null.
10187         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
10188         success case.
10190 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
10192         * sysdeps/mach/hurd/i386/c++-types.data: New file.
10194         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
10196         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
10197         and __fcntl.
10198         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
10199         __fcntl only.
10200         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
10201         adding attribute_hidden to __open and __fcntl.
10203         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
10204         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
10205         depend on libc-modules.h,
10206         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
10208 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
10210         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
10211         Remove macro.
10212         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
10213         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
10214         entry.
10216         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
10217         Remove macro.
10218         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
10219         include <kernel-features.h>.
10220         [!__ASSUME_FALLOCATE]: Remove conditional code.
10221         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
10223 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
10225         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
10226         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
10227         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
10228         (_ZGVdN4v_cos_avx2): Likewise.
10229         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
10230         (_ZGVdN4v_cos): Likewise.
10231         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
10232         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
10233         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
10234         (_ZGVdN4v_exp_avx2): Likewise.
10235         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
10236         (_ZGVdN4v_exp): Likewise.
10237         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
10238         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
10239         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
10240         (_ZGVdN4v_log_avx2): Likewise.
10241         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
10242         (_ZGVdN4v_log): Likewise.
10243         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
10244         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
10245         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
10246         (_ZGVdN4vv_pow_avx2): Likewise.
10247         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
10248         (_ZGVdN4vv_pow): Likewise.
10249         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
10250         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
10251         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
10252         (_ZGVdN4v_sin_avx2): Likewise.
10253         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
10254         (_ZGVdN4v_sin): Likewise.
10255         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
10256         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
10257         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
10258         (_ZGVdN4vvv_sincos_avx2): Likewise.
10259         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
10260         (_ZGVdN4vvv_sincos): Likewise.
10261         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
10262         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
10263         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
10264         (_ZGVbN4v_cosf_sse4): Likewise.
10265         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
10266         (_ZGVdN8v_cosf_avx2): Likewise.
10267         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
10268         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
10269         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
10270         (_ZGVbN4v_expf_sse4): Likewise.
10271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
10272         (_ZGVdN8v_expf_avx2): Likewise.
10273         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
10274         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
10275         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
10276         (_ZGVbN4v_logf_sse4): Likewise.
10277         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
10278         (_ZGVdN8v_logf_avx2): Likewise.
10279         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
10280         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
10281         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
10282         (_ZGVbN4vv_powf_sse4): Likewise.
10283         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
10284         (_ZGVdN8vv_powf_avx2): Likewise.
10285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
10286         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
10287         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
10288         (_ZGVbN4vvv_sincosf_sse4): Likewise.
10289         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
10290         (_ZGVdN8vvv_sincosf_avx2): Likewise.
10291         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
10292         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
10293         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
10294         (_ZGVbN4v_sinf_sse4): Likewise.
10295         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
10296         (_ZGVdN8v_sinf_avx2): Likewise.
10297         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10298         Use JUMPTARGET to call callee.
10299         (WRAPPER_IMPL_SSE2_ff): Likewise.
10300         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10301         (WRAPPER_IMPL_AVX): Likewise.
10302         (WRAPPER_IMPL_AVX_ff): Likewise.
10303         (WRAPPER_IMPL_AVX_fFF): Likewise.
10304         (WRAPPER_IMPL_AVX512): Likewise.
10305         (WRAPPER_IMPL_AVX512_ff): Likewise.
10306         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
10307         Likewise.
10308         (WRAPPER_IMPL_SSE2_ff): Likewise.
10309         (WRAPPER_IMPL_SSE2_fFF): Likewise.
10310         (WRAPPER_IMPL_AVX): Likewise.
10311         (WRAPPER_IMPL_AVX_ff): Likewise.
10312         (WRAPPER_IMPL_AVX_fFF): Likewise.
10313         (WRAPPER_IMPL_AVX512): Likewise.
10314         (WRAPPER_IMPL_AVX512_ff): Likewise.
10315         (WRAPPER_IMPL_AVX512_fFF): Likewise.
10317 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10319         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
10320         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
10321         qualifier.
10322         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
10323         internal_function qualifiers.
10325 2016-03-15  Carlos O'Donell <carlos@redhat.com>
10327         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
10328         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
10329         * math/atest-exp.c (exp_mpn): Mark chk unused.
10330         * math/atest-exp2.c (exp_mpn): Likwise.
10331         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
10332         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
10334 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
10336         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
10337         Remove macro.
10338         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
10339         <kernel-features.h>.
10340         [__NR_ppoll]: Make code unconditional.
10341         [!__ASSUME_PPOLL]: Remove conditional code.
10343         * sysdeps/unix/sysv/linux/kernel-features.h
10344         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
10345         (__ASSUME_ACCEPT4): Likewise.
10346         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10347         Define.
10348         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
10349         Likewise.
10350         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10351         Likewise.
10352         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
10353         Likewise.
10354         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
10355         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
10356         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10357         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10358         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10359         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10360         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10361         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10362         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10363         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10364         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10365         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10366         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10367         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10368         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10369         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10370         Likewise.
10371         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10372         Likewise.
10373         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10374         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10375         0x040300].
10376         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10377         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
10378         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10379         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10380         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10381         0x030300].
10382         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
10383         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10384         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10385         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10386         0x040300].
10387         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10388         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10390         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10391         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10392         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10393         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
10394         0x030300].
10395         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10396         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10397         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10398         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10399         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10400         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10402         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10403         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10404         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
10405         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
10406         0x040300].
10407         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10408         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10409         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10410         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
10411         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10412         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10413         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10414         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10415         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10416         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10417         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10418         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10419         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
10420         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
10421         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
10422         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
10423         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
10424         Likewise.
10425         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
10426         Likewise.
10428 2016-03-15  Andreas Schwab  <schwab@suse.de>
10430         [BZ #19257]
10431         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
10432         statp->_u._ext.nscount as loop count.
10434 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
10436         * math/test-signgam-finite-c99.c: Also #undef
10437         __LIBC_INTERNAL_MATH_INLINES.
10438         * math/test-signgam-main.c: Likewise.
10440 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
10442         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
10443         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
10444         (MADV_FREE): Likewise.
10445         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
10446         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
10447         EPOLLEXCLUSIVE.
10449 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
10451         * timezone/README: Remove mention of checktab.awk. Mention wiki
10452         SharedSourceFiles.
10454 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
10456         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
10457         WUNTRACED.
10459 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10461         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
10462         order to match the type of p when calling atomic_exchange_acq().
10464 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10466         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
10467         cfi_offset calls.
10468         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
10469         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
10470         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
10471         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
10472         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
10474 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
10476         * timezone/checktab.awk: Removed.
10478 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
10480         * manual/math.texi (Errors in Math Functions): Document relaxed
10481         accuracy goals for IBM long double.
10482         * math/libm-test.inc (test_exceptions): Always allow spurious
10483         "underflow" and "inexact" exceptions for IBM long double.
10485 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
10487         [BZ #19762]
10488         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10489         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
10490         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
10491         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
10492         (bit_arch_*): This for feature array.
10493         (bit_*): Renamed to ...
10494         (bit_cpu_*): This for cpu array.
10495         (index_*): Renamed to ...
10496         (index_arch_*): This for feature array.
10497         (index_*): Renamed to ...
10498         (index_cpu_*): This for cpu array.
10499         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
10500         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
10501         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
10502         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
10503         bit_##name with index_cpu_##name and bit_cpu_##name.
10504         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
10505         bit_##name with index_arch_##name and bit_arch_##name.
10507 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
10509         [BZ #19792]
10510         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
10511         Terminate FDE before return label.
10513 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
10515         [BZ #19790]
10516         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
10517         (rintl): Define as macro.
10518         [USE_AS_NEARBYINTL] (__rintl): Likewise.
10519         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
10520         of fesetround.  Ensure results are evaluated before end of scope.
10521         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
10522         USE_AS_NEARBYINTL and include s_rintl.c.
10523         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
10524         Disable exception traps in new environment.
10525         (libc_feholdsetround_ppc_ctx): Likewise.
10527 2016-03-08  Roland McGrath  <roland@hack.frob.com>
10529         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
10530         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
10531         (tst_audit10_aux) [__AVX512F__]: ... here.
10533 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
10535         * include/sys/auxv.h: New file.
10537 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10539         [BZ #19759]
10540         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
10542 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10544         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
10545         operand modifier.
10546         (feclearexcept): Likewise.
10548 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10550         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
10551         to reflect the entire 32-bit HWCAP.
10552         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
10553         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
10555 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
10557         [BZ #19783]
10558         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
10559         $(test-via-rtld-prefix).
10560         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
10562 2016-03-08  Florian Weimer  <fweimer@redhat.com>
10564         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
10565         union wait.  Report any non-zero exit status as error.
10567 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10569         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
10570         configured with --enable-hardcoded-path-in-tests.
10572 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
10574         [BZ #19677]
10575         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
10576         (__ieee754_remainderl): Put zero low parts in canonical form.
10577         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
10578         file.  Based on
10579         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
10580         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
10581         with wrapper round test-fmodrem-ldbl-128ibm.c.
10582         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
10583         file.
10584         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
10585         Likewise.
10586         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
10587         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
10589 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10591         [BZ #19610]
10592         * elf/ldconfig.c (opt_link): Update comment.
10593         (options): Update help string for option -X.
10594         (search_dir): Unlink stale symbolic link only if updating symbolic
10595         links.
10596         * elf/tst-ldconfig-X.sh: New file.
10597         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
10598         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
10600 2016-03-07  Andreas Schwab  <schwab@suse.de>
10602         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
10603         needed arguments.
10605 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
10607         [BZ #15333]
10608         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
10609         to lstat64.
10611 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10613         * libio/filedoalloc.c (isatty): Remove.
10614         (local_isatty): Add comment.  Call __isatty directly.
10615         (_IO_file_doallocate): Update comment.  Assume _LIBC.
10616         * libio/wfiledoalloc.c (isatty): Remove.
10617         (_IO_wfile_doallocate): Update comment.
10619 2016-03-07  Florian Weimer  <fweimer@redhat.com>
10621         [BZ #19269]
10622         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
10623         tst-audit4-aux.o.
10624         (tst-audit10): Depend on tst-audit10-aux.o.
10625         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
10626         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
10627         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
10628         instead of inline AVX code.
10629         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
10630         instead of inline AVX512 code.
10631         * sysdeps/x86_64/tst-audit4-aux.c: New file
10632         * sysdeps/x86_64/tst-audit10-aux.c: New file
10634         [BZ #19648]
10635         * test-skeleton.c (main): Do not set RLIMIT_DATA.
10637 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10639         [BZ #14750]
10640         [BZ #10354]
10641         [BZ #18433]
10642         * include/sched.h (__clone): Add hidden prototype.
10643         (__clone2): Likewise.
10644         * include/unistd.h (__dup): Likewise.
10645         * posix/Makefile (tests): Add tst-spawn2.
10646         * posix/tst-spawn2.c: New file.
10647         * sysdeps/posix/dup.c (__dup): Add hidden definition.
10648         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
10649         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
10650         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
10651         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
10652         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
10653         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
10654         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
10655         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
10656         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
10657         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
10658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
10659         Likewise.
10660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10661         Likewise.
10662         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
10663         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
10664         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
10665         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10666         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
10667         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
10668         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
10669         * sysdeps/unix/sysv/linux/nptl-signals.h
10670         (____nptl_is_internal_signal): New function.
10671         * sysdeps/unix/sysv/linux/spawni.c: New file.
10673         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
10674         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
10675         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
10676         * posix/tst-execvp2.c (do_test): Likewise.
10677         * posix/tst-execvp3.c (do_test): Likewise.
10678         * posix/tst-execvp4.c (do_test): Likewise.
10679         * posix/tst-execvpe1.c: New file.
10680         * posix/tst-execvpe2.c: Likewise.
10681         * posix/tst-execvpe3.c: Likewise.
10682         * posix/tst-execvpe4.c: Likewise.
10683         * posix/tst-execvpe5.c: Likewise.
10684         * posix/tst-execvpe6.c: Likewise.
10686         [BZ #19534]
10687         * posix/execl.c (execl): Remove dynamic memory allocation.
10688         * posix/execle.c (execle): Likewise.
10689         * posix/execlp.c (execlp): Likewise.
10691 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10693         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
10694         Replace .text with .text.avx512.
10695         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
10696         Likewise.
10698 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
10700         * sysdeps/generic/libnsl.abilist: New file.
10701         * sysdeps/generic/libutil.abilist: New file.
10703 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
10705         [BZ #19762]
10706         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
10707         HAS_ARCH_FEATURE with Fast_Rep_String.
10708         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
10709         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
10710         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
10711         Likewise.
10712         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
10713         Likewise.
10714         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
10715         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
10716         Likewise.
10717         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
10718         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
10719         Likewise.
10721 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10723         [BZ #19745]
10724         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
10725         with *%rax in call.
10727 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10729         [BZ #19745]
10730         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
10731         with *__libc_start_main@GOTPCREL(%rip) in call.
10733 2016-03-04  Roland McGrath  <roland@hack.frob.com>
10735         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
10736         inside conditional for nonempty $(CXX).
10738         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
10739         nonempty.
10741         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
10742         to test for empty $(CXX) rather than $(CXX) of "no".
10744 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
10746         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
10748 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
10749             H.J. Lu  <hongjiu.lu@intel.com>
10751         [BZ #18880]
10752         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
10753         instead of Slow_BSF, and also check for Fast_Copy_Backward to
10754         enable __memcpy_ssse3_back.
10756 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10758         [BZ #19758]
10759         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
10760         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
10762 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
10764         [BZ #19490]
10765         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
10766         (__fentry__): Likewise.
10768 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
10770         * gmon/Makefile (noprof): Add $(sysdep_noprof).
10771         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
10773 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10775         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
10776         __mcount_internal directly.
10777         (C_LABEL(__fentry__)): Likewise.
10778         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
10779         directly.
10781 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
10783         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
10784         (__start_context): Call __setcontext directly.
10786 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
10788         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10789         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10790         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
10791         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10792         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10793         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10794         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
10795         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10796         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10797         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
10798         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10799         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10800         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10801         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10802         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10803         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10804         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
10805         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10806         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10807         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
10808         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
10809         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10810         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10811         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
10812         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
10813         Remove conditional code.
10814         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10815         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
10816         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10817         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10818         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
10819         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10820         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
10821         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
10822         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
10823         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10824         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10825         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
10827 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
10829         * NEWS (2.23): Fix typo in bug 19048 text.
10831 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
10833         [BZ #14259]
10834         * Makeconfig: Rename msgcatdir to localedir.
10835         Rename inst_msgcatdir to inst_localedir.
10836         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
10837         * config.make.in: Add localedir.
10838         * elf/Makefile ($(objpfx)sotruss): Use localedir.
10839         (ldd-rewrite): Likewise.
10840         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
10841         (install-others): Use inst_localedir.
10842         (CPPFLAGS): Use localedir.
10843         * locale/Makefile (locale-CPPFLAGS): Likewise.
10844         * po/Makefile (mo-installed): Use inst_localedir.
10846         [BZ #19575]
10847         * localedata/charmaps/GB18030: Update comments regarding PAU to
10848         non-PUA mappings.
10850 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
10852         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
10853         test for header.
10854         * sysdeps/unix/sysv/linux/configure: Regenerated.
10855         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
10856         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
10857         Remove conditional code.
10858         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
10860         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10861         Define to 3.2.0.
10862         (arch_minimum_kernel): Likewise.
10863         * sysdeps/unix/sysv/linux/configure: Regenerated.
10864         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
10865         Define to 2.6.32.
10866         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
10867         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
10868         (arch_minimum_kernel): Define to 2.6.32.
10869         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
10870         * README: Document Linux 3.2 requirement.
10871         * manual/install.texi (Linux): Document Linux 3.2 headers
10872         requirement.
10873         * INSTALL: Regenerated.
10875 2016-02-24  Andreas Schwab  <schwab@suse.de>
10877         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
10878         if !NO_LONG_DOUBLE.
10880 2016-02-22  Roland McGrath  <roland@hack.frob.com>
10882         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
10883         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
10885 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
10887         [BZ #19512]
10888         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
10890 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
10892         * posix/tst-dir.c: Include libc-internal.h.
10894 2016-02-20  Florian Weimer  <fweimer@redhat.com>
10896         [BZ #19056]
10897         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
10898         * manual/filesys.texi (Reading/Closing Directory): Mention
10899         deprecaion.
10900         * posix/tst-dir.c (main): Disable deprecation warning in test.
10902 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
10904         [BZ #19679]
10905         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
10906         Renamed to ...
10907         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
10908         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10909         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
10910         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10911         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10912         * sysdeps/x86_64/dl-trampoline.h
10913         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
10914         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
10916 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10918         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
10920 2016-02-19  Mark Wielaard  <mjw@redhat.com>
10922         * elf/elf.h (R_386_GOT32X): New.
10923         (R_386_NUM): Update.
10924         (R_X86_64_GOTPCRELX: New.
10925         (R_X86_64_REX_GOTPCRELX): New.
10926         (R_X86_64_NUM): Update.
10928 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
10930         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
10932 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
10934         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
10935         assign attr->stackaddr to it, and adjust it down when
10936         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
10937         [_STACK_GROWS_UP]: Delete assert.
10938         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
10939         Implement stack grows up logic.
10940         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
10941         stack grows up logic.
10943 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10945         * NEWS: Update with 2.24 template.
10947 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
10949         [BZ #19678]
10950         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
10951         Ensure +0.0 is returned when taking the next value below the least
10952         positive value.
10954 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10956         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
10957         available.  Do not define NO_THREADS.
10958         * malloc/malloc.c: Do not check NO_THREADS.
10959         * malloc/arena.c: Likewise.
10961 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10963         * malloc/malloc.c (__libc_mallinfo): Update comment.
10964         (struct malloc_par): Remove max_total_mem member, it was always 0.
10965         (int_mallinfo): Store 0 into usmblks (no functional change).
10966         * malloc/hooks.c (struct malloc_state): Document that
10967         max_total_mem is always 0.
10968         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
10969         always 0.
10970         * manual/memory.texi (Statistics of Malloc): Likewise.
10972 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10974         * malloc/malloc.c (sysmalloc): Do not update arena_max.
10975         * malloc/arena.c (arena_max): Remove.
10976         (heap_trim, _int_new_arena): Do not update arena_max.
10978 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10980         * resolv/res_init.c (res_ninit): Update comment.
10982 2016-02-19  Florian Weimer  <fweimer@redhat.com>
10984         [BZ #19505]
10985         * posix/spawn_int.h: Add headers and include guard.
10986         (__spawn_valid_fd): New function.
10987         * posix/spawn_faction_addopen.c
10988         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
10989         * posix/spawn_faction_addclose.c
10990         (posix_spawn_file_actions_addclose): Likewise.
10991         * posix/spawn_faction_adddup2.c
10992         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
10993         second file descriptor.
10994         * posix/spawn_valid_fd.c: New file.
10995         * posix/tst-posix_spawn-fd.c: New file.
10996         * posix/Makefile (routines): Add spawn_valid_fd.
10997         (tests): Add tst-posix_spawn-fd.
10999 2016-02-19  Florian Weimer  <fweimer@redhat.com>
11001         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
11002         (do_test): Limit the number of arenas, so that we can use fewer
11003         outer threads.  Limit timeout to 3 seconds, in preparation for a
11004         larger TIMEOUT value.
11006 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
11008         [BZ #19674]
11009         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
11010         sign in overflowing and underflowing results when overflow or
11011         underflow is detected early.  Include sign in result before rather
11012         than after scaling.
11014         [BZ #19603]
11015         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
11016         (__ieee754_remainderl): Adjust sign of integer version of low part
11017         when taking absolute value of high part.
11018         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11019         * math/libm-test.inc (remainder_test_data): Add another test.
11020         (remquo_test_data): Likewise.
11022 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
11024         [BZ #19602]
11025         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
11026         equal high parts and both low parts zero specially.
11027         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
11028         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
11029         Add test-fmodl-ldbl-128ibm.
11031         [BZ #19595]
11032         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
11033         common logic for all cases of shifting subnormal results.  Do not
11034         insert sign bit in shifted mantissa.  Always pass -1023 as biased
11035         exponent to ldbl_insert_mantissa in subnormal case.
11037         [BZ #19594]
11038         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
11039         on high and low parts then adjust result and use
11040         ldbl_canonicalize_int if needed.
11042         [BZ #19593]
11043         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
11044         on high part and __floor or __ceil on low part then use
11045         ldbl_canonicalize_int if needed.
11047         [BZ #19592]
11048         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
11049         high and low parts then use ldbl_canonicalize_int if needed.
11051         [BZ #17899]
11052         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
11053         New function.
11054         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
11055         on high and low parts then use ldbl_canonicalize_int if needed.
11057 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11059         * configure: Regenerated.
11061         * po/libc.pot: Regenerated.
11063         * po/be.po: Updated translation.
11064         * po/bg.po: Likewise.
11065         * po/ca.po: Likewise.
11066         * po/cs.po: Likewise.
11067         * po/da.po: Likewise.
11068         * po/el.po: Likewise.
11069         * po/eo.po: Likewise.
11070         * po/es.po: Likewise.
11071         * po/fi.po: Likewise.
11072         * po/fr.po: Likewise.
11073         * po/gl.po: Likewise.
11074         * po/hr.po: Likewise.
11075         * po/hu.po: Likewise.
11076         * po/ia.po: Likewise.
11077         * po/id.po: Likewise.
11078         * po/it.po: Likewise.
11079         * po/ja.po: Likewise.
11080         * po/lt.po: Likewise.
11081         * po/nb.po: Likewise.
11082         * po/nl.po: Likewise.
11083         * po/pt_BR.po: Likewise.
11084         * po/rw.po: Likewise.
11085         * po/sk.po: Likewise.
11086         * po/sl.po: Likewise.
11087         * po/sv.po: Likewise.
11088         * po/tr.po: Likewise.
11089         * po/zh_CN.po: Likewise.
11090         * po/zh_TW.po: Likewise.
11092         * version.h (RELEAES): Set to "development".
11093         (VERSION): Set to 2.23.90.
11095         * version.h (RELEASE): Set to "stable".
11096         (VERSION): Set to 2.23.
11097         * include/feature.h (__GLIBC_MINOR__): Set to 23.
11099         * NEWS: Updated fixed bugs.
11101 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
11102             Wilco Dijkstra  <wdijkstr@arm.com>
11104         [BZ #19462]
11105         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
11106         (_STRING_INLINE_unaligned): This.
11107         * include/string.h: Include <string_private.h>.
11108         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
11109         _STRING_INLINE_unaligned.
11110         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
11111         (_STRING_INLINE_unaligned): New.
11112         * sysdeps/aarch64/string_private.h: New file.
11113         * sysdeps/generic/string_private.h: Likewise.
11114         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
11115         * sysdeps/s390/string_private.h: Likewise.
11116         * sysdeps/x86/string_private.h: Likewise.
11117         * sysdeps/m68k/m680x0/m68020/bits/string.h
11118         (_STRING_ARCH_unaligned): Renamed to ...
11119         (_STRING_INLINE_unaligned): This.
11120         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
11121         to ...
11122         (_STRING_INLINE_unaligned): This.
11123         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
11124         to ...
11125         (_STRING_INLINE_unaligned): This.
11126         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
11127         to ...
11128         (_STRING_INLINE_unaligned): This.
11130 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
11131             H.J. Lu  <hongjiu.lu@intel.com>
11133         [BZ #19590]
11134         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
11135         relocation.
11137 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
11139         [BZ #18665]
11140         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
11141         *herrno_p.
11142         (gaih_getanswer): Document functional behviour. Return tryagain
11143         if any result is tryagain.
11144         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
11145         when freed.
11146         * resolv/res_send.c: Add copyright text.
11147         (__libc_res_nsend): Document that MAXPACKET is expected.
11148         (send_vc): Document. Remove buffer reuse.
11149         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
11150         size of the buffer. Add Dprint for truncated UDP buffer.
11152 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
11154         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
11155         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
11156         * INSTALL: Regenerate.
11158 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
11159             Jonathan Wakely  <jwakely@redhat.com>
11160             Carlos O'Donell  <carlos@redhat.com>
11162         [BZ 19439]
11163         * math/Makefile (tests): Add test-math-isinff.
11164         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
11165         * math/bits/mathcalls.h [__USE_MISC]: Use
11166         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
11167         functions not in C++11 and which don't conflict e.g. isinff,
11168         isinfl etc.
11169         * math/test-math-isinff.cc: New file.
11171 2016-02-12  Florian Weimer  <fweimer@redhat.com>
11173         * misc/bug18240.c (do_test): Set RLIMIT_AS.
11175 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11177         [BZ #19529]
11178         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
11180 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11182         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11184 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
11186         [BZ #19550]
11187         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
11188         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
11189         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
11190         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
11191         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
11192         New syscall entry.
11193         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
11194         New syscall entry.
11195         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
11196         syscall entry.
11198 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
11200         [BZ #18240]
11201         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
11202         unsigned int wraparound.
11204 2016-01-27  Florian Weimer  <fweimer@redhat.com>
11206         [BZ #18240]
11207         * misc/bug18240.c: New test.
11208         * misc/Makefile (tests): Add it.
11210 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
11211             Joseph Myers  <joseph@codesourcery.com>
11213         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
11214         load in branch delay slot when less than a word of input left.
11216 2016-01-27  Andreas Schwab  <schwab@suse.de>
11218         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
11219         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
11220         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
11221         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
11223 2016-01-26  David S. Miller  <davem@davemloft.net>
11225         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
11227 2016-01-25  David S. Miller  <davem@davemloft.net>
11229         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
11230         __sqrtl_finite.
11231         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
11232         instead using versioned_symbol.
11233         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
11234         of entries.
11236         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
11237         __sqrtl_finite to GLIBC_2.23
11239 2016-01-25  Ricchard Henderson  <rth@redhat.com>
11241         * sysdeps/alpha/fpu/libm-test-ulps: Update.
11243 2016-01-25  Andreas Schwab  <schwab@suse.de>
11245         [BZ #17514]
11246         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
11247         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
11248         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
11249         * nptl/tst-mutex-errorcheck.c: New file.
11251 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11253         [BZ #18560]
11254         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
11255         (IPCOP_semop): Likewise.
11256         (IPCOP_semget): Likewise.
11257         (IPCOP_semctl): Likewise.
11258         (IPCOP_msgsnd): Likewise.
11259         (IPCOP_msgrcv): Likewise.
11260         (IPCOP_msgget): Likewise.
11261         (IPCOP_msgctl): Likewise.
11262         (IPCOP_shmat): Likewise.
11263         (IPCOP_shmdt): Likewise.
11264         (IPCOP_shmget): Likewise.
11265         (IPCOP_shmctl): Likewise.
11267 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
11269         * string/tst-endian.c: Include <libc-internal.h>.
11270         (do_test): Ignore tautological-compare warnings around
11271         "htobeXX (beXXtoh (i)) != i" and
11272         "htoleXX (leXXtoh (i)) != i" if-statements.
11274 2016-01-24  David S. Miller  <davem@davemloft.net>
11276         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
11277         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
11278         alias.
11279         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
11280         __sqrtl_finite.
11282         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11284 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
11286         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
11287         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
11288         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11290 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11292         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
11293         (thread_func): Use new function to simplify barrier check.
11294         (do_test): Use new function to simplify checking barrier exit
11295         code, and actually join the child thread.
11297 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11299         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
11300         semicolon.
11301         (__libc_tend): Likewise.
11302         (__libc_tabort): Likewise.
11304 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
11306         * sysdeps/nios2/libm-test-ulps: Update.
11307         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
11308         (__gtsf2): Likewise.
11309         (__unorddf2): Likewise.
11310         (__unordsf2): Likewise.
11311         (__ledf2): Likewise.
11313 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
11315         * nis/nis_table.c (__follow_path): Disable diagnostic for
11316         uninitialized variable that is a false positive for gcc 4.7.
11317         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
11319 2016-01-20  Roland McGrath  <roland@hack.frob.com>
11321         * sysdeps/nacl/lowlevellock-futex.h
11322         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
11323         Always evaluate PRIVATE argument.
11325 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
11327         [BZ #19490]
11328         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
11329         (pthread_cond_broadcast): Use ENTRY/END
11330         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
11331         (pthread_cond_signal): Likewise.
11332         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
11333         Likewise.
11334         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
11335         Likewise.
11336         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
11337         Likewise.
11339 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
11341         * sysdeps/ieee754/dbl-64/s_finite.c
11342         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
11343         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
11344         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
11345         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
11346         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
11348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
11349         (__gtsf2): Add as optional for libc.so.
11350         (__unordsf2): Likewise.
11351         (__signbit): Remove for libc.so.
11352         (__signbitl): Likewise.
11354 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
11356         * iconvdata/bug-iconv11.c (test_ibm93x):
11357         Use %zu printf format specifier for size_t argument.
11359 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
11361         * math/gen-libm-test.pl (parse_ulps): Do not reduce
11362         already-recorded ulps.
11363         * sysdeps/arm/libm-test-ulps: Regenerated.
11364         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
11365         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11366         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
11368 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
11369             Paul Pluzhnikov  <ppluzhnikov@google.com>
11371         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
11372         assembler not supporting AVX-512.
11374 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
11376         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
11378 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
11380         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
11381         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
11383         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
11385         * sysdeps/arm/libm-test-ulps: Regenerated.
11387 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11389         [BZ #19451]
11390         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
11392 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
11394         [BZ #19486]
11395         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
11396         * sysdeps/generic/fix-fp-int-convert-overflow.h
11397         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
11398         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
11399         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
11400         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
11401         Likewise.
11402         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
11403         Avoid conversions to long int where inexact exceptions
11404         could be raised.
11405         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
11406         Likewise.
11407         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
11408         Avoid conversions to long long int where inexact exceptions
11409         could be raised.
11410         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
11411         Likewise.
11413 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
11415         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
11416         * configure: Regenerated.
11418 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11420         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
11422 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
11424         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
11425         outside of comment.
11427 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11429         * nptl/tst-barrier1.c: Add description on first line.
11430         * nptl/tst-barrier2.c: Likewise.
11431         * nptl/tst-barrier3.c: Likewise.
11432         * nptl/tst-barrier4.c: Likewise.
11433         * nptl/tst-barrier5.c: Likewise.
11435 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11437         [BZ #18868]
11438         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
11440 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
11442         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
11443         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
11444         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
11445         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
11446         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
11447         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
11448         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11449         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11450         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11451         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11452         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11454 2016-01-15  Torvald Riegel  <triegel@redhat.com>
11456         [BZ #13065]
11457         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
11458         new implementation.
11459         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
11460         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
11461         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
11462         (BARRIER_IN_THRESHOLD): New macro.
11463         * nptl/pthread_barrierattr_setpshared.c
11464         (pthread_barrierattr_setpshared): Clean up.
11465         * nptl/tst-barrier4.c: Correct comment.
11466         * nptl/tst-barrier5.c: New file.
11467         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
11468         (gen-as-const-headers): Remove lowlevelbarrier.sym.
11469         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
11470         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
11471         * nptl/lowlevelbarrier.sym: Remove.
11472         * nptl/DESIGN-barrier.txt: Remove.
11473         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
11474         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
11475         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
11476         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
11477         error.
11478         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
11479         implementation.
11481 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11483         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
11484         (do_child): Mask SIGRTMIN while thr is running.
11486 2016-01-15  Martin Sebor  <msebor@redhat.com>
11488         [BZ #19432]
11489         * iconvdata/Makefile: Add bug-iconv11.
11490         * iconvdata/bug-iconv11.c: New test.
11491         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
11492         * iconvdata/ibm933.c: Same.
11493         * iconvdata/ibm935.c: Same.
11494         * iconvdata/ibm937.c: Same.
11495         * iconvdata/ibm939.c: Same.
11497 2016-01-15  Martin Sebor  <msebor@redhat.com>
11499         [BZ #19443]
11500         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
11501         [DEBUG] (_ufc_set_bits): Declare used.
11502         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
11503         [DEBUG] (print_all): Declare used.
11504         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
11505         operands of the ternary ?: expression to target type.
11506         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
11507         calling the undeclared abort.
11508         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
11510 2016-01-15  Martin Sebor  <msebor@redhat.com>
11512         [BZ #18755]
11513         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
11514         warnings.
11515         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
11516         (__gai_create_helper_thread): Same.
11517         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
11518         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
11519         to suppress -Wmaybe-uninitialized warnings.
11521 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
11523         [BZ #19465]
11524         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
11525         inside if.
11526         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11527         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11528         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11530 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
11532         [BZ #19466]
11533         * time/tst-mktime2.c (time_t_max): Removed.
11534         (time_t_min): Likewise.
11535         (TYPE_SIGNED): New.
11536         (TYPE_MINIMUM): Likewise.
11537         (TYPE_MAXIMUM): Likewise.
11538         (TIME_T_MIN): Likewise.
11539         (TIME_T_MAX): Likewise.
11540         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
11541         and TIME_T_MIN.
11542         (do_test): Likewise.
11544 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
11546         [BZ #19467]
11547         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
11548         index_Fast_Unaligned_Load flag for Excavator family CPUs.
11550 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
11552         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
11554 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
11556         * benchtests/Makefile (PYTHON): Define.
11557         (bench-func): Use $(PYTHON) to run python scripts.
11558         ($(objpfx)bench-%.c): Likewise.
11560 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
11562         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
11563         leading slash when `file_name' is "/".
11565 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
11567         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
11568         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
11569         Likewise.
11570         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
11571         Likewise.
11572         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
11573         Likewise.
11574         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
11575         enum constant and macro.
11576         (PTRACE_SETSIGMASK): Likewise.
11577         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11578         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11579         (PTRACE_GETSIGMASK): Likewise.
11580         (PTRACE_SETSIGMASK): Likewise.
11581         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11582         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
11583         Likewise.
11584         (PTRACE_SETSIGMASK): Likewise.
11585         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11586         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11587         (PTRACE_GETSIGMASK): Likewise.
11588         (PTRACE_SETSIGMASK): Likewise.
11589         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11590         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
11591         Likewise.
11592         (PTRACE_SETSIGMASK): Likewise.
11593         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11594         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
11595         Likewise.
11596         (PTRACE_SETSIGMASK): Likewise.
11597         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11598         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
11599         Likewise.
11600         (PTRACE_SETSIGMASK): Likewise.
11601         (PTRACE_SECCOMP_GET_FILTER): Likewise.
11603 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
11604             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11606         [BZ #19439]
11607         * math/bits/mathcalls.h
11608         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
11609         prototype.
11610         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
11612 2016-01-11  Andreas Schwab  <schwab@suse.de>
11614         [BZ #19253]
11615         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
11616         cache when TZDEFRULES was used.
11617         * time/tst-tzname.c: New file.
11618         * time/Makefile (test): Add tst-tzname.
11619         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
11620         * timezone/Makefile (test-zones): Add $(posixrules-file).
11621         ($(testdata)/$(posixrules-file)): New rule.
11623 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
11625         Fix doc quoting problems with Texinfo 5
11626         Without this change, in the info file output, Texinfo 5 quotes code
11627         in text with undirected single quotes 'like this' and generates
11628         code examples that with many PDF readers cannot be cut out of PDFs
11629         and pasted into code.
11630         * manual/libc.texinfo: Configure the libc manual like the GNU
11631         Emacs manual, by using @documentencoding and setting
11632         txicodequoteundirected and txicodequotebacktick.  This way,
11633         Texinfo 5 quotes code in text with directed single quotes ‘like
11634         this’ and produces examples that can be cut out of PDFs.  This
11635         change causes Texinfo 5 to generate info files that contain UTF-8
11636         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
11637         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
11639 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11641         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
11642         __libc_tabort, __libc_tend): New wrappers that enforce compiler
11643         barriers to their respective compiler built-ins.
11644         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
11645         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
11646         * sysdeps/powerpc/sysdep.h: Likewise.
11647         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
11648         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
11649         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
11651 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
11653         * scripts/config.guess: Revert previous shebang change.
11654         * scripts/config.sub: Likewise.
11655         * scripts/mkinstalldirs: Likewise.
11657 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11659         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
11660         PPC_FEATURE2_HAS_IEEE128.
11661         * sysdeps/powerpc/dl-procinfo.c:
11662         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
11664 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
11666         [BZ #19415]
11667         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
11668         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
11669         (_dl_lookup_address): Rewrite using function resolver trampoline.
11670         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
11671         two bits in address.
11673 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11675         * longlong.h: Change !__SHMEDIA__ to
11676         (!defined (__SHMEDIA__) || !__SHMEDIA__).
11677         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
11679 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
11680             Joseph Myers  <joseph@codesourcery.com>
11681             Mark Shinwell  <shinwell@codesourcery.com>
11682             Andrew Stubbs  <ams@codesourcery.com>
11683             Rich Felker <dalias@libc.org>
11685         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
11687 2016-01-07  Richard Henderson  <rth@redhat.com>
11689         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
11691 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
11693         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
11694         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
11695         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11696         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11697         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
11699 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
11700             Joseph Myers  <joseph@codesourcery.com>
11702         * timezone/private.h: Update from tzcode 2015g.
11703         * timezone/tzfile.h: Likewise.
11704         * timezone/tzselect.ksh: Likewise.
11705         * timezone/zdump.c: Likewise.
11706         * timezone/zic.c: Likewise.
11707         * timezone/ialloc.c: Remove file.
11708         * timezone/scheck.c: Likewise.
11709         * timezone/Makefile (extra-objs): Remove variable.
11710         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
11711         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
11712         -Wno-maybe-uninitialized.
11713         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
11714         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
11715         (CFLAGS-ialloc.c): Remove variable.
11716         (CFLAGS-scheck.c): Likewise.
11717         * timezone/README: Update list of files from tzcode.
11719 2016-01-07  Khem Raj  <raj.khem@gmail.com>
11721         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
11722         instead of __fxprintf when _LIBC is undefined.
11724 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
11726         * catgets/test-gencat.sh: Remove space after shebang.
11727         * conform/GlibcConform.pm: Likewise.
11728         * conform/check-header-lists.sh: Likewise.
11729         * conform/conformtest.pl: Likewise.
11730         * conform/linknamespace.pl: Likewise.
11731         * conform/list-header-symbols.pl: Likewise.
11732         * debug/catchsegv.sh: Likewise.
11733         * elf/genrtldtbl.awk: Likewise.
11734         * elf/tst-pathopt.sh: Likewise.
11735         * elf/tst-rtld-load-self.sh: Likewise.
11736         * grp/tst_fgetgrent.sh: Likewise.
11737         * iconvdata/gen-8bit-gap-1.sh: Likewise.
11738         * iconvdata/gen-8bit-gap.sh: Likewise.
11739         * iconvdata/gen-8bit.sh: Likewise.
11740         * iconvdata/run-iconv-test.sh: Likewise.
11741         * intl/tst-gettext.sh: Likewise.
11742         * intl/tst-gettext2.sh: Likewise.
11743         * intl/tst-gettext4.sh: Likewise.
11744         * intl/tst-gettext6.sh: Likewise.
11745         * intl/tst-translit.sh: Likewise.
11746         * io/ftwtest-sh: Likewise.
11747         * libio/test-freopen.sh: Likewise.
11748         * locale/gen-translit.pl: Likewise.
11749         * malloc/tst-mtrace.sh: Likewise.
11750         * manual/check-safety.sh: Likewise.
11751         * manual/libc-texinfo.sh: Likewise.
11752         * manual/tsort.awk: Likewise.
11753         * manual/xtract-typefun.awk: Likewise.
11754         * nptl/tst-cancel-wrappers.sh: Likewise.
11755         * nptl/tst-tls6.sh: Likewise.
11756         * posix/globtest.sh: Likewise.
11757         * posix/tst-getconf.sh: Likewise.
11758         * posix/wordexp-tst.sh: Likewise.
11759         * scripts/check-c++-types.sh: Likewise.
11760         * scripts/check-local-headers.sh: Likewise.
11761         * scripts/config.guess: Likewise.
11762         * scripts/config.sub: Likewise.
11763         * scripts/cpp: Likewise.
11764         * scripts/cross-test-ssh.sh: Likewise.
11765         * scripts/documented.sh: Likewise.
11766         * scripts/evaluate-test.sh: Likewise.
11767         * scripts/gen-libc-abis: Likewise.
11768         * scripts/gen-sorted.awk: Likewise.
11769         * scripts/list-fixed-bugs.py: Likewise.
11770         * scripts/merge-test-results.sh: Likewise.
11771         * scripts/mkinstalldirs: Likewise.
11772         * scripts/rellns-sh: Likewise.
11773         * scripts/test-installation.pl: Likewise.
11774         * scripts/update-copyrights: Likewise.
11775         * stdio-common/tst-printf.sh: Likewise.
11776         * stdio-common/tst-unbputc.sh: Likewise.
11777         * stdlib/tst-fmtmsg.sh: Likewise.
11778         * stdlib/tst-setcontext3.sh: Likewise.
11779         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
11780         * sysdeps/unix/make-syscalls.sh: Likewise.
11782 2016-01-06  John David Anglin  <dave.anglin@bell.net>
11784         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
11785         asm stw with atomic_exchange_rel.  Add explanatory comment.
11786         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
11787         Likewise.
11789 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11791         [BZ #19122]
11792         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
11793         * sysdeps/generic/dl-unistd.h: New file.
11794         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
11796 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
11798          [BZ #19122]
11799          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
11800          * sysdeps/generic/dl-mman.h: New file.
11801          * sysdeps/mach/hurd/dl-mman.h: Likewise.
11803 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
11805         * manual/texinfo.tex: Update to version 2016-01-04.21 with
11806         trailing whitespace removed.
11807         * scripts/config.guess: Update to version 2016-01-01.
11808         * scripts/config.sub: Update to version 2016-01-01.
11809         * scripts/move-if-change: Update from gnulib.
11811 2016-01-04  Anton Blanchard  <anton@samba.org>
11813         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
11814         for array indices.
11815         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
11817 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
11819         * NEWS: Update copyright dates.
11820         * catgets/gencat.c (print_version): Likewise.
11821         * csu/version.c (banner): Likewise.
11822         * debug/catchsegv.sh: Likewise.
11823         * debug/pcprofiledump.c (print_version): Likewise.
11824         * debug/xtrace.sh (do_version): Likewise.
11825         * elf/ldconfig.c (print_version): Likewise.
11826         * elf/ldd.bash.in: Likewise.
11827         * elf/pldd.c (print_version): Likewise.
11828         * elf/sotruss.sh: Likewise.
11829         * elf/sprof.c (print_version): Likewise.
11830         * iconv/iconv_prog.c (print_version): Likewise.
11831         * iconv/iconvconfig.c (print_version): Likewise.
11832         * locale/programs/locale.c (print_version): Likewise.
11833         * locale/programs/localedef.c (print_version): Likewise.
11834         * login/programs/pt_chown.c (print_version): Likewise.
11835         * malloc/memusage.sh (do_version): Likewise.
11836         * malloc/memusagestat.c (print_version): Likewise.
11837         * malloc/mtrace.pl: Likewise.
11838         * manual/libc.texinfo: Likewise.
11839         * nptl/version.c (banner): Likewise.
11840         * nscd/nscd.c (print_version): Likewise.
11841         * nss/getent.c (print_version): Likewise.
11842         * nss/makedb.c (print_version): Likewise.
11843         * posix/getconf.c (main): Likewise.
11844         * scripts/test-installation.pl: Likewise.
11845         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11847         * All files with FSF copyright notices: Update copyright dates
11848         using scripts/update-copyrights.
11849         * intl/plural.c: Regenerated.
11850         * locale/programs/charmap-kw.h: Likewise.
11851         * locale/programs/locfile-kw.h: Likewise.
11853 2016-01-02  Helge Deller  <deller@gmx.de>
11855         [BZ #19285]
11856         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
11857         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
11858         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
11859         (MADV_xxK_PAGES): Remove.
11861 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
11863         [BZ #15421]
11864         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
11865         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
11866         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
11867         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
11869 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
11871         [BZ #19408]
11872         * sysdeps/unix/sysv/linux/personality.c: New file.
11873         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
11874         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
11875         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
11876         (sysdep_routines): Add personality.
11877         (tests): Add tst-personality.
11878         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
11879         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
11880         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
11881         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
11882         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
11883         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
11884         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
11885         Likewise.
11886         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
11887         Likewise.
11888         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
11889         Likewise.
11890         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
11891         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
11892         Likewise.
11894 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
11896         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
11897         (PATH_ARM_SYSTYPE): Remove.
11898         (PATH_CPUINFO): Likewise.
11899         (IO_BASE_FOOTBRIDGE): Likewise.
11900         (IO_SHIFT_FOOTBRIDGE): Likewise.
11901         (struct platform): Likewise.
11902         (init_iosys): Remove compatibility code for 2.4 kernels.
11903         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
11905 2015-12-29  Florian Weimer  <fweimer@redhat.com>
11907         * malloc/tst-malloc-thread-fail.c: New file.
11908         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
11909         (tst-malloc-thread-fail): Link against libpthread.
11911 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
11913         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
11914         (get_parser): New function.
11915         (main): New function.
11917 2015-12-29  Rob Wu  <rob@robwu.nl>
11919         [BZ #19369]
11920         * resolv/res_init.c (__res_vinit): Reset defdname before use.
11922 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
11924         [BZ #19270]
11925         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11927 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
11929         [BZ #15421]
11930         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
11932 2015-12-23  Torvald Riegel  <triegel@redhat.com>
11934         [BZ #13690]
11935         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
11936         after releasing it.
11937         (__lll_robust_unlock): Likewise.
11938         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
11939         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
11940         (lll_robust_unlock): Likewise.
11941         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
11942         Prevent warnings in callers.
11944 2015-12-23  Florian Weimer  <fweimer@redhat.com>
11946         * malloc/arena.c (list_lock): Update comment.
11948 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11950         * sysdeps/powerpc/hwcapinfo.c: Export symbol
11951         __parse_hwcap_and_convert_at_platform to libc.a.
11953 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
11956         platform and feature support for POWER9.
11957         * sysdeps/powerpc/dl-procinfo.h: Likewise.
11958         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
11959         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
11960         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
11961         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
11962         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
11963         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
11964         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
11966 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11968         Harmonize generic stdio-lock support with nptl
11970         This fixes build when _IO_funlockfile is a macro, fixes build where
11971         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
11972         stack unwind.
11974         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
11975         _IO_release_lock ): Use cleanup attribute on new
11976         _IO_acquire_lock_file variable instead of assuming that
11977         _IO_release_lock will be called.
11978         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
11979         _IO_acquire_lock_needs_exceptions_enabled.
11980         (_IO_acquire_lock_clear_flags2): New macro.
11982 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11984         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
11986 2015-12-21  Florian Weimer  <fweimer@redhat.com>
11988         [BZ #19182]
11989         * malloc/arena.c (list_lock): Document lock ordering requirements.
11990         (free_list_lock): New lock.
11991         (ptmalloc_lock_all): Comment on free_list_lock.
11992         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
11993         (detach_arena): Update comment.  free_list_lock is now needed.
11994         (_int_new_arena): Use free_list_lock around detach_arena call.
11995         Acquire arena lock after list_lock.  Add comment, including FIXME
11996         about incorrect synchronization.
11997         (get_free_list): Switch to free_list_lock.
11998         (reused_arena): Acquire free_list_lock around detach_arena call
11999         and attached threads counter update.  Add two FIXMEs about
12000         incorrect synchronization.
12001         (arena_thread_freeres): Switch to free_list_lock.
12002         * malloc/malloc.c (struct malloc_state): Update comments to
12003         mention free_list_lock.
12005 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
12007         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
12008         Remove functions.
12009         (sloww, sloww1): Accept argument to offset quadrant.
12010         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
12011         quadrant.
12012         (__sin, __cos): Consolidate common code into new functions.
12013         (reduce_sincos_1, do_sincos_1): New functions.
12014         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12016         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
12017         code to new functions.
12018         (reduce_sincos_2, do_sincos_2): New functions.
12019         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
12021         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
12022         common code for sincos.
12023         (__cos) [!IN_SINCOS]: Likewise.
12024         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
12025         New function.
12026         (__sincos): Use it.
12028 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
12030         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
12031         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
12032         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
12034 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12036         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
12037         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
12038         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
12039         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
12040         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12041         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
12042         index_Prefer_No_VZEROUPPER): New feature.
12043         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
12044         Prefer_No_VZEROUPPER for Knights Landing.
12046 015-12-18  Torvald Riegel  <triegel@redhat.com>
12048         * math/atest-exp2.c (mp_exp_m1): Remove.
12050 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12052         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
12053         syscalls.
12054         (__SYSCALL0): New macro.
12055         (__SYSCALL1): Likewise.
12056         (__SYSCALL2): Likewise.
12057         (__SYSCALL3): Likewise.
12058         (__SYSCALL4): Likewise.
12059         (__SYSCALL5): Likewise.
12060         (__SYSCALL6): Likewise.
12061         (__SYSCALL_CONCAT_X): Likewise.
12062         (__SYSCALL_CONCAT): Likewise.
12063         (__SYSCALL_DIST): Likewise.
12064         (__SYSCALL_CALL): Likewise.
12066 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
12068         [BZ #19363]
12069         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
12071 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12073         [BZ #19375]
12074         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
12075         negative subnormals.
12077 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
12079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
12080         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
12081         (INTERNAL_SYSCALL_NCS): Use it.
12082         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
12084 2015-12-16  Florian Weimer  <fweimer@redhat.com>
12086         [BZ #19243]
12087         * malloc/arena.c (get_free_list): Remove assert and adjust
12088         reference count handling.  Add comment about reused_arena
12089         interaction.
12090         (reused_arena): Add comments abount get_free_list interaction.
12091         * malloc/tst-malloc-thread-exit.c: New file.
12092         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
12093         (tst-malloc-thread-exit): Link against libpthread.
12095 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12097         [BZ #19367]
12098         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
12099         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
12100         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
12101         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
12102         (index_Prefer_MAP_32BIT_EXEC): Likewise.
12104 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
12106         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
12107         Silvermont optimizations for Knights Landing.
12109 2015-12-15  Andreas Schwab  <schwab@suse.de>
12111         [BZ #17197]
12112         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
12113         immediately after emitting SI.
12114         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
12115         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
12116         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
12117         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
12118         * iconvdata/bug-iconv10.c: New file.
12119         * iconvdata/Makefile (tests): Add bug-iconv10.
12120         ($(objpfx)bug-iconv10.out): New rule.
12122 2015-12-15  Florian Weimer  <fweimer@redhat.com>
12124         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
12125         aliasing violation.
12127 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
12129         [BZ #18472]
12130         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
12131         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
12132         conditionals for them.
12133         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
12134         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
12135         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
12136         sys/kdaemon.h.
12137         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
12138         compat-only syscall, obsoleted in glibc 2.23.
12139         (create_module): Likewise.
12140         (get_kernel_syms): Likewise.
12141         (query_module): Likewise.
12142         (uselib): Likewise.
12143         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
12145 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
12147         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
12148         <linux/version.h>.
12149         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
12150         conditional code.
12151         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
12152         and ioshift_name initialization.
12154 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12156         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
12157         Fix indentation.
12159 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12161         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
12163 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
12165         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
12167 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
12168             Jakub Wilk  <jwilk@debian.org>
12170         [BZ #19347]
12171         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
12172         to change the group of the device to the tty group.
12174 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
12176         Split large string section; add truncation advice
12177         * manual/examples/strncat.c: Remove.
12178         This example was misleading, as the code would have undefined
12179         behavior if "hello" was longer than SIZE.  Anyway, the manual
12180         shouldn't encourage strncpy+strncat for this sort of thing.
12181         * manual/string.texi (Copying Strings and Arrays): Split into
12182         three sections Copying Strings and Arrays, Concatenating Strings,
12183         and Truncating Strings, as this section was way too long.  All
12184         cross-referenced changed.  Add advice about string-truncation
12185         functions.  Remove misleading strncat example.
12187 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
12189         * manual/nss.texi (NSS Modules Interface): Document
12190         NSS_STATUS_NOTFOUND and SUCCESS.
12192 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12194         [BZ 18568]
12195         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
12196         201505L, for Unicode 8.
12198 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
12200         * locale/C-translit.h: Regenerate.
12202 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
12204         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
12205         and U+0153.
12207 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
12209         [BZ #19351]
12210         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
12211         expanding log(1+z), compare z rather than its square with epsilon
12212         to determine when to avoid evaluating the expansion.
12214         [BZ #19350]
12215         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
12216         Increase overflow threshold.
12218         [BZ #19349]
12219         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
12220         when small.
12222         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12224         New macro.
12225         [__LINUX_KERNEL_VERSION >= 0x040300]
12226         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12227         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12228         Likewise.
12229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12230         Likewise.
12231         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12232         Likewise.
12233         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12234         Likewise.
12235         [__LINUX_KERNEL_VERSION >= 0x040300]
12236         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12237         [__LINUX_KERNEL_VERSION >= 0x040300]
12238         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12239         [__LINUX_KERNEL_VERSION >= 0x040300]
12240         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12241         [__LINUX_KERNEL_VERSION >= 0x040300]
12242         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12243         [__LINUX_KERNEL_VERSION >= 0x040300]
12244         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12245         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12246         Likewise.
12247         [__LINUX_KERNEL_VERSION >= 0x040300]
12248         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12249         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12250         Likewise.
12251         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12252         Likewise.
12253         [__LINUX_KERNEL_VERSION >= 0x040300]
12254         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12255         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12256         Likewise.
12257         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12258         Likewise.
12259         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12260         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
12261         Likewise.
12262         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
12263         Likewise.
12264         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
12265         Likewise.
12266         [__LINUX_KERNEL_VERSION >= 0x040300]
12267         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12268         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
12269         Likewise.
12270         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
12271         Likewise.
12272         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
12273         Likewise.
12274         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
12275         Likewise.
12276         [__LINUX_KERNEL_VERSION >= 0x040300]
12277         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
12278         [__LINUX_KERNEL_VERSION >= 0x040300]
12279         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12280         [__LINUX_KERNEL_VERSION >= 0x040300]
12281         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12282         [__LINUX_KERNEL_VERSION >= 0x040300]
12283         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12284         [__LINUX_KERNEL_VERSION >= 0x040300]
12285         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12286         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
12287         Likewise.
12288         [__LINUX_KERNEL_VERSION >= 0x040300]
12289         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
12290         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
12291         Likewise.
12292         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
12293         Likewise.
12294         [__LINUX_KERNEL_VERSION >= 0x040300]
12295         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
12296         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
12297         Likewise.
12298         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
12299         Likewise.
12300         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12301         (__ASSUME_SOCKET_SYSCALL): Likewise.
12302         (__ASSUME_BIND_SYSCALL): Likewise.
12303         (__ASSUME_CONNECT_SYSCALL): Likewise.
12304         (__ASSUME_LISTEN_SYSCALL): Likewise.
12305         (__ASSUME_ACCEPT_SYSCALL): Likewise.
12306         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12307         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12308         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12309         (__ASSUME_SEND_SYSCALL): Likewise.
12310         (__ASSUME_SENDTO_SYSCALL): Likewise.
12311         (__ASSUME_RECV_SYSCALL): Likewise.
12312         (__ASSUME_RECVFROM_SYSCALL): Likewise.
12313         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
12314         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12315         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12316         (__ASSUME_SENDMSG_SYSCALL): Likewise.
12317         (__ASSUME_RECVMSG_SYSCALL): Likewise.
12318         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12319         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
12320         Likewise.
12321         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
12322         Likewise.
12323         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
12324         Likewise.
12325         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
12326         Likewise.
12327         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
12328         Likewise.
12329         [__LINUX_KERNEL_VERSION >= 0x020625]
12330         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
12331         [__LINUX_KERNEL_VERSION >= 0x020625]
12332         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
12333         [__LINUX_KERNEL_VERSION >= 0x020625]
12334         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
12335         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
12336         Likewise.
12337         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
12338         Likewise.
12339         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
12340         Likewise.
12341         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
12342         Likewise.
12343         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
12344         Likewise.
12345         [__LINUX_KERNEL_VERSION >= 0x020625]
12346         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
12347         [__LINUX_KERNEL_VERSION >= 0x020625]
12348         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
12349         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
12350         Likewise.
12351         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
12352         Likewise.
12354 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12356         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
12357         record the current if the current ABI and CPU support the FP64
12358         extension.
12359         (has-modd-spreg): Define to record the current if the current ABI and
12360         CPU support 32-bit floating point values in odd FPU registers.
12361         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12362         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
12363         $(has-modd-spreg) equals yes.
12364         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
12365         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
12366         $(has-modd-spreg) equal yes.
12368 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
12370         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
12371         basename.
12373 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
12375         * benchtests/Makefile (bench-math): Move ffs and ffsll...
12376         (bench-string): ... here.
12377         (bench): Add bench-string.
12378         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
12379         to *-benchset to reflect what they are.
12380         (benchset): Adjust.
12382         * benchtests/sincos-inputs: Add inputs from sin-inputs and
12383         cos-inputs.
12385 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
12387         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
12388         __attribute__ ((__simd__)) for vector math function declarations.
12390 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12392         Fix typo in strncat, wcsncat manual entries
12393         * manual/string.texi (Copying and Concatenation): Fix typos in
12394         sample implementations of strncat and wcsncat, by having them use
12395         the old value of the destination length, not the new one.
12397 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
12399         [BZ #16961]
12400         [BZ #16962]
12401         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
12402         string on the stack for strtod.
12403         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
12404         a string on the stack for strtof.
12405         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
12406         constructing a string on the stack for strtold.
12407         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
12408         __strtold_nan to GLIBC_PRIVATE.
12409         * math/test-nan-overflow.c: New file.
12410         * math/test-nan-payload.c: Likewise.
12411         * math/Makefile (tests): Add test-nan-overflow and
12412         test-nan-payload.
12414 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12416         Consistency about byte vs character in string.texi
12417         * manual/string.texi (String and Array Utilities):
12418         Distinguish more carefully among bytes, multibyte characters,
12419         and wide characters.  Use "byte" when talking about C 'char',
12420         to distinguish it more clearly from multibyte characters.
12421         Say "wide character" or "multibyte character" instead of
12422         "character", when a wide or multibyte character is intended.
12423         Similarly for "multibyte string" versus "string".
12424         Define these terms more carefully.
12426 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
12428         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
12429         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
12430         Likewise.
12431         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12432         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
12433         * sysdeps/sh/math_private.h: New file.
12434         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
12435         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
12436         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
12437         long double function name.
12438         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12439         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12440         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
12441         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
12442         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
12443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
12444         Remove __finitel, __isinfl, and __isnanl.
12445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12446         Likewise.
12447         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12448         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12449         Remove __finitel.
12450         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12451         Likewise.
12452         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12454 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
12456         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
12457         installed libmvec_nonshared.a.
12459 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12461         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
12462         (sysdep_routines): Likewise.
12463         (sysdep-rtld-routines): Likewise.
12464         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
12465         [$(subdir) = nptl](tests-static): test-get_hwcap-static
12466         * sysdeps/powerpc/Versions: Added new
12467         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
12468         * sysdeps/powerpc/hwcapinfo.c: New file.
12469         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
12470         and parse hwcap, hwcap2 and platform number information.
12471         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
12472         to store HWCAP+HWCAP2 and platform number.
12473         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
12474         for HWCAP+HWCAP2 and platform number in the TCB.
12475         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
12476         the HWCAP, HWCAP2 and platform number in the TCB.
12477         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
12478         (TLS_INIT_TP): Included calls to add the hwcap and
12479         at_platform values in the TCB in TP initialization.
12480         (TLS_DEFINE_INIT_TP): Likewise.
12481         (THREAD_GET_HWCAP): New macro.
12482         (THREAD_SET_HWCAP): Likewise.
12483         (THREAD_GET_AT_PLATFORM): Likewise.
12484         (THREAD_SET_AT_PLATFORM): Likewise.
12485         * sysdeps/powerpc/powerpc32/dl-machine.h:
12486         (dl_platform_init): New function that calls
12487         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
12488         powerpc32.
12489         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
12490         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
12491         this functionality, static linking case.
12492         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
12493         linking case.
12494         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
12495         __parse_hwcap_and_convert_at_platform for the static linking case.
12496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
12497         Included the new __parse_hwcap_and_convert_at_platform symbol in the
12498         ABI list for GLIBC 2.23.
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
12500         Likewise.
12501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
12502         Likewise.
12504 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
12506         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
12507         * configure: Regenerate.
12508         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
12509         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
12511 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
12513         * iconvdata/ibm930.c: Add comment explaining encoding uses.
12514         * iconvdata/ibm933.c: Likewise.
12515         * iconvdata/ibm935.c: Likewise.
12516         * iconvdata/ibm937.c: Likewise.
12517         * iconvdata/ibm939.c: Likewise.
12519 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12521         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
12522         pthread_join.
12523         * nptl/tst-cancel21.c (tf): Likewise.
12525 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
12527         [BZ #19313]
12528         * bits/typesizes.h (__CPU_MASK_TYPE): New.
12529         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12530         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
12531         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
12532         Likewise.
12533         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
12534         Likewise.
12535         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
12536         Likewise.
12537         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
12538         Likewise.
12539         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
12540         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
12541         unsigned long int with __CPU_MASK_TYPE.
12543 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12545         * sysdeps/aarch64/libm-test-ulps: Regenerated.
12547 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
12549         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
12550         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
12551         t512.x.
12552         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
12554 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
12556         [BZ #19214]
12557         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
12558         argument to return extended model.  Update family and model
12559         with extended family and model when family == 0x0f.
12560         (init_cpu_features): Updated.
12562 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12564         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
12565         signed off_t, so 32bit bigger than 2GiB values are fine actually.
12567         * sysdeps/mach/hurd/mmap64.c: New file.
12569 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
12571         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
12572         rights for its main user thread in NEWTASK.
12574 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
12576         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
12577         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
12579 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
12581         [BZ #14259]
12582         * Makeconfig: Rename localedir to complocaledir.
12583         Rename inst_localedir to inst_complocaledir.
12584         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
12585         * config.make.in: Use complocaledir and libc_cv_complocaledir.
12586         * configure.ac: Use libc_cv_complocaledir.
12587         * configure: Regenerate.
12588         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
12589         -DCOMPLOCALEDIR.
12590         * locale/findlocale.c: Use COMPLOCALEDIR.
12591         * locale/loadarchive.c: Likewise.
12592         * locale/programs/locale.c: Likewise.
12593         * locale/programs/localedef.c: Likewise.
12594         * locale/programs/locarchive.c: Likewise.
12595         * localedata/Makefile: Use inst_complocaledir.
12596         * sysdeps/gnu/configure: Regenerate.
12597         * sysdeps/hppa/configure: Regenerate.
12598         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
12599         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12601         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
12602         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
12603         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
12604         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
12606 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
12608         [BZ #19058]
12609         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
12610         AS_NEEDED.
12611         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
12612         workaround.
12613         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
12614         libmvec-static-only-routines): Added new file.
12615         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
12617 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12619         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
12620         of interrupted RPC instead of restoring it.
12622         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
12623         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
12624         libc_hidden_def.
12625         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
12626         into initialized data instead of common. Define rtld_hidden_data_def.
12627         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
12628         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
12629         libc_hidden_def.
12630         (if_freenameindex): Add libc_hidden_weak.
12631         (if_nameindex): Add libc_hidden_weak.
12632         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
12633         __open64.
12634         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
12635         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
12636         * sysdeps/mach/nanosleep.c: Include <time.h>
12637         (__nanosleep): Rename to __libc_nanosleep.
12638         (__nanosleep): Add weak_alias.
12639         (nanosleep): Update alias.
12641 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
12643         * stdlib/strtod_nan.c: New file.
12644         * stdlib/strtod_nan_double.h: Likewise.
12645         * stdlib/strtod_nan_float.h: Likewise.
12646         * stdlib/strtod_nan_main.c: Likewise.
12647         * stdlib/strtod_nan_narrow.h: Likewise.
12648         * stdlib/strtod_nan_wide.h: Likewise.
12649         * stdlib/strtof_nan.c: Likewise.
12650         * stdlib/strtold_nan.c: Likewise.
12651         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
12652         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
12653         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
12654         * wcsmbs/wcstod_nan.c: Likewise.
12655         * wcsmbs/wcstof_nan.c: Likewise.
12656         * wcsmbs/wcstold_nan.c: Likewise.
12657         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
12658         strtold_nan.
12659         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
12660         wcstof_nan.
12661         * include/stdlib.h (__strtof_nan): Declare and use
12662         libc_hidden_proto.
12663         (__strtod_nan): Likewise.
12664         (__strtold_nan): Likewise.
12665         (__wcstof_nan): Likewise.
12666         (__wcstod_nan): Likewise.
12667         (__wcstold_nan): Likewise.
12668         * include/wchar.h (____wcstoull_l_internal): Declare.
12669         * stdlib/strtod_l.c: Do not include <ieee754.h>.
12670         (____strtoull_l_internal): Remove declaration.
12671         (STRTOF_NAN): Define macro.
12672         (SET_MANTISSA): Remove macro.
12673         (STRTOULL): Likewise.
12674         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
12675         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
12676         (STRTOF_NAN): Define macro.
12677         (SET_MANTISSA): Remove macro.
12678         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
12679         (SET_MANTISSA): Remove macro.
12680         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
12681         macro.
12682         (SET_MANTISSA): Remove macro.
12683         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
12684         macro.
12685         (SET_MANTISSA): Remove macro.
12686         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
12687         (SET_MANTISSA): Remove macro.
12688         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
12689         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
12690         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
12692         [BZ #19266]
12693         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
12694         upper case and lower case letters inside NAN(), not using TOLOWER.
12695         * stdlib/tst-strtod-nan-locale-main.c: New file.
12696         * stdlib/tst-strtod-nan-locale.c: Likewise.
12697         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
12698         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
12699         Depend on $(gen-locales).
12700         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
12701         * wcsmbs/tst-wcstod-nan-locale.c: New file.
12702         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
12703         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
12704         Depend on $(gen-locales).
12705         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
12707 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
12709         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
12711         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
12712         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
12713         __finitel, __isinfl, and __isnanl.
12714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
12715         Likewise.
12716         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
12718         __finitel.
12719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12720         Likewise.
12721         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12723 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
12725         * malloc/memusage.c (me): Remove redundant getenv call.
12727 2015-10-24  Florian Weimer  <fweimer@redhat.com>
12729         [BZ #19143]
12730         [BZ #19164]
12731         * nptl/check-cpuset.h: Remove.
12732         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
12733         Remove CPU set size check.
12734         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
12735         Likewise.
12736         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
12737         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
12738         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
12739         (__pthread_setaffinity_new): Remove CPU set size check.
12740         * sysdeps/unix/sysv/linux/sched_setaffinity.c
12741         (__kernel_cpumask_size): Remove.
12742         (__sched_setaffinity_new): Remove CPU set size check.
12743         * manual/threads.texi (Default Thread Attributes): Remove stale
12744         reference to check_cpuset_attr, determine_cpumask_size in comment.
12745         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
12746         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
12747         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
12748         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
12749         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
12750         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
12751         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
12752         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
12753         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
12754         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
12755         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
12756         skeleton test file.
12757         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
12758         tst-affinity-pid.
12760 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12762         * scripts/update-abilist.sh: New file.
12763         * Makefile (+subdir_targets): Add subdir_update-all-abi.
12764         * Makerules (update-all-abi-%, update-all-abi)
12765         (subdir_update-all-abi): New targets.
12766         * elf/Makefile (update-all-abi): New target.
12768 2015-11-24  Florian Weimer  <fweimer@redhat.com>
12770         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
12771         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
12772         (__libc_lock_define_initialized): Use it.
12773         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
12774         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
12775         * malloc/malloc.c (main_arena): Likewise.
12776         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12777         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
12779 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
12781         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
12782         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
12783         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12784         (PTRACE_O_MASK): Update value.
12785         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
12786         New value in enum __ptrace_setoptions.
12787         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12788         (PTRACE_O_MASK): Update value.
12789         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
12790         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12791         (PTRACE_O_MASK): Update value.
12792         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
12793         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12794         (PTRACE_O_MASK): Update value.
12795         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
12796         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
12797         (PTRACE_O_MASK): Update value.
12798         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
12799         New value in enum __ptrace_setoptions.
12800         (PTRACE_O_MASK): Update value.
12801         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
12802         New value in enum __ptrace_setoptions.
12803         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
12804         (PTRACE_O_MASK): Update value.
12806         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
12807         New macro.
12808         (PACKET_AUXDATA): Likewise.
12809         (PACKET_ORIGDEV): Likewise.
12810         (PACKET_VERSION): Likewise.
12811         (PACKET_HDRLEN): Likewise.
12812         (PACKET_RESERVE): Likewise.
12813         (PACKET_TX_RING): Likewise.
12814         (PACKET_LOSS): Likewise.
12815         (PACKET_VNET_HDR): Likewise.
12816         (PACKET_TX_TIMESTAMP): Likewise.
12817         (PACKET_TIMESTAMP): Likewise.
12818         (PACKET_FANOUT): Likewise.
12819         (PACKET_TX_HAS_OFF): Likewise.
12820         (PACKET_QDISC_BYPASS): Likewise.
12821         (PACKET_ROLLOVER_STATS): Likewise.
12822         (PACKET_FANOUT_DATA): Likewise.
12823         (PACKET_MR_UNICAST): Likewise.
12825         [BZ #19242]
12826         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
12827         (TOUPPER): Likewise.
12828         * stdlib/tst-strtol-locale-main.c: New file.
12829         * stdlib/tst-strtol-locale.c: Likewise.
12830         * stdlib/Makefile (tests): Add tst-strtol-locale.
12831         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
12832         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
12833         Depend on $(gen-locales).
12834         * wcsmbs/tst-wcstol-locale.c: New file.
12835         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
12836         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
12837         tr_TR.ISO-8859-9.
12838         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
12839         Depend on $(gen-locales).
12841 2015-11-20  Roland McGrath  <roland@hack.frob.com>
12843         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
12844         __glibc_likely instead of __builtin_expect.  After falling back to
12845         dyncode_create in a non-ET_DYN case, use the allocate_code_data
12846         system interface to register the code pages as occupied.
12848 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
12850         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12851         [!ARM_MATH_PRIVATE_H].
12852         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
12853         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12854         [!HPPA_MATH_PRIVATE_H].
12855         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
12856         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
12857         to [!I386_MATH_PRIVATE_H].
12858         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
12859         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
12860         Change guard to [!M68K_MATH_PRIVATE_H].
12861         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
12862         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
12863         guard to [!MICROBLAZE_MATH_PRIVATE_H].
12864         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
12865         macro.
12866         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12867         [!MIPS_MATH_PRIVATE_H].
12868         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
12869         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12870         [!NIO2_MATH_PRIVATE_H].
12871         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
12872         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
12873         [!TILE_MATH_PRIVATE_H].
12874         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
12876         [BZ #15421]
12877         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
12878         initialize with 0 and define as weak alias of __signgam.
12879         * include/math.h [!_ISOMAC] (__signgam): Declare.
12880         * math/Makefile (libm-calls): Add w_lgamma_compat.
12881         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
12882         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
12883         test-signgam-ullong-init.
12884         (tests-static): Add test-signgam-uchar-static,
12885         test-signgam-uchar-init-static, test-signgam-uint-static,
12886         test-signgam-uint-init-static, test-signgam-ullong-static and
12887         test-signgam-ullong-init-static.
12888         (CFLAGS-test-signgam-uchar.c): New variable.
12889         (CFLAGS-test-signgam-uchar-init.c): Likewise.
12890         (CFLAGS-test-signgam-uchar-static.c): Likewise.
12891         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
12892         (CFLAGS-test-signgam-uint.c): Likewise.
12893         (CFLAGS-test-signgam-uint-init.c): Likewise.
12894         (CFLAGS-test-signgam-uint-static.c): Likewise.
12895         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
12896         (CFLAGS-test-signgam-ullong.c): Likewise.
12897         (CFLAGS-test-signgam-ullong-init.c): Likewise.
12898         (CFLAGS-test-signgam-ullong-static.c): Likewise.
12899         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
12900         * math/Versions (libm): Add GLIBC_2.23.
12901         * math/lgamma-compat.h: New file.
12902         * math/test-signgam-main.c: Likewise.
12903         * math/test-signgam-uchar-init-static.c: Likewise.
12904         * math/test-signgam-uchar-init.c: Likewise.
12905         * math/test-signgam-uchar-static.c: Likewise.
12906         * math/test-signgam-uchar.c: Likewise.
12907         * math/test-signgam-uint-init-static.c: Likewise.
12908         * math/test-signgam-uint-init.c: Likewise.
12909         * math/test-signgam-uint-static.c: Likewise.
12910         * math/test-signgam-uint.c: Likewise.
12911         * math/test-signgam-ullong-init-static.c: Likewise.
12912         * math/test-signgam-ullong-init.c: Likewise.
12913         * math/test-signgam-ullong-static.c: Likewise.
12914         * math/test-signgam-ullong.c: Likewise.
12915         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
12916         wrapper of w_lgamma_main.c.
12917         * math/w_lgamma_compat.c: New file.
12918         * math/w_lgamma_compatf.c: Likewise.
12919         * math/w_lgamma_compatl.c: Likewise.
12920         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
12921         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12922         defining compatibility symbols.
12923         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
12924         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
12925         wrapper of w_lgammaf_main.c.
12926         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
12927         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12928         defining compatibility symbols.
12929         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
12930         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
12931         wrapper of w_lgammal_main.c.
12932         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
12933         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
12934         defining compatibility symbols.
12935         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
12936         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
12937         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
12938         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
12939         <lgamma-compat.h>.
12940         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
12941         (__ieee754_gamma): Define as alias.
12942         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
12943         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
12944         <lgamma-compat.h>.
12945         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
12946         (__ieee754_gammaf): Define as alias.
12947         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
12948         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
12949         <lgamma-compat.h>.
12950         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
12951         (__ieee754_gammal): Define as alias.
12952         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
12953         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
12954         <math/w_lgamma_compat.c>.
12955         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
12956         Define as alias of __lgamma_compat and use in defining lgammal.
12957         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
12958         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
12959         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
12960         (USE_AS_COMPAT): New macro.
12961         (LGAMMA_OLD_VER): Undefine and redefine.
12962         (lgammal): Do not define here.
12963         (gammal): Only define here if [GAMMA_ALIAS].
12964         * conform/linknamespace.pl (@whitelist): Remove signgam.
12965         * sysdeps/nacl/libm.abilist: Update.
12966         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12967         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12968         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12969         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12970         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12971         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12972         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12973         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12974         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12975         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12976         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12977         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12979         Likewise.
12980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12981         Likewise.
12982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12983         Likewise.
12984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12985         Likewise.
12986         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12987         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12988         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12989         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12990         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12992         Likewise.
12993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12994         Likewise.
12995         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12996         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12997         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12999 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13001         [BZ #16364]
13002         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
13003         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
13005 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
13007         * sysdeps/s390/fpu/bits/mathinline.h:
13008         Use __asm__ [__volatile__] instead of asm [volatile].
13009         * sysdeps/s390/abort-instr.h: Likewise.
13010         * sysdeps/s390/atomic-machine.h: Likewise.
13011         * sysdeps/s390/bits/string.h: Likewise.
13012         * sysdeps/s390/dl-tls.h: Likewise.
13013         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
13014         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
13015         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
13016         * sysdeps/s390/fpu/fesetround.c: Likewise.
13017         * sysdeps/s390/fpu/fpu_control.h: Likewise.
13018         * sysdeps/s390/fpu/s_fma.c: Likewise.
13019         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
13020         * sysdeps/s390/memusage.h: Likewise.
13021         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
13022         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
13023         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
13024         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
13025         * sysdeps/s390/nptl/tls.h: Likewise.
13026         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
13027         * sysdeps/s390/s390-32/backtrace.c: Likewise.
13028         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13029         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13030         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13031         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
13032         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
13033         * sysdeps/s390/s390-64/backtrace.c: Likewise.
13034         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13035         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
13036         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13037         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13038         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
13039         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
13040         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
13041         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
13042         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
13043         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13044         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
13045         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13046         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
13047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13048         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
13050 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13051             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13053         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13054         Add lwarx hint, and use macro for acquire instruction.
13055         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13056         Likewise.
13057         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
13058         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
13059         update to use new atomic macros.
13061 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13063         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
13064         (__lll_trylock_elision): Fix setting of adapt_count.
13065         * sysdeps/unix/sysv/linux/powerpc/htm.h
13066         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
13067         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
13068         (_ABORT_SYSCALL): Renumber, and clarify definition.
13069         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
13071 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13073         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
13074         after system headers to prevent MIN/MAX redefinition.  Define
13075         HAVE_ALLOCA to preserve builtin alloca usage.
13077 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
13079         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
13080         static and don't set or restore rounding.
13081         (__cos)[IN_SINCOS]: Likewise.
13082         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
13083         (__sincos): Set and restore rounding mode.  Remove check for infinite
13084         or NaN input.
13086         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
13088         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
13089         as used.
13091 2015-11-16  Florian Weimer  <fweimer@redhat.com>
13093         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
13095 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
13097         * config.make.in (have-glob-dat-reloc): New.
13098         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
13099         target supports GLOB_DAT relocaton. AC_SUBST.
13100         * configure: Regenerated.
13101         * elf/Makefile (tests): Add tst-prelink.
13102         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13103         (tst-prelink-ENV): New.
13104         ($(objpfx)tst-prelink-conflict.out): Likewise.
13105         ($(objpfx)tst-prelink-cmp.out): Likewise.
13106         * sysdeps/x86/tst-prelink.c: Moved to ...
13107         * elf/tst-prelink.c: Here.
13108         * sysdeps/x86/tst-prelink.exp: Moved to ...
13109         * elf/tst-prelink.exp: Here.
13110         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
13111         (tst-prelink-ENV): Removed.
13112         ($(objpfx)tst-prelink-conflict.out): Likewise.
13113         ($(objpfx)tst-prelink-cmp.out): Likewise.
13114         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
13116 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
13118         [BZ #14551]
13119         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
13120         (__mpn_construct_long_double): If high part overflows to infinity,
13121         set errno and recompute overflowed result of the correct sign.
13122         * sysdeps/ieee754/ldbl-128ibm/Makefile
13123         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
13124         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
13125         $(libm).
13126         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
13128 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
13130         [BZ #15479]
13131         [BZ #19238]
13132         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
13133         floating-point state after first operation on input.  Restore full
13134         state rather than just rounding mode.
13135         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
13136         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
13137         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
13139         [BZ #19235]
13140         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
13141         add 0.5 to integer arguments.
13142         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
13143         Likewise.
13144         (.LC2): New object.
13146 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
13148         * scripts/pylintrc (reports): Set to no.
13150 2015-11-10  Roland McGrath  <roland@hack.frob.com>
13152         * elf/dl-load.c (open_verify): Take new argument FD.
13153         Skip __open call if passed FD is not -1.
13154         (_dl_map_object, open_path): Update callers.
13155         * elf/dl-sysdep-open.h: New file.
13156         * elf/dl-load.c: Include it.
13157         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
13158         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
13159         * sysdeps/nacl/dl-sysdep-open.h: New file.
13160         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
13161         from libc to rtld.
13163 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13165         [BZ #19228]
13166         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
13167         and restore full floating-point state.
13168         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13169         Likewise.
13170         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
13171         Likewise.
13172         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
13173         Likewise.
13174         * math/test-nearbyint-except-2.c: New file.
13175         * math/Makefile (tests): Add test-nearbyint-except-2.
13177 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
13179         [BZ #19178]
13180         * sysdeps/x86/Makefile (tests): Add tst-prelink.
13181         (tst-prelink-ENV): New.
13182         ($(objpfx)tst-prelink-conflict.out): Likewise.
13183         ($(objpfx)tst-prelink-cmp.out): Likewise.
13184         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
13185         * sysdeps/x86/tst-prelink.c: New file.
13186         * sysdeps/x86/tst-prelink.exp: Likewise.
13188 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
13190         * math/auto-libm-test-in: Add another test of pow.
13191         * math/auto-libm-test-out: Regenerated.
13192         * math/libm-test.inc (pow_test_data): Add another test.
13194 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13196         [BZ #19219]
13197         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
13198         weak_alias to nearbyintl.
13200 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13202         * sysdeps/aarch64/bits/string.h: New file.
13203         (_STRING_ARCH_unaligned): Define.
13205 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
13207         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
13208         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
13209         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
13210         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
13211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
13213 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
13215         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
13216         for original name of the DSO.  Add it to the name list of the DSO
13217         if it is actually given.
13218         (_dl_map_object): Keep track of whether an audit module rewrote
13219         the file name.  If yes, pass the original name to
13220         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
13221         debugging is enabled, log the change of the file name.
13222         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
13223         _dl_map_object_from_fd.
13224         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
13225         * elf/tst-audit11.c: New file
13226         * elf/tst-auditmod11.c: New file.
13227         * elf/tst-audit11mod1.c: New file.
13228         * elf/tst-audit11mod2.c: New file.
13229         * elf/tst-audit11mod2.map: New file.
13230         * elf/tst-audit12.c: New file
13231         * elf/tst-auditmod12.c: New file.
13232         * elf/tst-audit12mod1.c: New file.
13233         * elf/tst-audit12mod2.c: New file.
13234         * elf/tst-audit12mod2.map: New file.
13235         * elf/tst-audit12mod3.c: New file.
13237 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13239         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
13240         Don't create weak aliases,
13241         because versioned symbols are created later.
13242         * sysdeps/s390/s390-32/setjmp.S
13243         (setjmp, _setjmp): Remove weak and rename to an unique name
13244         in SHARED case due to existing versioned symbols.
13245         * sysdeps/s390/s390-64/setjmp.S: Likewise.
13246         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
13247         (getcontext): Create weak alias only in non SHARED case.
13248         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
13250 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
13252         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
13253         (__ASSUME_*_SYSCALL) Define new macros.
13254         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
13255         Remove socketcall syscalls.
13256         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
13257         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
13258         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
13259         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
13260         * sysdeps/unix/sysv/linux/send.c (__libc_send):
13261         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
13263 2015-11-09  Florian Weimer  <fweimer@redhat.com>
13265         [BZ #12926]
13266         Terminate process on invalid netlink response.
13267         * sysdeps/unix/sysv/linux/netlinkaccess.h
13268         (__netlink_assert_response): Declare.
13269         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
13270         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
13271         (sysdep_routines): Add netlink_assert_response.
13272         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
13273         __netlink_assert_response.
13274         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
13275         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
13276         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
13277         __netlink_assert_response.
13279 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
13281         [BZ #19178]
13282         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
13283         (RTYPE_CLASS_PLT): Likewise.
13284         (RTYPE_CLASS_COPY): Likewise.
13285         (RTYPE_CLASS_TLS): Likewise.
13286         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
13287         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
13288         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
13289         DL_DEBUG_PRELINK.
13291 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
13293         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
13294         calls with argument -0.5.
13295         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
13297         * configure.ac (libc_cv_z_nodelete): Remove configure test.
13298         (libc_cv_z_nodlopen): Likewise.
13299         (libc_cv_z_initfirst): Likewise.
13300         * configure: Regenerated.
13302 2015-11-06  Florian Weimer  <fweimer@redhat.com>
13304         Simplify abilist format to be line-based.
13305         * scripts/abilist.awk: Collect descriptors in the descs variable.
13306         (emit): Write descs variable and sort it
13307         externally, with sort.
13308         * sysdeps/**/*.abilist: Convert to new format.
13310 2015-11-06  Mark Wielaard  <mjw@redhat.com>
13312         [BZ #11460]
13313         * io/Makefile (routines): Add fts64.
13314         (tests): Add tst-fts and tst-fts-lfs.
13315         (CFLAGS-fts64.c): New.
13316         * io/Versions (GLIBC_2.23): New.
13317         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
13318         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
13319         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
13320         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
13321         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
13322         (FTSENT64): Likewise.
13323         (fts64_children): Likewise.
13324         (fts64_close): Likewise.
13325         (fts64_open): Likewise.
13326         (fts64_read): Likewise.
13327         (fts64_set): Likewise.
13328         * io/fts64.c: New file.
13329         * io/tst-fts.c: New test.
13330         * io/tst-fts-lfs.c: Likewise.
13331         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
13332         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
13333         fts64_set.
13334         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13335         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13336         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13337         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13338         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13339         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13340         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13341         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13346         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13348         Likewise.
13349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13350         Likewise.
13351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13353         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13354         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13355         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13356         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13357         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13360         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13361         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13362         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13363         * sysdeps/wordsize-64/fts.c: New file.
13364         * sysdeps/wordsize-64/fts64.c: Likewise.
13365         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
13366         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
13367         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
13368         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
13370 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13372         * math/libm-test.inc (NON_FINITE): New macro.
13373         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
13374         * math/gen-libm-test.pl (show_exceptions): Add argument
13375         $non_finite.
13376         (parse_args): Update call to show_exceptions.
13377         * math/test-math-finite.h: New file.
13378         * math/test-math-no-finite.h: Likewise.
13379         * math/test-double-finite.c: Likewise.
13380         * math/test-float-finite.c: Likewise.
13381         * math/test-ldouble-finite.c: Likewise.
13382         * math/test-double.c: Include "test-math-no-finite.h".
13383         * math/test-float.c: Include "test-math-no-finite.h".
13384         * math/test-ldouble.c: Include "test-math-no-finite.h".
13385         * math/test-math-inline.h (TEST_FINITE): New macro.
13386         * math/test-math-vector.h (TEST_FINITE): Likewise.
13387         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
13388         (libm-tests): Add test-float-finite and test-double-finite.
13389         ($(objpfx)test-float-finite.o): New dependency on
13390         $(objpfx)libm-test.stmp.
13391         ($(objpfx)test-double-finite.o): Likewise.
13392         ($(objpfx)test-ldouble-finite.o): Likewise.
13393         (libm-test-no-inline-cflags): New variable.
13394         (libm-test-finite-cflags): Likewise.
13395         (CFLAGS-test-float-finite.c): Likewise.
13396         (CFLAGS-test-double-finite.c): Likewise.
13397         (CFLAGS-test-ldouble-finite.c): Likewise.
13398         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
13399         (CFLAGS-test-double.c): Likewise.
13400         (CFLAGS-test-ldouble.c): Likewise.
13402 2015-11-05  Roland McGrath  <roland@hack.frob.com>
13404         * io/fcntl.c (__fcntl): Add ... to prototype.
13405         * misc/ioctl.c (__ioctl): Likewise.
13406         * misc/syscall.c (syscall): Likewise.
13408 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
13410         * scripts/list-fixed-bugs.py: New file.
13412         [BZ #19213]
13413         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
13414         returned for argument 1.
13415         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
13416         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
13417         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
13418         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
13419         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
13420         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
13422         [BZ #19211]
13423         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
13424         __USE_XOPEN], not if [!__USE_ISOC99].
13425         (lgammaf): Likewise.
13426         (lgammal): Likewise.
13427         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
13428         (gammaf): Likewise.
13429         (gammal): Likewise.
13430         * math/test-signgam-finite-c11.c: New file.
13431         * math/test-signgam-finite-c99.c: Likewise.
13432         * math/test-signgam-finite.c: Likewise.
13433         * math/Makefile (tests): Add test-signgam-finite,
13434         test-signgam-finite-c99 and test-signgam-finite-c11.
13435         (CFLAGS-test-signgam-finite.c): New variable.
13436         (CFLAGS-test-signgam-finite-c99.c): Likewise.
13437         (CFLAGS-test-signgam-finite-c11.c): Likewise.
13439         [BZ #19212]
13440         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
13441         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
13442         500].
13443         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
13444         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
13445         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
13446         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
13447         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
13448         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
13449         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
13450         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
13451         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
13452         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
13454         [BZ #19209]
13455         * math/bits/math-finite.h (ldexp): Remove declaration.
13456         (ldexpf): Likewise.
13457         (ldexpl): Likewise.
13459         [BZ #19205]
13460         * math/bits/math-finite.h (acosf): Condition declaration on
13461         [__USE_ISOC99].
13462         (acosl): Likewise.
13463         (acoshf): Likewise.
13464         (acoshl): Likewise.
13465         (asinf): Likewise.
13466         (asinl): Likewise.
13467         (atan2f): Likewise.
13468         (atan2l): Likewise.
13469         (atanhf): Likewise.
13470         (atanhl): Likewise.
13471         (coshf): Likewise.
13472         (coshl): Likewise.
13473         (expf): Likewise.
13474         (expl): Likewise.
13475         (fmodf): Likewise.
13476         (fmodl): Likewise.
13477         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
13478         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
13479         (j0l): Likewise.
13480         (y0f): Likewise.
13481         (y0l): Likewise.
13482         (j1f): Likewise.
13483         (j1l): Likewise.
13484         (y1f): Likewise.
13485         (y1l): Likewise.
13486         (jnf): Likewise.
13487         (jnl): Likewise.
13488         (ynf): Likewise.
13489         (ynl): Likewise.
13490         (lgammaf_r): Condition declaration on [__USE_ISOC99].
13491         (lgammal_r): Likewise.
13492         (__lgamma_r_finite): New declaration.
13493         (__lgammaf_r_finite): Likewise.
13494         (__lgammal_r_finite): Likewise.
13495         (lgamma): Use __lgamma_r_finite.
13496         (lgammaf): Condition definition on [__USE_ISOC99].  Use
13497         __lgammaf_r_finite.
13498         (lgammal): Condition definition on [__USE_ISOC99].  Use
13499         __lgammal_r_finite.
13500         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
13501         __lgamma_r_finite.
13502         (gammaf): Condition definition on [__USE_ISOC99].  Use
13503         __lgammaf_r_finite.
13504         (gammal): Condition definition on [__USE_ISOC99].  Use
13505         __lgammal_r_finite.
13506         (logf): Condition declaration on [__USE_ISOC99].
13507         (logl): Likewise.
13508         (log10f): Likewise.
13509         (log10l): Likewise.
13510         (ldexpf): Likewise.
13511         (ldexpl): Likewise.
13512         (powf): Likewise.
13513         (powl): Likewise.
13514         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
13515         __USE_ISOC99].
13516         (remainderf): Condition declaration on [__USE_ISOC99].
13517         (remainderl): Likewise.
13518         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
13519         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
13520         (scalbl): Likewise.
13521         (sinhf): Condition declaration on [__USE_ISOC99].
13522         (sinhl): Likewise.
13523         (sqrtf): Likewise.
13524         (sqrtl): Likewise.
13526 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13528         * sysdeps/arm/atomic-machine.h
13529         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13530         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13531         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
13532         Remove conditional code.
13533         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
13534         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
13535         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
13536         Change conditional to [__ASSEMBLER__].
13537         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13538         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
13539         [!__ASSEMBLER__].
13540         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
13541         code.
13542         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
13543         conditional macro definitions.
13544         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
13545         (__arch_compare_and_exchange_val_16_acq): Likewise.
13546         (__arch_compare_and_exchange_val_32_acq): Likewise.
13547         (atomic_exchange_and_add): Likewise.
13548         (atomic_add): Likewise.
13549         (atomic_add_negative): Likewise.
13550         (atomic_add_zero): Likewise.
13551         (atomic_bit_set): Likewise.
13552         (atomic_bit_test_set): Likewise.
13553         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
13554         code unconditional.
13555         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13557         * math/test-math-errno.h: New file.
13558         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
13559         empty.
13560         (TEST_ERRNO): New macro.
13561         (TEST_EXCEPTIONS): Likewise.
13562         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
13563         (TEST_EXCEPTIONS): Likewise.
13564         * math/test-math-vector.h (TEST_ERRNO): Likewise.
13565         * math/test-double.c: Include "test-math-errno.h".
13566         * math/test-float.c: Likewise.
13567         * math/test-ldouble.c: Likewise.
13568         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
13569         code unconditional.
13570         (test_exceptions): Only run code if TEST_EXCEPTIONS.
13571         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
13572         unconditional.
13573         (test_errno): Only run code if TEST_ERRNO.
13574         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
13576 2015-11-04  Florian Weimer  <fweimer@redhat.com>
13578         * nptl/tst-once5.cc: Remove attribution.
13580 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
13582         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
13583         sqrt, tan, tanh, y0, y1 and yn.
13584         * math/auto-libm-test-out: Regenerated.
13585         * math/libm-test.inc (scalb_test_data): Add more tests.
13586         (scalbn_test_data): Likewise.
13587         (scalbln_test_data): Likewise.
13588         (signbit_test_data): Likewise.
13589         (sin_test_data): Likewise.
13590         (sincos_test_data): Likewise.
13591         (sinh_test_data): Likewise.
13592         (sqrt_test_data): Likewise.
13593         (tan_test_data): Likewise.
13594         (tanh_test_data): Likewise.
13595         (tgamma_test_data): Likewise.
13596         (y0_test_data): Likewise.
13597         (y1_test_data): Likewise.
13598         (yn_test_data): Likewise.
13599         (significand_test_data): Likewise.
13600         * sysdeps/i386/fpu/libm-test-ulps: Update.
13602 2015-11-03  David Kastrup  <dak@gnu.org>
13604         [BZ #18604]
13605         * assert/assert.h (assert): Don't macro-expand failed assertion
13606         expression in error message.
13607         * malloc/malloc.c (assert): Likewise.
13609 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
13611         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
13612         test.
13613         * configure: Regenerated.
13615 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
13617         * math/libm-test.inc (modf_test_data): Add more tests.
13618         (nearbyint_test_data): Likewise.
13619         (nextafter_test_data): Likewise.
13620         (nexttoward_test_data): Likewise.
13621         (pow_test_data): Likewise.
13622         (remainder_test_data): Likewise.
13623         (remquo_test_data): Likewise.
13624         (rint_test_data): Likewise.
13626         [BZ #19201]
13627         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
13628         Check for zero remainder in case of large exponents and ensure
13629         correct sign of result in that case.
13630         * math/libm-test.inc (remainder_test_data): Add more tests.
13632         [BZ #6799]
13633         * math/s_nextafter.c: Include <errno.h>.
13634         (__nextafter): Set errno on overflow and underflow.
13635         * math/s_nexttowardf.c: Include <errno.h>.
13636         (__nexttowardf): Set errno on overflow and underflow.
13637         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
13638         (__nextafterl): Set errno on overflow and underflow.
13639         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
13640         (__nexttoward): Set errno on overflow and underflow.
13641         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
13642         (__nexttowardf): Set errno on overflow and underflow.
13643         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
13644         (__nextafterf): Set errno on overflow and underflow.
13645         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
13646         (__nextafterl): Set errno on overflow and underflow.
13647         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
13648         (__nexttoward): Set errno on overflow and underflow.
13649         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
13650         (__nexttowardf): Set errno on overflow and underflow.
13651         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
13652         (__nextafterl): Set errno on overflow and underflow.
13653         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
13654         (__nexttoward): Set errno on overflow and underflow.
13655         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
13656         (__nexttowardf): Set errno on overflow and underflow.
13657         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
13658         (__nexttoward): Set errno on overflow and underflow.
13659         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
13660         (__nexttowardf): Set errno on overflow and underflow.
13661         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
13662         (__nldbl_nexttowardf): Set errno on overflow and underflow.
13663         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
13664         (__nextafterl): Set errno on overflow and underflow.
13665         * math/libm-test.inc (nextafter_test_data): Do not allow errno
13666         setting to be missing on overflow.  Add more tests.
13667         (nexttoward_test_data): Likewise.
13669         * configure.ac (libc_cv_initfini_array): Remove configure test.
13670         * configure: Regenerated.
13672 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
13674         [BZ #19189]
13675         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
13676         non-finite argument handle arguments with negative sign.
13678         * math/libm-test.inc (j0_test_data): Do not test sign of zero
13679         result from infinite argument.
13680         (j1_test_data): Likewise.
13681         (jn_test_data): Likewise.
13682         (y0_test_data): Likewise.
13683         (y1_test_data): Likewise.
13684         (yn_test_data): Likewise.
13686         [BZ #16171]
13687         * math/w_remainder.c (drem): Define as weak alias of __remainder.
13688         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
13689         * math/w_remainderf.c (dremf): Define as weak alias of
13690         __remainderf.
13691         * math/w_remainderl.c (dreml): Define as weak alias of
13692         __remainderl.
13693         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
13694         __remainder.
13695         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
13696         __remainderf.
13697         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
13698         __remainderl.
13699         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
13700         weak alias of remainderl.
13701         * sysdeps/ieee754/ldbl-opt/w_remainder.c
13702         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
13703         alias of __remainder.
13704         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
13705         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
13706         strong alias of __remainderl.
13707         (dreml): Use long_double_symbol.
13708         * math/Makefile (libm-calls): Remove w_drem.
13709         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
13710         (CFLAGS-nldbl-drem.c): Remove variable.
13711         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
13712         * math/w_drem.c: Remove file.
13713         * math/w_dremf.c: Likewise.
13714         * math/w_dreml.c: Likewise.
13715         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
13716         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
13717         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
13719         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
13720         * sysdeps/i386/configure: Regenerated.
13721         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
13722         * sysdeps/x86_64/configure: Regenerated.
13724         * configure.ac (libc_cv_asm_protected_directive): Remove configure
13725         test.
13726         (libc_cv_visibility_attribute): Likewise.
13727         (libc_cv_protected_data): Test unconditionally.
13728         (libc_cv_broken_visibility_attribute): Remove configure test.
13729         (libc_cv_have_sdata_section): Test unconditionally.
13730         * configure: Regenerated.
13732         * include/libc-internal.h (libc_max_align_t): Remove typedef.
13733         * include/scratch_buffer.h: Include <stddef.h> instead of
13734         <libc-internal.h>.
13735         (struct scratch_buffer): Use max_align_t instead of
13736         libc_max_align_t.
13738 2015-10-29  Florian Weimer  <fweimer@redhat.com>
13740         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
13741         instead of extend_alloca.  Change control flow to avoid a goto.
13742         Remove assert which is trivially always true.
13744 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13746         [BZ #16068]
13747         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
13748         (FE_ALL_EXCEPT_X86): New macro.
13749         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13750         FE_ALL_EXCEPT.  Ensure precision control is included in
13751         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13752         handle "denormal operand exception" and clear FZ and DAZ bits.
13753         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
13754         (FE_ALL_EXCEPT_X86): New macro.
13755         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
13756         FE_ALL_EXCEPT.  Ensure precision control is included in
13757         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
13758         handle "denormal operand exception" and clear FZ and DAZ bits.
13759         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
13760         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
13761         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13762         test-fenv-x87 and test-fenv-sse-2.
13763         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
13765         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
13766         * math/test-double.h (BUILD_COMPLEX): New macro.
13767         * math/test-float.h (BUILD_COMPLEX): Likewise.
13768         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
13770         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
13771         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
13772         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
13773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
13774         instead of DBL_DENORM_MIN in comment.
13775         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
13776         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13777         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
13778         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
13779         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
13780         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
13782 2015-10-28  Florian Weimer  <fweimer@redhat.com>
13784         [BZ# 19048]
13785         * malloc/malloc.c (struct malloc_state): Update comment.  Add
13786         attached_threads member.
13787         (main_arena): Initialize attached_threads.
13788         * malloc/arena.c (list_lock): Update comment.
13789         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
13790         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
13791         (deattach_arena): New function.
13792         (_int_new_arena): Initialize arena reference count and deattach
13793         replaced arena.
13794         (get_free_list, reused_arena): Update reference count and deattach
13795         replaced arena.
13796         (arena_thread_freeres): Update arena reference count and only put
13797         unreferenced arenas on the free list.
13799 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13801         [BZ #19181]
13802         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
13803         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
13804         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
13805         * math/test-fenv-clear-main.c: New file.
13806         * math/test-fenv-clear.c: Likewise.
13807         * math/Makefile (tests): Add test-fenv-clear.
13808         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
13809         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13810         test-fenv-clear-sse.
13811         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
13813         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
13814         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
13815         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
13817 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13819         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
13820         static libc.
13822 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
13824         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
13825         test.
13826         * sysdeps/i386/configure: Regenerated.
13827         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
13828         test.
13829         * sysdeps/x86_64/configure: Regenerated.
13830         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
13831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13832         memset-avx2 unconditionally instead of conditionally on
13833         [$(config-cflags-avx2) = yes].
13834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13835         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
13836         unconditional.
13837         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
13838         * sysdeps/x86_64/multiarch/memset_chk.S
13839         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
13840         to [IS_IN (libc) && SHARED].
13842 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13844         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
13845         configure test.
13846         * sysdeps/arm/configure: Regenerated.
13847         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
13848         Define variable if not already defined.
13850         [BZ #17404]
13851         * sysdeps/mips/atomic-machine.h
13852         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
13853         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
13854         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
13856         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
13857         unconditional.
13858         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
13859         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13860         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
13861         unconditional.
13862         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13863         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
13864         unconditional.
13865         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13866         * stdlib/setenv.c
13867         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
13868         code unconditional.
13869         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
13870         Remove conditional code.
13871         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
13872         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
13873         unconditional.
13874         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13875         code.
13876         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
13877         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
13878         unconditional.
13879         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13880         code.
13881         * sysdeps/ieee754/ldbl-128/k_tanl.c
13882         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13883         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13884         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
13885         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13886         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13887         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
13888         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
13889         unconditional.
13890         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
13891         code.
13892         * sysdeps/ieee754/ldbl-96/k_tanl.c
13893         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
13894         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
13896         * nptl/tst-initializers1-c11.c: New file.
13897         * nptl/tst-initializers1-gnu11.c: Likewise.
13898         * nptl/Makefile (tests): Add these new tests.
13899         (CFLAGS-tst-initializers1-c11.c): New variable.
13900         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
13902         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
13903         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
13904         instead of -std=gnu99.
13905         * configure.ac (systemtap): Test with -std=gnu11 instead of
13906         -std=gnu99.
13907         * configure: Regenerated.
13908         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
13909         in compilation command in comment.
13911         * sysdeps/nptl/configure.ac: Remove file.
13912         * sysdeps/nptl/configure: Remove generated file.
13913         * configure.ac (libc_cv_forced_unwind): Do not substitute.
13914         * configure: Regenerated.
13915         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
13916         * config.make.in (have-forced-unwind): Remove variable.
13917         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13918         unconditional.
13919         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
13920         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
13921         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
13922         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
13923         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
13924         unconditional.
13926 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13928         [BZ #19174]
13929         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
13930         .skip_lock_out_of_tbegin_retries.
13931         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
13932         (__lll_lock_elision): Likewise, and respect a value of
13933         try_tbegin <= 0.
13935 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13937         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
13938         statement.
13940 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13942         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
13943         variable.
13944         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13945         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13947         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
13948         of -std=c1x -D_ISOC11_SOURCE.
13950         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
13951         * configure: Regenerated.
13952         * manual/install.texi (Tools for Compilation): Document
13953         requirement for GCC 4.7 or later.
13954         * INSTALL: Regenerated.
13956 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
13958         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
13959         on CNT to a conditional jump to 'puntdata'.
13961 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
13963         * configure.ac (libc_cv_gcc___thread): Remove configure test.
13964         (libc_cv_gcc_tls_model_attr): Likewise.
13965         * configure: Regenerated.
13967         * configure.ac (libc_cv_need_minus_P): Remove configure test.
13968         * configure: Regenerated.
13969         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
13971 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
13973         * configure.ac (old_glibc_headers): Remove configure test.
13974         * configure: Regenerated.
13975         * config.make.in (old-glibc-headers): Remove variable.
13976         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
13977         (install): Remove dependency on remove-old-headers.
13978         (headers2_0): Remove variable.
13979         (remove-old-headers): Remove rule.
13981         * configure.ac (libc_cv_dot_text): Remove configure test.
13982         (libc_cv_asm_set_directive): Use .text instead of
13983         ${libc_cv_dot_text} in configure test.
13984         * configure: Regenerated.
13986 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13988         [BZ #19168]
13989         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13991 2015-10-26  Florian Weimer  <fweimer@redhat.com>
13993         * configure.ac (CXX): Clear the variable if the C++ toolchain does
13994         not support static linking.
13995         * configure: Regenerate.
13997 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
13999         * math/libm-test.inc (check_float_internal): Do not special-case
14000         errors up to 0.5 ulp.
14002         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
14003         log2.
14004         * math/auto-libm-test-out: Regenerated.
14005         * math/libm-test.inc (MAX_EXP): New macro.
14006         (ilogb_test_data): Add more tests.
14007         (isfinite_test_data): Likewise.
14008         (isgreater_test_data): Likewise.
14009         (isgreaterequal_test_data): Likewise.
14010         (isinf_test_data): Likewise.
14011         (isless_test_data): Likewise.
14012         (islessequal_test_data): Likewise.
14013         (islessgreater_test_data): Likewise.
14014         (isnan_test_data): Likewise.
14015         (isnormal_test_data): Likewise.
14016         (issignaling_test_data): Likewise.
14017         (isunordered_test_data): Likewise.
14018         (j0_test_data): Likewise.
14019         (j1_test_data): Likewise.
14020         (jn_test_data): Likewise.
14021         (lgamma_test_data): Likewise.
14022         (log_test_data): Likewise.
14023         (log10_test_data): Likewise.
14024         (log1p_test_data): Likewise.
14025         (log2_test_data): Likewise.
14026         (logb_test_data): Likewise.
14027         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14029         [BZ #18611]
14030         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
14031         avoid excess range and precision on underflow.
14032         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
14033         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
14034         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
14035         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
14036         underflow.
14037         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
14038         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14039         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
14040         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
14041         * math/auto-libm-test-in: Do not allow missing errno setting for
14042         tests of j1 and jn.
14043         * math/auto-libm-test-out: Regenerated.
14045 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
14047         [BZ #15491]
14048         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
14049         floating-point environment instead of clearing all exceptions.
14050         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
14051         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
14052         merging in "invalid" exceptions from frndint.
14053         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
14054         * math/test-nearbyint-except.c: New file.
14055         * math/Makefile (tests): Add test-nearbyint-except.
14057 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
14059         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
14061         * sysdeps/tile/libm-test-ulps: Regenerated.
14063 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
14066         (__NR_sync_file_range2): Assume it is always defined.
14067         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
14068         (__NR_sync_file_range): Assume it is always defined.
14070 2015-10-22  Andreas Schwab  <schwab@suse.de>
14072         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14073         INTERNAL_SYSCALL_ERRNO.
14074         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14075         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14076         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14077         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14078         Likewise.
14079         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14081 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14083         * io/tst-fcntl.c (fd): New static variable.
14084         (do_prepare): Open temporary file here....
14085         (do_test): ...not here.
14087         * io/ftwtest-sh: Also trap on exit to remove temporary files.
14089 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14091         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
14092         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14093         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14094         Moved before "#ifdef __ASSEMBLER__".
14096 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14098         [BZ #19156]
14099         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
14100         arguments very close to 0.
14102 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
14104         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
14105         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
14107 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
14109         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
14110         New.  Defined for GCC 5 and above when not compiling for
14111         profiling.
14112         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
14114         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14115         Renamed to ...
14116         (CFLAGS-epoll_pwait.o): This.
14117         (CFLAGS-mmap.c): Renamed to ...
14118         (CFLAGS-mmap.o): This.
14119         (CFLAGS-mmap64.c): Renamed to ...
14120         (CFLAGS-mmap64.o): This.
14121         (CFLAGS-epoll_pwait.os): New.
14122         (CFLAGS-mmap.os): Likewise.
14123         (CFLAGS-mmap64.os): Likewise.
14124         (CFLAGS-semtimedop.os): Likewise.
14125         (CFLAGS-semtimedop.c): Renamed to ...
14126         (CFLAGS-semtimedop.o): This.
14128 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14130         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
14131         warning message.
14133 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
14135         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
14136         * Makefile ($(objpfx)c++-types-check.out): Filter out
14137         $(+gccwarn-c) instead of -Wstrict-prototypes.
14139         * io/fts.c (fts_open): Convert to prototype-style function
14140         definition.
14141         * malloc/mcheck.c (mcheck): Likewise.
14142         (mcheck_pedantic): Likewise.
14143         * posix/regexec.c (re_search_2_stub): Likewise.  Use
14144         internal_function.
14145         (re_search_internal): Likewise.
14146         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
14147         prototype-style function definition.
14148         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
14149         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
14150         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
14151         (xdr_utmpptr): Likewise.
14152         (xdr_utmparr): Likewise.
14153         (xdr_utmpidle): Likewise.
14154         (xdr_utmpidleptr): Likewise.
14155         (xdr_utmpidlearr): Likewise.
14157         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
14158         log, log10 and log2.
14159         * math/auto-libm-test-out: Regenerated.
14160         * math/libm-test.inc (fmod_test_data): Add more tests.
14161         (fpclassify_test_data): Likewise.
14162         (frexp_test_data): Likewise.
14163         (hypot_test_data): Likewise.
14164         (ilogb_test_data): Likewise.
14166 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
14168         * debug/fortify_fail.c (__fortify_fail): Convert to
14169         prototype-style function definition.  Use internal_function.
14170         * libio/genops.c (save_for_backup): Convert to prototype-style
14171         function definition.
14172         * libio/wgenops.c (save_for_wbackup): Likewise.
14173         * login/grantpt.c (grantpt): Likewise.
14174         * login/ptsname.c (ptsname): Likewise.
14175         (__ptsname_r): Likewise.
14176         * login/unlockpt.c (unlockpt): Likewise.
14177         * mach/msgserver.c (__mach_msg_server): Likewise.
14178         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
14179         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
14180         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
14181         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
14182         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
14183         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
14184         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
14185         Likewise.
14186         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
14187         internal_function.
14188         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
14189         prototype-style function definition.
14190         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
14191         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
14192         (__pthread_create_2_0): Likewise.
14193         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
14194         * nptl/register-atfork.c (__register_atfork): Likewise.
14195         * posix/glob.c (glob): Likewise.
14196         * posix/regcomp.c (re_comp): Likewise.
14197         * posix/regexec.c (re_exec): Likewise.
14198         * stdlib/add_n.c [__STDC__]: Make code unconditional.
14199         [!__STDC__]: Remove conditional code.
14200         * stdlib/cmp.c [__STDC__]: Make code unconditional.
14201         [!__STDC__]: Remove conditional code.
14202         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
14203         [!__STDC__]: Remove conditional code.
14204         * stdlib/divrem.c [__STDC__]: Make code unconditional.
14205         [!__STDC__]: Remove conditional code.
14206         * stdlib/lshift.c [__STDC__]: Make code unconditional.
14207         [!__STDC__]: Remove conditional code.
14208         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
14209         [!__STDC__]: Remove conditional code.
14210         * stdlib/mul.c [__STDC__]: Make code unconditional.
14211         [!__STDC__]: Remove conditional code.
14212         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
14213         [!__STDC__]: Remove conditional code.
14214         * stdlib/rshift.c [__STDC__]: Make code unconditional.
14215         [!__STDC__]: Remove conditional code.
14216         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
14217         function definition.
14218         (STRTOF): Likewise.
14219         * stdlib/strtod_l.c (__STRTOF): Likewise.
14220         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
14221         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
14222         (__strtol_l): Likewise.
14223         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
14224         [!__STDC__]: Remove conditional code.
14225         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
14226         definition.
14227         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14228         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14229         type.
14230         (__strcasecmp): Convert to prototype-style function definition.
14231         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
14232         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14233         type.
14234         (__strncasecmp): Convert to prototype-style function definition.
14235         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
14236         * sunrpc/xdr.c (xdr_union): Likewise.
14237         * sunrpc/xdr_array.c (xdr_array): Likewise.
14238         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
14239         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
14240         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
14241         Likewise.
14242         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
14243         Likewise.
14244         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
14245         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14246         Likewise.
14247         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
14248         (LOCALE_PARAM_PROTO): Likewise.
14249         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
14250         argument type.
14251         (ut_argument_spec): Remove macro.
14252         (ut_argument_spec_iso): Rename to ut_argument_spec.
14253         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
14254         prototype-style function definition.
14255         (memcpy_uppcase): Likewise.
14256         (__strftime_internal): Likewise.
14257         (my_strftime): Likewise.
14258         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
14259         (LOCALE_PARAM_DECL): Likewise.
14260         [_LIBC] (LOCALE_PARAM): Include argument type.
14261         (__strptime_internal): Convert to prototype-style function
14262         definition.
14263         (strptime): Likewise.
14264         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
14265         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14266         type.
14267         (__wcscasecmp): Convert to prototype-style function definition.
14268         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
14269         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
14270         type.
14271         (__wcsncasecmp): Convert to prototype-style function definition.
14273         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
14274         function definition.
14275         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
14276         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14277         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
14278         * elf/dl-minimal.c (_itoa): Likewise.
14279         * hurd/hurdmalloc.c (malloc): Likewise.
14280         (free): Likewise.
14281         (realloc): Likewise.
14282         * inet/inet6_option.c (inet6_option_space): Likewise.
14283         (inet6_option_init): Likewise.
14284         (inet6_option_append): Likewise.
14285         (inet6_option_alloc): Likewise.
14286         (inet6_option_next): Likewise.
14287         (inet6_option_find): Likewise.
14288         * io/ftw.c (FTW_NAME): Likewise.
14289         (NFTW_NAME): Likewise.
14290         (NFTW_NEW_NAME): Likewise.
14291         (NFTW_OLD_NAME): Likewise.
14292         * libio/iofwide.c (_IO_fwide): Likewise.
14293         * libio/strops.c (_IO_str_init_static_internal): Likewise.
14294         (_IO_str_init_static): Likewise.
14295         (_IO_str_init_readonly): Likewise.
14296         (_IO_str_overflow): Likewise.
14297         (_IO_str_underflow): Likewise.
14298         (_IO_str_count): Likewise.
14299         (_IO_str_seekoff): Likewise.
14300         (_IO_str_pbackfail): Likewise.
14301         (_IO_str_finish): Likewise.
14302         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
14303         (_IO_wstr_overflow): Likewise.
14304         (_IO_wstr_underflow): Likewise.
14305         (_IO_wstr_count): Likewise.
14306         (_IO_wstr_seekoff): Likewise.
14307         (_IO_wstr_pbackfail): Likewise.
14308         (_IO_wstr_finish): Likewise.
14309         * locale/programs/localedef.c (normalize_codeset): Likewise.
14310         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14311         (add_locales_to_archive): Likewise.
14312         (delete_locales_from_archive): Likewise.
14313         * malloc/malloc.c (__libc_mallinfo): Likewise.
14314         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
14315         * misc/tsearch.c (__tfind): Likewise.
14316         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
14317         * nptl/pthread_attr_getdetachstate.c
14318         (__pthread_attr_getdetachstate): Likewise.
14319         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
14320         Likewise.
14321         * nptl/pthread_attr_getinheritsched.c
14322         (__pthread_attr_getinheritsched): Likewise.
14323         * nptl/pthread_attr_getschedparam.c
14324         (__pthread_attr_getschedparam): Likewise.
14325         * nptl/pthread_attr_getschedpolicy.c
14326         (__pthread_attr_getschedpolicy): Likewise.
14327         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
14328         Likewise.
14329         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
14330         Likewise.
14331         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
14332         Likewise.
14333         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
14334         Likewise.
14335         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
14336         (__pthread_attr_init_2_0): Likewise.
14337         * nptl/pthread_attr_setdetachstate.c
14338         (__pthread_attr_setdetachstate): Likewise.
14339         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
14340         Likewise.
14341         * nptl/pthread_attr_setinheritsched.c
14342         (__pthread_attr_setinheritsched): Likewise.
14343         * nptl/pthread_attr_setschedparam.c
14344         (__pthread_attr_setschedparam): Likewise.
14345         * nptl/pthread_attr_setschedpolicy.c
14346         (__pthread_attr_setschedpolicy): Likewise.
14347         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
14348         Likewise.
14349         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
14350         Likewise.
14351         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
14352         Likewise.
14353         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
14354         Likewise.
14355         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
14356         Likewise.
14357         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
14358         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
14359         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
14360         use internal_function.
14361         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
14362         prototype-style function definition.
14363         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
14364         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
14365         internal_function.
14366         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
14367         Convert to prototype-style function definition.
14368         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
14369         Likewise.
14370         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
14371         Likewise.
14372         (__pthread_mutex_unlock): Likewise.
14373         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
14374         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
14375         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
14376         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
14377         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
14378         * nss/makedb.c (process_input): Likewise.
14379         * posix/fnmatch.c (__strchrnul): Likewise.
14380         (__wcschrnul): Likewise.
14381         (fnmatch): Likewise.
14382         * posix/fnmatch_loop.c (FCT): Likewise.
14383         * posix/glob.c (globfree): Likewise.
14384         (__glob_pattern_type): Likewise.
14385         (__glob_pattern_p): Likewise.
14386         * posix/regcomp.c (re_compile_pattern): Likewise.
14387         (re_set_syntax): Likewise.
14388         (re_compile_fastmap): Likewise.
14389         (regcomp): Likewise.
14390         (regerror): Likewise.
14391         (regfree): Likewise.
14392         * posix/regexec.c (regexec): Likewise.
14393         (re_match): Likewise.
14394         (re_search): Likewise.
14395         (re_match_2): Likewise.
14396         (re_search_2): Likewise.
14397         (re_search_stub): Likewise.  Use internal_function
14398         (re_copy_regs): Likewise.
14399         (re_set_registers): Convert to prototype-style function
14400         definition.
14401         (prune_impossible_nodes): Likewise.  Use internal_function.
14402         * resolv/inet_net_pton.c (inet_net_pton): Convert to
14403         prototype-style function definition.
14404         (inet_net_pton_ipv4): Likewise.
14405         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14406         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
14407         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
14408         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
14409         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14410         Make variadic.
14411         * time/strptime_l.c (localtime_r): Convert to prototype-style
14412         function definition.
14413         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
14414         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
14415         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
14416         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
14418         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
14419         definition.
14420         (_ufc_doit_r): Likewise.
14421         * crypt/crypt_util.c (_ufc_copymem): Likewise.
14422         (_ufc_output_conversion_r): Likewise.
14423         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
14424         * inet/rcmd.c (rcmd_af): Likewise.
14425         (rcmd): Likewise.
14426         (ruserok_af): Likewise.
14427         (ruserok): Likewise.
14428         (ruserok2_sa): Likewise.
14429         (ruserok_sa): Likewise.
14430         (iruserok_af): Likewise.
14431         (iruserok): Likewise.
14432         (__ivaliduser): Likewise.
14433         (__validuser2_sa): Likewise.
14434         * inet/rexec.c (rexec_af): Likewise.
14435         (rexec): Likewise.
14436         * inet/ruserpass.c (ruserpass): Likewise.
14437         * locale/programs/xmalloc.c (xcalloc): Likewise.
14438         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
14439         * math/w_drem.c (__drem): Likewise.
14440         * math/w_dremf.c (__dremf): Likewise.
14441         * math/w_dreml.c (__dreml): Likewise.
14442         * misc/daemon.c (daemon): Likewise.
14443         * resolv/res_debug.c (p_fqnname): Likewise.
14444         * stdlib/div.c (div): Likewise.
14445         * string/memcmp.c (memcmp_bytes): Likewise.
14446         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
14447         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
14449         * crypt/cert.c (main): Convert to prototype-style function
14450         definition.
14451         * io/pipe.c (__pipe): Likewise.
14452         * io/pipe2.c (__pipe2): Likewise.
14453         * misc/futimesat.c (futimesat): Likewise.
14454         * misc/utimes.c (__utimes): Likewise.
14455         * posix/execve.c (__execve): Likewise.
14456         * posix/execvp.c (execvp): Likewise.
14457         * posix/execvpe.c (__execvpe): Likewise.
14458         * posix/fexecve.c (fexecve): Likewise.
14459         * socket/socketpair.c (socketpair): Likewise.
14460         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14461         * stdlib/erand48.c (erand48): Likewise.
14462         * stdlib/erand48_r.c (__erand48_r): Likewise.
14463         * stdlib/jrand48.c (jrand48): Likewise.
14464         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
14465         * stdlib/lcong48.c (lcong48): Likewise.
14466         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
14467         * stdlib/nrand48.c (nrand48): Likewise.
14468         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
14469         * stdlib/seed48.c (seed48): Likewise.
14470         * stdlib/seed48_r.c (__seed48_r): Likewise.
14471         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
14472         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
14473         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
14475 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14477         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
14478         * configure: Regenerated.
14479         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
14480         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
14481         unconditional.
14482         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14483         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14484         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14485         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
14486         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
14487         unconditional.
14488         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
14490         * posix/Makefile (CFLAGS-regex.c): Remove variable.
14491         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
14493         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
14494         function definition.
14495         * crypt/crypt_util.c (__encrypt_r): Likewise.
14496         * libio/genops.c (_IO_no_init): Likewise.
14497         * libio/iofopncook.c (_IO_fopencookie): Likewise.
14498         (_IO_old_fopencookie): Likewise.
14499         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14500         * libio/iogetline.c (_IO_getline): Likewise.
14501         (_IO_getline_info): Likewise.
14502         * libio/iogetwline.c (_IO_getwline): Likewise.
14503         (_IO_getwline_info): Likewise.
14504         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
14505         * libio/vswprintf.c (_IO_vswprintf): Likewise.
14506         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
14507         (find_entry): Likewise.
14508         (iterate_table): Likewise.
14509         (lookup): Likewise.
14510         * login/forkpty.c (forkpty): Likewise.
14511         * misc/hsearch_r.c (__hsearch_r): Likewise.
14512         * misc/select.c (__select): Likewise.
14513         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
14514         Likewise.
14515         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
14516         Likewise.
14517         * nptl/old_pthread_cond_timedwait.c
14518         (__pthread_cond_timedwait_2_0): Likewise.
14519         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
14520         * nptl/pthread_barrierattr_getpshared.c
14521         (pthread_barrierattr_getpshared): Likewise.
14522         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
14523         Likewise.
14524         * nptl/pthread_mutex_setprioceiling.c
14525         (pthread_mutex_setprioceiling): Likewise.
14526         * nptl/pthread_mutexattr_getprioceiling.c
14527         (pthread_mutexattr_getprioceiling): Likewise.
14528         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
14529         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
14530         Likewise.
14531         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
14532         Likewise.
14533         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
14534         Likewise.
14535         * socket/recvfrom.c (__recvfrom): Likewise.
14536         * socket/sendto.c (__sendto): Likewise.
14537         * socket/setsockopt.c (__setsockopt): Likewise.
14538         * stdio-common/_itoa.c (_itoa): Likewise.
14539         * stdio-common/_itowa.c (_itowa): Likewise.
14540         * stdio-common/reg-printf.c (__register_printf_specifier):
14541         Likewise.
14542         (__register_printf_function): Likewise.
14543         * stdio-common/tempname.c (__path_search): Likewise.
14544         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
14545         * stdlib/mul_1.c (mpn_mul_1): Likewise.
14546         * stdlib/random_r.c (__initstate_r): Likewise.
14547         * stdlib/setenv.c (__add_to_environ): Likewise.
14548         * stdlib/submul_1.c (mpn_submul_1): Likewise.
14549         * streams/getpmsg.c (getpmsg): Likewise.
14550         * streams/putmsg.c (putmsg): Likewise.
14551         * streams/putpmsg.c (putpmsg): Likewise.
14552         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
14553         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
14554         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
14555         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
14556         * sunrpc/pm_getport.c (pmap_getport): Likewise.
14557         * sunrpc/svc_udp.c (cache_get): Likewise.
14558         * sunrpc/xdr_array.c (xdr_vector): Likewise.
14559         * sysdeps/mach/hurd/getcwd.c
14560         (__canonicalize_directory_name_internal): Likewise.
14561         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
14562         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
14563         * sysdeps/mach/hurd/select.c (__select): Likewise.
14564         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
14565         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
14566         * sysdeps/sparc/nptl/pthread_barrier_init.c
14567         (__pthread_barrier_init): Likewise.
14568         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
14569         (__pthread_cond_timedwait): Likewise.
14570         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
14571         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
14572         Likewise.
14573         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
14574         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
14575         Likewise.
14576         * sysvipc/semtimedop.c (semtimedop): Likewise.
14577         * time/setitimer.c (__setitimer): Likewise.
14578         * time/strftime_l.c (emacs_strftime): Likewise.
14580 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14582         * config.make.in (have-ssp): Delete.
14583         (stack-protector): New variable.
14584         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
14585         cache test for -fstack-protector-strong.  Export stack_protector to
14586         the best ssp flag.
14587         * configure: Regenerated.
14588         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
14589         * nscd/Makefile (CFLAGS-nscd): Likewise.
14590         * resolv/Makefile (CFLAGS-libresolv): Likewise.
14592 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
14594         [BZ #19122]
14595         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
14596         attribute_hidden.
14598 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14600         [BZ #18743]
14601         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
14602         code to...
14603         (ELIDE_LOCK): ...here.
14604         (__get_new_count): New function with part of the code from
14605         __elide_lock that updates the value of adapt_count after a
14606         transaction abort.
14607         (__elided_trylock): Moved this code to...
14608         (ELIDE_TRYLOCK): ...here.
14610 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
14612         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
14613         * configure: Regenerate.
14614         * INSTALL: Regenerate.
14615         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
14616         and tweak grammar.
14618 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
14620         * login/programs/pt_chown.c: Include signal.h
14621         (main): Clear any signal mask from the parent process.
14623 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
14625         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
14626         * configure: Regenerated.
14627         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
14628         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
14629         $(gnu89-inline-CFLAGS).
14631         * configure.ac (libc_cv_asm_weak_directive): Remove configure
14632         test.
14633         (libc_cv_asm_weakext_directive): Likewise.
14634         * configure: Regenerated.
14635         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
14636         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
14637         * include/libc-symbols.h
14638         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
14639         #error.
14640         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
14641         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
14643         * sysdeps/arm/backtrace.c (__backtrace): Convert to
14644         prototype-style function definition.
14645         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
14646         * sysdeps/i386/ffs.c (__ffs): Likewise.
14647         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
14648         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
14649         Likewise.
14650         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14651         Likewise.
14652         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
14653         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
14654         Likewise.
14655         * sysdeps/m68k/ffs.c (__ffs): Likewise.
14656         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
14657         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
14658         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
14659         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
14660         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
14661         * sysdeps/mach/hurd/access.c (__access): Likewise.
14662         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
14663         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
14664         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
14665         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
14666         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
14667         (cthread_getspecific): Likewise.
14668         (cthread_setspecific): Likewise.
14669         (__libc_getspecific): Likewise.
14670         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
14671         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
14672         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
14673         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
14674         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
14675         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
14676         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
14677         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
14678         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
14679         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
14680         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
14681         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
14682         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
14683         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
14684         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
14685         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
14686         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
14687         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
14688         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
14689         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
14690         * sysdeps/mach/hurd/link.c (__link): Likewise.
14691         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
14692         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
14693         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
14694         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
14695         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
14696         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
14697         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
14698         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
14699         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
14700         * sysdeps/mach/hurd/rename.c (rename): Likewise.
14701         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
14702         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
14703         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
14704         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
14705         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
14706         * sysdeps/mach/hurd/send.c (__send): Likewise.
14707         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
14708         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
14709         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
14710         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
14711         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
14712         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
14713         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
14714         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
14715         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
14716         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
14717         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
14718         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
14719         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
14720         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
14721         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
14722         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
14723         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
14724         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
14725         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
14726         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
14727         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
14728         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
14729         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
14730         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
14731         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
14732         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
14733         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
14734         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
14735         * sysdeps/posix/alarm.c (alarm): Likewise.
14736         * sysdeps/posix/cuserid.c (cuserid): Likewise.
14737         * sysdeps/posix/dirfd.c (dirfd): Likewise.
14738         * sysdeps/posix/dup.c (__dup): Likewise.
14739         * sysdeps/posix/dup2.c (__dup2): Likewise.
14740         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
14741         (main): Likewise.
14742         * sysdeps/posix/flock.c (__flock): Likewise.
14743         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
14744         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
14745         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
14746         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
14747         * sysdeps/posix/isatty.c (__isatty): Likewise.
14748         * sysdeps/posix/killpg.c (killpg): Likewise.
14749         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
14750         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
14751         * sysdeps/posix/raise.c (raise): Likewise.
14752         * sysdeps/posix/remove.c (remove): Likewise.
14753         * sysdeps/posix/rename.c (rename): Likewise.
14754         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
14755         * sysdeps/posix/seekdir.c (seekdir): Likewise.
14756         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
14757         * sysdeps/posix/sigignore.c (sigignore): Likewise.
14758         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
14759         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
14760         * sysdeps/posix/sigset.c (sigset): Likewise.
14761         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
14762         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
14763         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
14764         * sysdeps/posix/time.c (time): Likewise.
14765         * sysdeps/posix/ttyname.c (getttyname): Likewise.
14766         (ttyname): Likewise.
14767         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
14768         * sysdeps/posix/utime.c (utime): Likewise.
14769         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
14770         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
14771         Likewise.
14772         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
14773         (pthread_spin_trylock): Likewise.
14774         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
14775         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
14776         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
14777         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
14778         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
14779         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
14780         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
14781         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
14782         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
14783         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
14784         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
14785         * sysdeps/s390/ffs.c (__ffs): Likewise.
14786         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
14787         Likewise.
14788         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
14789         Likewise.
14790         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
14791         Likewise.
14792         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
14793         (pthread_barrier_destroy): Likewise.
14794         * sysdeps/sparc/nptl/pthread_barrier_wait.c
14795         (__pthread_barrier_wait): Likewise.
14796         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
14797         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
14798         (__pthread_barrier_wait): Likewise.
14799         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
14800         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
14801         (memcmp_not_common_alignment): Likewise.
14802         (MEMCMP): Likewise.
14803         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
14804         (_wordcopy_fwd_dest_aligned): Likewise.
14805         (_wordcopy_bwd_aligned): Likewise.
14806         (_wordcopy_bwd_dest_aligned): Likewise.
14807         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
14808         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
14809         * sysdeps/unix/bsd/stty.c (stty): Likewise.
14810         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
14811         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
14812         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
14813         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
14814         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
14815         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
14816         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
14817         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
14818         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
14819         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
14820         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
14821         * sysdeps/unix/stime.c (stime): Likewise.
14822         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
14823         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
14824         Likewise.  Use internal_function.
14825         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
14826         Convert to prototype-style function definition.
14827         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14828         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14829         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
14830         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
14831         Likewise.  Use internal_function.
14832         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
14833         prototype-style function definition
14834         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14835         Likewise.
14836         (__getlogin_r): Likewise.
14837         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
14838         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
14839         (__pthread_cond_broadcast): Likewise.
14840         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
14841         (__pthread_cond_destroy): Likewise.
14842         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
14843         (__pthread_cond_init): Likewise.
14844         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
14845         (__pthread_cond_signal): Likewise.
14846         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
14847         (__pthread_cond_wait): Likewise.
14848         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
14849         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14850         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
14851         Likewise.
14852         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
14853         Likewise.
14854         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
14855         Likewise.
14856         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
14857         Likewise.
14858         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
14859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
14860         (__ftruncate64): Likewise.
14861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
14862         (truncate64): Likewise.
14863         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
14864         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
14865         (pthread_getcpuclockid): Likewise.
14866         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
14867         Likewise.
14868         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
14869         Likewise.
14870         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
14871         Likewise.
14872         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14873         Likewise.
14874         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
14875         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
14876         (__libc_sigaction): Likewise.
14877         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
14878         Likewise.
14879         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
14880         (__sigprocmask): Likewise.
14881         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
14882         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
14883         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
14884         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14885         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
14886         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
14887         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
14888         Likewise.
14889         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
14890         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
14891         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
14892         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
14893         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
14894         Likewise.
14895         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
14896         (__sigprocmask): Likewise.
14897         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
14898         (cfgetispeed): Likewise.
14899         (cfsetospeed): Likewise.
14900         (cfsetispeed): Likewise.
14901         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
14902         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
14903         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14904         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14905         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
14906         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
14907         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
14908         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
14909         Likewise.
14910         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
14911         Likewise.
14912         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
14913         Likewise.
14914         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
14915         Likewise.
14916         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
14918 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14920         sunrpc: Rewrite with explicit TLS access using __thread.
14921         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
14922         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
14923         directly.
14924         (__rpc_thread_variables): Access thread_rpc_vars directly.
14925         Eliminate redundant assignment of the tvp variable.
14927 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14929         malloc: Rewrite with explicit TLS access using __thread.
14930         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
14931         (tsd_setspecific, tsd_getspecific): Remove.
14932         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
14933         (tsd_setspecific, tsd_getspecific): Likewise.
14934         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
14935         (tsd_setspecific, tsd_getspecific): Likewise.
14936         * malloc/arena.c (thread_arena): New TLS variable.
14937         (arena_key): Remove variable.
14938         (arena_get): Use thread_arena.
14939         (arena_lookup): Remove macro.
14940         (malloc_atfork, free_atfork, ptmalloc_lock_all)
14941         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
14942         (_int_new_arena, get_free_list, reused_arena)
14943         (arena_thread_freeres): Use thread_arena.
14944         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
14945         tsd_getspecific, tsd_setspecific from safety annotations.
14946         (Allocating Cleared Space): Remove arena_lookup from safety
14947         annotations.
14949 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14951         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
14952         struct scratch_buffer instead of extend_alloca.
14954 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14956         * sysdeps/unix/sysv/linux/kernel-features.h
14957         (__ASSUME_SOCK_CLOEXEC): Remove.
14958         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
14959         (__have_paccept): Remove unused macro.
14960         * include/unistd.h (__have_sock_cloexec): Remove declaration.
14961         * misc/syslog.c (openlog_internal): Remove fallback code for
14962         !__ASSUME_SOCK_CLOEXEC.
14963         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
14964         missing SOCK_CLOEXEC.
14965         * nscd/connections.c (have_sock_cloexec): Remove definition.
14966         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14967         * nscd/nscd_helper.c (open_socket): Remove fallback code for
14968         !__ASSUME_SOCK_CLOEXEC.
14969         * resolv/res_send.c (__have_o_nonblock): Remove definition.
14970         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
14971         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
14972         definition.
14973         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
14974         code for !__ASSUME_SOCK_CLOEXEC.
14976 2015-10-17  Florian Weimer  <fweimer@redhat.com>
14978         [BZ #18982]
14979         * manual/stdio.texi (Variable Arguments Output): Add portability
14980         note, explaining that vfprintf clobbers the va_list pointer.
14982 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14984         * math/libm-test.inc (fabs_test_data): Add more tests.
14985         (fdim_test_data): Likewise.
14986         (fma_test_data): Likewise.
14987         (fmax_test_data): Likewise.
14988         (fmin_test_data): Likewise.
14989         (fmod_test_data): Likewise.
14991 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
14993         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
14994         data.
14996 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
14998         * math/libm-test.inc (ceil_test_data): Add more tests and more
14999         expectations for "inexact".
15000         (floor_test_data): Add more tests.
15001         (round_test_data): Likewise.
15002         (trunc_test_data): Likewise.
15004         * crypt/cert.c (good_bye): Convert to prototype-style function
15005         definition.
15006         (get8): Likewise.
15007         (put8): Likewise.
15008         * crypt/crypt-entry.c (crypt): Likewise.
15009         (__fcrypt): Likewise.
15010         * crypt/crypt_util.c (_ufc_prbits): Likewise.
15011         (_ufc_set_bits): Likewise.
15012         (_ufc_clearmem): Likewise.
15013         (__init_des_r): Likewise.
15014         (shuffle_sb): Likewise.
15015         (shuffle_sb): Likewise.
15016         (_ufc_setup_salt_r): Likewise.
15017         (_ufc_mk_keytab_r): Likewise.
15018         (_ufc_dofinalperm_r): Likewise.
15019         (encrypt): Likewise.
15020         (__setkey_r): Likewise.
15021         (setkey): Likewise.
15022         * crypt/md5.c (md5_init_ctx): Likewise.
15023         (md5_read_ctx): Likewise.
15024         (md5_finish_ctx): Likewise.
15025         (md5_stream): Likewise.
15026         (md5_buffer): Likewise.
15027         (md5_process_bytes): Likewise.
15028         * crypt/sha256.c (__sha256_init_ctx): Likewise.
15029         (__sha256_finish_ctx): Likewise.
15030         (__sha256_process_bytes): Likewise.
15031         * crypt/sha512.c (__sha512_init_ctx): Likewise.
15032         (__sha512_finish_ctx): Likewise.
15033         (__sha512_process_bytes): Likewise.
15034         * ctype/isctype.c (__isctype): Likewise.
15035         * debug/backtrace.c (__backtrace): Likewise.
15036         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
15037         * debug/fgets_chk.c (__fgets_chk): Likewise.
15038         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
15039         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
15040         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
15041         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
15042         * debug/memset_chk.c (__memset_chk): Likewise.
15043         * debug/strcat_chk.c (__strcat_chk): Likewise.
15044         * debug/strncat_chk.c (__strncat_chk): Likewise.
15045         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
15046         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
15047         * dirent/dirfd.c (dirfd): Likewise.
15048         * dirent/getdents.c (__getdirentries): Likewise.
15049         * dirent/getdents64.c (getdirentries64): Likewise.
15050         * dirent/rewinddir.c (__rewinddir): Likewise.
15051         * dirent/seekdir.c (seekdir): Likewise.
15052         * dirent/telldir.c (telldir): Likewise.
15053         * elf/sln.c (makesymlinks): Likewise.
15054         (makesymlink): Likewise.
15055         * gmon/gmon.c (__moncontrol): Likewise.
15056         (__monstartup): Likewise.
15057         (write_hist): Likewise.
15058         (write_call_graph): Likewise.
15059         (write_bb_counts): Likewise.
15060         * grp/setgroups.c (setgroups): Likewise.
15061         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15062         * inet/inet_net.c (inet_network): Likewise.
15063         * inet/inet_netof.c (inet_netof): Likewise.
15064         * inet/rcmd.c (rresvport_af): Likewise.
15065         (rresvport): Likewise.
15066         * io/access.c (__access): Likewise.
15067         * io/chdir.c (__chdir): Likewise.
15068         * io/chmod.c (__chmod): Likewise.
15069         * io/chown.c (__chown): Likewise.
15070         * io/close.c (__close): Likewise.
15071         * io/creat.c (creat): Likewise.
15072         * io/creat64.c (creat64): Likewise.
15073         * io/dup.c (__dup): Likewise.
15074         * io/dup2.c (__dup2): Likewise.
15075         * io/dup3.c (__dup3): Likewise.
15076         * io/euidaccess.c (__euidaccess): Likewise.
15077         * io/faccessat.c (faccessat): Likewise.
15078         * io/fchmod.c (__fchmod): Likewise.
15079         * io/fchmodat.c (fchmodat): Likewise.
15080         * io/fchown.c (__fchown): Likewise.
15081         * io/fchownat.c (fchownat): Likewise.
15082         * io/fcntl.c (__fcntl): Likewise.
15083         * io/flock.c (__flock): Likewise.
15084         * io/fts.c (fts_load): Likewise.
15085         (fts_close): Likewise.
15086         (fts_read): Likewise.
15087         (fts_set): Likewise.
15088         (fts_children): Likewise.
15089         (fts_build): Likewise.
15090         (fts_stat): Likewise.
15091         (fts_sort): Likewise.
15092         (fts_alloc): Likewise.
15093         (fts_lfree): Likewise.
15094         (fts_palloc): Likewise.
15095         (fts_padjust): Likewise.
15096         (fts_maxarglen): Likewise.
15097         (fts_safe_changedir): Likewise.
15098         * io/getwd.c (getwd): Likewise.
15099         * io/isatty.c (__isatty): Likewise.
15100         * io/lchown.c (__lchown): Likewise.
15101         * io/link.c (__link): Likewise.
15102         * io/linkat.c (linkat): Likewise.
15103         * io/lseek.c (__libc_lseek): Likewise.
15104         * io/mkdir.c (__mkdir): Likewise.
15105         * io/mkdirat.c (mkdirat): Likewise.
15106         * io/mkfifo.c (mkfifo): Likewise.
15107         * io/mkfifoat.c (mkfifoat): Likewise.
15108         * io/open.c (__libc_open): Likewise.
15109         * io/open64.c (__libc_open64): Likewise.
15110         * io/readlink.c (__readlink): Likewise.
15111         * io/readlinkat.c (readlinkat): Likewise.
15112         * io/rmdir.c (__rmdir): Likewise.
15113         * io/symlink.c (__symlink): Likewise.
15114         * io/symlinkat.c (symlinkat): Likewise.
15115         * io/ttyname.c (ttyname): Likewise.
15116         * io/ttyname_r.c (__ttyname_r): Likewise.
15117         * io/umask.c (__umask): Likewise.
15118         * io/unlink.c (__unlink): Likewise.
15119         * io/unlinkat.c (unlinkat): Likewise.
15120         * io/utime.c (utime): Likewise.
15121         * libio/clearerr.c (clearerr): Likewise.
15122         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
15123         * libio/feof.c (_IO_feof): Likewise.
15124         * libio/feof_u.c (feof_unlocked): Likewise.
15125         * libio/ferror.c (_IO_ferror): Likewise.
15126         * libio/ferror_u.c (ferror_unlocked): Likewise.
15127         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15128         * libio/fileno.c (__fileno): Likewise.
15129         * libio/fputc.c (fputc): Likewise.
15130         * libio/fputc_u.c (fputc_unlocked): Likewise.
15131         * libio/fputwc.c (fputwc): Likewise.
15132         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
15133         * libio/freopen.c (freopen): Likewise.
15134         * libio/freopen64.c (freopen64): Likewise.
15135         * libio/fseek.c (fseek): Likewise.
15136         * libio/fseeko.c (fseeko): Likewise.
15137         * libio/fseeko64.c (fseeko64): Likewise.
15138         * libio/ftello.c (__ftello): Likewise.
15139         * libio/ftello64.c (ftello64): Likewise.
15140         * libio/fwide.c (fwide): Likewise.
15141         * libio/genops.c (_IO_un_link): Likewise.
15142         (_IO_link_in): Likewise.
15143         (_IO_least_marker): Likewise.
15144         (_IO_switch_to_main_get_area): Likewise.
15145         (_IO_switch_to_backup_area): Likewise.
15146         (_IO_switch_to_get_mode): Likewise.
15147         (_IO_free_backup_area): Likewise.
15148         (_IO_switch_to_put_mode): Likewise.
15149         (__overflow): Likewise.
15150         (__underflow): Likewise.
15151         (__uflow): Likewise.
15152         (_IO_setb): Likewise.
15153         (_IO_doallocbuf): Likewise.
15154         (_IO_default_underflow): Likewise.
15155         (_IO_default_uflow): Likewise.
15156         (_IO_default_xsputn): Likewise.
15157         (_IO_sgetn): Likewise.
15158         (_IO_default_xsgetn): Likewise.
15159         (_IO_sync): Likewise.
15160         (_IO_default_setbuf): Likewise.
15161         (_IO_default_seekpos): Likewise.
15162         (_IO_default_doallocate): Likewise.
15163         (_IO_init): Likewise.
15164         (_IO_old_init): Likewise.
15165         (_IO_default_sync): Likewise.
15166         (_IO_default_finish): Likewise.
15167         (_IO_default_seekoff): Likewise.
15168         (_IO_sputbackc): Likewise.
15169         (_IO_sungetc): Likewise.
15170         (_IO_set_column): Likewise.
15171         (_IO_set_column): Likewise.
15172         (_IO_adjust_column): Likewise.
15173         (_IO_get_column): Likewise.
15174         (_IO_init_marker): Likewise.
15175         (_IO_remove_marker): Likewise.
15176         (_IO_marker_difference): Likewise.
15177         (_IO_marker_delta): Likewise.
15178         (_IO_seekmark): Likewise.
15179         (_IO_unsave_markers): Likewise.
15180         (_IO_nobackup_pbackfail): Likewise.
15181         (_IO_default_pbackfail): Likewise.
15182         (_IO_default_seek): Likewise.
15183         (_IO_default_stat): Likewise.
15184         (_IO_default_read): Likewise.
15185         (_IO_default_write): Likewise.
15186         (_IO_default_showmanyc): Likewise.
15187         (_IO_default_imbue): Likewise.
15188         (_IO_iter_next): Likewise.
15189         (_IO_iter_file): Likewise.
15190         * libio/getc.c (_IO_getc): Likewise.
15191         * libio/getwc.c (_IO_getwc): Likewise.
15192         * libio/iofclose.c (_IO_new_fclose): Likewise.
15193         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
15194         * libio/iofflush.c (_IO_fflush): Likewise.
15195         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
15196         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
15197         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
15198         * libio/iofgets.c (_IO_fgets): Likewise.
15199         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
15200         * libio/iofgetws.c (fgetws): Likewise.
15201         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15202         * libio/iofopen64.c (_IO_fopen64): Likewise.
15203         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15204         (_IO_cookie_write): Likewise.
15205         (_IO_cookie_seek): Likewise.
15206         (_IO_cookie_close): Likewise.
15207         (_IO_cookie_seekoff): Likewise.
15208         (_IO_old_cookie_seek): Likewise.
15209         * libio/iofputs.c (_IO_fputs): Likewise.
15210         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
15211         * libio/iofputws.c (fputws): Likewise.
15212         * libio/iofputws_u.c (fputws_unlocked): Likewise.
15213         * libio/iofread.c (_IO_fread): Likewise.
15214         * libio/iofread_u.c (__fread_unlocked): Likewise.
15215         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
15216         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
15217         * libio/ioftell.c (_IO_ftell): Likewise.
15218         * libio/iofwrite.c (_IO_fwrite): Likewise.
15219         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15220         * libio/iogets.c (_IO_gets): Likewise.
15221         * libio/iopadn.c (_IO_padn): Likewise.
15222         * libio/iopopen.c (_IO_new_proc_open): Likewise.
15223         (_IO_new_popen): Likewise.
15224         (_IO_new_proc_close): Likewise.
15225         * libio/ioputs.c (_IO_puts): Likewise.
15226         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
15227         (_IO_seekoff): Likewise.
15228         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
15229         (_IO_seekpos): Likewise.
15230         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
15231         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
15232         * libio/ioungetc.c (_IO_ungetc): Likewise.
15233         * libio/ioungetwc.c (ungetwc): Likewise.
15234         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
15235         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
15236         * libio/iowpadn.c (_IO_wpadn): Likewise.
15237         * libio/libc_fatal.c (__libc_fatal): Likewise.
15238         * libio/memstream.c (__open_memstream): Likewise.
15239         (_IO_mem_sync): Likewise.
15240         (_IO_mem_finish): Likewise.
15241         * libio/oldfileops.c (_IO_old_file_init): Likewise.
15242         (_IO_old_file_close_it): Likewise.
15243         (_IO_old_file_finish): Likewise.
15244         (_IO_old_file_fopen): Likewise.
15245         (_IO_old_file_attach): Likewise.
15246         (_IO_old_file_setbuf): Likewise.
15247         (_IO_old_do_write): Likewise.
15248         (old_do_write): Likewise.
15249         (_IO_old_file_underflow): Likewise.
15250         (_IO_old_file_overflow): Likewise.
15251         (_IO_old_file_sync): Likewise.
15252         (_IO_old_file_seekoff): Likewise.
15253         (_IO_old_file_write): Likewise.
15254         (_IO_old_file_xsputn): Likewise.
15255         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
15256         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
15257         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
15258         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
15259         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
15260         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
15261         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
15262         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
15263         (_IO_old_popen): Likewise.
15264         (_IO_old_proc_close): Likewise.
15265         * libio/oldpclose.c (__old_pclose): Likewise.
15266         * libio/pclose.c (__new_pclose): Likewise.
15267         * libio/peekc.c (_IO_peekc_locked): Likewise.
15268         * libio/putc.c (_IO_putc): Likewise.
15269         * libio/putc_u.c (putc_unlocked): Likewise.
15270         * libio/putchar.c (putchar): Likewise.
15271         * libio/putchar_u.c (putchar_unlocked): Likewise.
15272         * libio/putwc.c (putwc): Likewise.
15273         * libio/putwc_u.c (putwc_unlocked): Likewise.
15274         * libio/putwchar.c (putwchar): Likewise.
15275         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
15276         * libio/rewind.c (rewind): Likewise.
15277         * libio/setbuf.c (setbuf): Likewise.
15278         * libio/setlinebuf.c (setlinebuf): Likewise.
15279         * libio/vasprintf.c (_IO_vasprintf): Likewise.
15280         * libio/vscanf.c (_IO_vscanf): Likewise.
15281         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
15282         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
15283         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
15284         * libio/wgenops.c (_IO_least_wmarker): Likewise.
15285         (_IO_switch_to_main_wget_area): Likewise.
15286         (_IO_switch_to_wbackup_area): Likewise.
15287         (_IO_wsetb): Likewise.
15288         (_IO_wdefault_pbackfail): Likewise.
15289         (_IO_wdefault_finish): Likewise.
15290         (_IO_wdefault_uflow): Likewise.
15291         (__woverflow): Likewise.
15292         (__wuflow): Likewise.
15293         (__wunderflow): Likewise.
15294         (_IO_wdefault_xsputn): Likewise.
15295         (_IO_wdefault_xsgetn): Likewise.
15296         (_IO_wdoallocbuf): Likewise.
15297         (_IO_wdefault_doallocate): Likewise.
15298         (_IO_switch_to_wget_mode): Likewise.
15299         (_IO_free_wbackup_area): Likewise.
15300         (_IO_switch_to_wput_mode): Likewise.
15301         (_IO_sputbackwc): Likewise.
15302         (_IO_sungetwc): Likewise.
15303         (_IO_adjust_wcolumn): Likewise.
15304         (_IO_init_wmarker): Likewise.
15305         (_IO_wmarker_delta): Likewise.
15306         (_IO_seekwmark): Likewise.
15307         (_IO_unsave_wmarkers): Likewise.
15308         * libio/wmemstream.c (open_wmemstream): Likewise.
15309         (_IO_wmem_sync): Likewise.
15310         (_IO_wmem_finish): Likewise.
15311         * locale/nl_langinfo.c (nl_langinfo): Likewise.
15312         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
15313         * locale/programs/simple-hash.c (init_hash): Likewise.
15314         (delete_hash): Likewise.
15315         (insert_entry): Likewise.
15316         (set_entry): Likewise.
15317         (next_prime): Likewise.
15318         (is_prime): Likewise.
15319         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
15320         (xmalloc): Likewise.
15321         (xrealloc): Likewise.
15322         * locale/programs/xstrdup.c (xstrdup): Likewise.
15323         * localedata/collate-test.c (xstrcoll): Likewise.
15324         * localedata/xfrm-test.c (xstrcmp): Likewise.
15325         * login/getlogin_r.c (__getlogin_r): Likewise.
15326         * login/getpt.c (__posix_openpt): Likewise.
15327         * login/login_tty.c (login_tty): Likewise.
15328         * login/setlogin.c (setlogin): Likewise.
15329         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
15330         (mach_msg_destroy_port): Likewise.
15331         (mach_msg_destroy_memory): Likewise.
15332         * malloc/mcheck.c (flood): Likewise.
15333         * misc/acct.c (acct): Likewise.
15334         * misc/brk.c (__brk): Likewise.
15335         * misc/chflags.c (chflags): Likewise.
15336         * misc/chroot.c (chroot): Likewise.
15337         * misc/fchflags.c (fchflags): Likewise.
15338         * misc/fstab.c (getfsspec): Likewise.
15339         (getfsfile): Likewise.
15340         * misc/fsync.c (fsync): Likewise.
15341         * misc/ftruncate.c (__ftruncate): Likewise.
15342         * misc/ftruncate64.c (__ftruncate64): Likewise.
15343         * misc/getdomain.c (getdomainname): Likewise.
15344         (getdomainname): Likewise.
15345         * misc/gethostname.c (__gethostname): Likewise.
15346         * misc/getpass.c (getpass): Likewise.
15347         * misc/getttyent.c (skip): Likewise.
15348         (value): Likewise.
15349         * misc/gtty.c (gtty): Likewise.
15350         * misc/hsearch.c (hsearch): Likewise.
15351         (hcreate): Likewise.
15352         * misc/hsearch_r.c (__hcreate_r): Likewise.
15353         (__hdestroy_r): Likewise.
15354         * misc/ioctl.c (__ioctl): Likewise.
15355         * misc/mkdtemp.c (mkdtemp): Likewise.
15356         * misc/mkostemp.c (mkostemp): Likewise.
15357         * misc/mkostemp64.c (mkostemp64): Likewise.
15358         * misc/mkostemps.c (mkostemps): Likewise.
15359         * misc/mkostemps64.c (mkostemps64): Likewise.
15360         * misc/mkstemp.c (mkstemp): Likewise.
15361         * misc/mkstemp64.c (mkstemp64): Likewise.
15362         * misc/mkstemps.c (mkstemps): Likewise.
15363         * misc/mkstemps64.c (mkstemps64): Likewise.
15364         * misc/mktemp.c (__mktemp): Likewise.
15365         * misc/preadv.c (preadv): Likewise.
15366         * misc/preadv64.c (preadv64): Likewise.
15367         * misc/pwritev.c (pwritev): Likewise.
15368         * misc/pwritev64.c (pwritev64): Likewise.
15369         * misc/readv.c (__readv): Likewise.
15370         * misc/revoke.c (revoke): Likewise.
15371         * misc/setdomain.c (setdomainname): Likewise.
15372         * misc/setegid.c (setegid): Likewise.
15373         * misc/seteuid.c (seteuid): Likewise.
15374         * misc/sethostid.c (sethostid): Likewise.
15375         * misc/sethostname.c (sethostname): Likewise.
15376         * misc/setregid.c (__setregid): Likewise.
15377         * misc/setreuid.c (__setreuid): Likewise.
15378         * misc/sstk.c (sstk): Likewise.
15379         * misc/stty.c (stty): Likewise.
15380         * misc/syscall.c (syscall): Likewise.
15381         * misc/syslog.c (setlogmask): Likewise.
15382         * misc/truncate.c (__truncate): Likewise.
15383         * misc/truncate64.c (truncate64): Likewise.
15384         * misc/ualarm.c (ualarm): Likewise.
15385         * misc/usleep.c (usleep): Likewise.
15386         * misc/ustat.c (ustat): Likewise.
15387         * misc/writev.c (__writev): Likewise.
15388         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
15389         * nptl/old_pthread_cond_broadcast.c
15390         (__pthread_cond_broadcast_2_0): Likewise.
15391         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
15392         Likewise.
15393         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
15394         Likewise.
15395         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
15396         Likewise.
15397         * nptl/pt-raise.c (raise): Likewise.
15398         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
15399         Likewise.
15400         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
15401         * nptl/pthread_barrierattr_destroy.c
15402         (pthread_barrierattr_destroy): Likewise.
15403         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
15404         Likewise.
15405         * nptl/pthread_barrierattr_setpshared.c
15406         (pthread_barrierattr_setpshared): Likewise.
15407         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15408         Likewise.
15409         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
15410         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
15411         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
15412         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
15413         Likewise.
15414         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
15415         Likewise.
15416         * nptl/pthread_condattr_getpshared.c
15417         (pthread_condattr_getpshared): Likewise.
15418         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
15419         Likewise.
15420         * nptl/pthread_condattr_setpshared.c
15421         (pthread_condattr_setpshared): Likewise.
15422         * nptl/pthread_detach.c (pthread_detach): Likewise.
15423         * nptl/pthread_equal.c (__pthread_equal): Likewise.
15424         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
15425         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
15426         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
15427         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
15428         Likewise.
15429         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
15430         Likewise.
15431         * nptl/pthread_mutex_getprioceiling.c
15432         (pthread_mutex_getprioceiling): Likewise.
15433         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
15434         Likewise.
15435         * nptl/pthread_mutexattr_getprotocol.c
15436         (pthread_mutexattr_getprotocol): Likewise.
15437         * nptl/pthread_mutexattr_getpshared.c
15438         (pthread_mutexattr_getpshared): Likewise.
15439         * nptl/pthread_mutexattr_getrobust.c
15440         (pthread_mutexattr_getrobust): Likewise.
15441         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
15442         Likewise.
15443         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
15444         Likewise.
15445         * nptl/pthread_mutexattr_setprioceiling.c
15446         (pthread_mutexattr_setprioceiling): Likewise.
15447         * nptl/pthread_mutexattr_setprotocol.c
15448         (pthread_mutexattr_setprotocol): Likewise.
15449         * nptl/pthread_mutexattr_setpshared.c
15450         (pthread_mutexattr_setpshared): Likewise.
15451         * nptl/pthread_mutexattr_setrobust.c
15452         (pthread_mutexattr_setrobust): Likewise.
15453         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
15454         Likewise.
15455         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
15456         Likewise.
15457         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
15458         Likewise.
15459         * nptl/pthread_rwlockattr_getkind_np.c
15460         (pthread_rwlockattr_getkind_np): Likewise.
15461         * nptl/pthread_rwlockattr_getpshared.c
15462         (pthread_rwlockattr_getpshared): Likewise.
15463         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
15464         Likewise.
15465         * nptl/pthread_rwlockattr_setkind_np.c
15466         (pthread_rwlockattr_setkind_np): Likewise.
15467         * nptl/pthread_rwlockattr_setpshared.c
15468         (pthread_rwlockattr_setpshared): Likewise.
15469         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
15470         Likewise.
15471         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
15472         Likewise.
15473         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
15474         Likewise.
15475         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
15476         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
15477         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
15478         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
15479         * nptl/sem_close.c (sem_close): Likewise.
15480         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
15481         * nptl/sem_init.c (__old_sem_init): Likewise.
15482         * nptl/sigaction.c (__sigaction): Likewise.
15483         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
15484         * posix/_exit.c (_exit): Likewise.
15485         * posix/alarm.c (alarm): Likewise.
15486         * posix/confstr.c (confstr): Likewise.
15487         * posix/fpathconf.c (__fpathconf): Likewise.
15488         * posix/getgroups.c (__getgroups): Likewise.
15489         * posix/getpgid.c (__getpgid): Likewise.
15490         * posix/group_member.c (__group_member): Likewise.
15491         * posix/pathconf.c (__pathconf): Likewise.
15492         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
15493         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
15494         * posix/setgid.c (__setgid): Likewise.
15495         * posix/setpgid.c (__setpgid): Likewise.
15496         * posix/setuid.c (__setuid): Likewise.
15497         * posix/sleep.c (__sleep): Likewise.
15498         * posix/sysconf.c (__sysconf): Likewise.
15499         * posix/times.c (__times): Likewise.
15500         * posix/uname.c (__uname): Likewise.
15501         * posix/waitid.c (__waitid): Likewise.
15502         * pwd/getpw.c (__getpw): Likewise.
15503         * resolv/base64.c (b64_pton): Likewise.
15504         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
15505         * resolv/gethnamaddr.c (Dprintf): Likewise.
15506         (gethostbyname): Likewise.
15507         (gethostbyname2): Likewise.
15508         (gethostbyaddr): Likewise.
15509         (_sethtent): Likewise.
15510         (_gethtbyname): Likewise.
15511         (_gethtbyname2): Likewise.
15512         (_gethtbyaddr): Likewise.
15513         (map_v4v6_address): Likewise.
15514         (map_v4v6_hostent): Likewise.
15515         (addrsort): Likewise.
15516         (ht_sethostent): Likewise.
15517         (ht_gethostbyname): Likewise.
15518         (ht_gethostbyaddr): Likewise.
15519         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
15520         (inet_net_ntop_ipv4): Likewise.
15521         * resolv/inet_neta.c (inet_neta): Likewise.
15522         * resolv/inet_ntop.c (inet_ntop): Likewise.
15523         (inet_ntop4): Likewise.
15524         (inet_ntop6): Likewise.
15525         * resolv/inet_pton.c (__inet_pton): Likewise.
15526         (inet_pton4): Likewise.
15527         (inet_pton6): Likewise.
15528         * resolv/res_debug.c (loc_aton): Likewise.
15529         (loc_ntoa): Likewise.
15530         * resource/getpriority.c (__getpriority): Likewise.
15531         * resource/getrusage.c (__getrusage): Likewise.
15532         * resource/nice.c (nice): Likewise.
15533         * resource/setpriority.c (__setpriority): Likewise.
15534         * resource/setrlimit64.c (setrlimit64): Likewise.
15535         * resource/vlimit.c (vlimit): Likewise.
15536         * resource/vtimes.c (vtimes): Likewise.
15537         * rt/aio_error.c (aio_error): Likewise.
15538         * rt/aio_return.c (aio_return): Likewise.
15539         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
15540         * signal/kill.c (__kill): Likewise.
15541         * signal/killpg.c (killpg): Likewise.
15542         * signal/raise.c (raise): Likewise.
15543         * signal/sigaction.c (__sigaction): Likewise.
15544         * signal/sigaddset.c (sigaddset): Likewise.
15545         * signal/sigaltstack.c (sigaltstack): Likewise.
15546         * signal/sigandset.c (sigandset): Likewise.
15547         * signal/sigblock.c (__sigblock): Likewise.
15548         * signal/sigdelset.c (sigdelset): Likewise.
15549         * signal/sigempty.c (sigemptyset): Likewise.
15550         * signal/sigfillset.c (sigfillset): Likewise.
15551         * signal/sighold.c (sighold): Likewise.
15552         * signal/sigignore.c (sigignore): Likewise.
15553         * signal/sigintr.c (siginterrupt): Likewise.
15554         * signal/sigisempty.c (sigisemptyset): Likewise.
15555         * signal/sigismem.c (sigismember): Likewise.
15556         * signal/signal.c (signal): Likewise.
15557         * signal/sigorset.c (sigorset): Likewise.
15558         * signal/sigpause.c (__sigpause): Likewise.
15559         * signal/sigpending.c (sigpending): Likewise.
15560         * signal/sigprocmask.c (__sigprocmask): Likewise.
15561         * signal/sigrelse.c (sigrelse): Likewise.
15562         * signal/sigreturn.c (__sigreturn): Likewise.
15563         * signal/sigset.c (sigset): Likewise.
15564         * signal/sigsetmask.c (__sigsetmask): Likewise.
15565         * signal/sigstack.c (sigstack): Likewise.
15566         * signal/sigsuspend.c (__sigsuspend): Likewise.
15567         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
15568         * signal/sysv_signal.c (__sysv_signal): Likewise.
15569         * socket/accept.c (accept): Likewise.
15570         * socket/accept4.c (__libc_accept4): Likewise.
15571         * socket/bind.c (__bind): Likewise.
15572         * socket/connect.c (__connect): Likewise.
15573         * socket/getpeername.c (getpeername): Likewise.
15574         * socket/getsockname.c (__getsockname): Likewise.
15575         * socket/getsockopt.c (getsockopt): Likewise.
15576         * socket/listen.c (__listen): Likewise.
15577         * socket/recv.c (__recv): Likewise.
15578         * socket/recvmsg.c (__recvmsg): Likewise.
15579         * socket/send.c (__send): Likewise.
15580         * socket/sendmsg.c (__sendmsg): Likewise.
15581         * socket/shutdown.c (shutdown): Likewise.
15582         * socket/sockatmark.c (sockatmark): Likewise.
15583         * socket/socket.c (__socket): Likewise.
15584         * stdio-common/ctermid.c (ctermid): Likewise.
15585         * stdio-common/cuserid.c (cuserid): Likewise.
15586         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
15587         * stdio-common/remove.c (remove): Likewise.
15588         * stdio-common/rename.c (rename): Likewise.
15589         * stdio-common/renameat.c (renameat): Likewise.
15590         * stdio-common/tempname.c (__gen_tempname): Likewise.
15591         * stdio-common/xbug.c (InitBuffer): Likewise.
15592         (AppendToBuffer): Likewise.
15593         (ReadFile): Likewise.
15594         * stdlib/a64l.c (a64l): Likewise.
15595         * stdlib/drand48_r.c (drand48_r): Likewise.
15596         * stdlib/getcontext.c (getcontext): Likewise.
15597         * stdlib/getenv.c (getenv): Likewise.
15598         * stdlib/l64a.c (l64a): Likewise.
15599         * stdlib/llabs.c (llabs): Likewise.
15600         * stdlib/lldiv.c (lldiv): Likewise.
15601         * stdlib/lrand48_r.c (lrand48_r): Likewise.
15602         * stdlib/mrand48_r.c (mrand48_r): Likewise.
15603         * stdlib/putenv.c (putenv): Likewise.
15604         * stdlib/random.c (__srandom): Likewise.
15605         (__initstate): Likewise.
15606         (__setstate): Likewise.
15607         * stdlib/random_r.c (__srandom_r): Likewise.
15608         (__setstate_r): Likewise.
15609         (__random_r): Likewise.
15610         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
15611         * stdlib/setcontext.c (setcontext): Likewise.
15612         * stdlib/setenv.c (setenv): Likewise.
15613         (unsetenv): Likewise.
15614         * stdlib/srand48.c (srand48): Likewise.
15615         * stdlib/srand48_r.c (__srand48_r): Likewise.
15616         * stdlib/swapcontext.c (swapcontext): Likewise.
15617         * stdlib/system.c (__libc_system): Likewise.
15618         * stdlib/tst-strtod.c (expand): Likewise.
15619         * stdlib/tst-strtol.c (expand): Likewise.
15620         * stdlib/tst-strtoll.c (expand): Likewise.
15621         * streams/fattach.c (fattach): Likewise.
15622         * streams/fdetach.c (fdetach): Likewise.
15623         * streams/getmsg.c (getmsg): Likewise.
15624         * streams/isastream.c (isastream): Likewise.
15625         * string/ffs.c (__ffs): Likewise.
15626         * string/ffsll.c (ffsll): Likewise.
15627         * string/memcmp.c (memcmp_common_alignment): Likewise.
15628         (memcmp_not_common_alignment): Likewise.
15629         (MEMCMP): Likewise.
15630         * string/memcpy.c (memcpy): Likewise.
15631         * string/memmove.c (MEMMOVE): Likewise.
15632         * string/memset.c (memset): Likewise.
15633         * string/rawmemchr.c (RAWMEMCHR): Likewise.
15634         * string/strchrnul.c (STRCHRNUL): Likewise.
15635         * string/strerror.c (strerror): Likewise.
15636         * string/strndup.c (__strndup): Likewise.
15637         * string/strverscmp.c (__strverscmp): Likewise.
15638         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
15639         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
15640         (clnttcp_freeres): Likewise.
15641         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
15642         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
15643         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
15644         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
15645         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
15646         (xdr_callhdr): Likewise.
15647         * sunrpc/rpcinfo.c (udpping): Likewise.
15648         (tcpping): Likewise.
15649         (pstatus): Likewise.
15650         (pmapdump): Likewise.
15651         (brdcst): Likewise.
15652         (deletereg): Likewise.
15653         (getprognum): Likewise.
15654         (getvers): Likewise.
15655         (get_inet_address): Likewise.
15656         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
15657         * sunrpc/svc_udp.c (svcudp_create): Likewise.
15658         (svcudp_stat): Likewise.
15659         (svcudp_recv): Likewise.
15660         (svcudp_reply): Likewise.
15661         (svcudp_getargs): Likewise.
15662         (svcudp_freeargs): Likewise.
15663         (svcudp_destroy): Likewise.
15664         * sunrpc/xdr.c (xdr_bytes): Likewise.
15665         (xdr_netobj): Likewise.
15666         (xdr_string): Likewise.
15667         (xdr_wrapstring): Likewise.
15668         * sunrpc/xdr_float.c (xdr_float): Likewise.
15669         (xdr_double): Likewise.
15670         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
15671         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
15672         * sysvipc/ftok.c (ftok): Likewise.
15673         * sysvipc/msgctl.c (msgctl): Likewise.
15674         * sysvipc/msgget.c (msgget): Likewise.
15675         * sysvipc/msgrcv.c (msgrcv): Likewise.
15676         * sysvipc/msgsnd.c (msgsnd): Likewise.
15677         * sysvipc/semget.c (semget): Likewise.
15678         * sysvipc/semop.c (semop): Likewise.
15679         * sysvipc/shmat.c (shmat): Likewise.
15680         * sysvipc/shmctl.c (shmctl): Likewise.
15681         * sysvipc/shmdt.c (shmdt): Likewise.
15682         * sysvipc/shmget.c (shmget): Likewise.
15683         * termios/cfmakeraw.c (cfmakeraw): Likewise.
15684         * termios/speed.c (cfgetospeed): Likewise.
15685         (cfgetispeed): Likewise.
15686         (cfsetospeed): Likewise.
15687         (cfsetispeed): Likewise.
15688         * termios/tcflow.c (tcflow): Likewise.
15689         * termios/tcflush.c (tcflush): Likewise.
15690         * termios/tcgetattr.c (__tcgetattr): Likewise.
15691         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
15692         * termios/tcgetsid.c (tcgetsid): Likewise.
15693         * termios/tcsendbrk.c (tcsendbreak): Likewise.
15694         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
15695         * time/adjtime.c (__adjtime): Likewise.
15696         * time/dysize.c (dysize): Likewise.
15697         * time/ftime.c (ftime): Likewise.
15698         * time/getitimer.c (__getitimer): Likewise.
15699         * time/gettimeofday.c (__gettimeofday): Likewise.
15700         * time/gmtime.c (__gmtime_r): Likewise.
15701         (gmtime): Likewise.
15702         * time/localtime.c (__localtime_r): Likewise.
15703         (localtime): Likewise.
15704         * time/offtime.c (__offtime): Likewise.
15705         * time/settimeofday.c (__settimeofday): Likewise.
15706         * time/stime.c (stime): Likewise.
15707         * time/strftime_l.c (tm_diff): Likewise.
15708         (iso_week_days): Likewise.
15709         * time/strptime.c (strptime): Likewise.
15710         * time/time.c (time): Likewise.
15711         * time/timespec_get.c (timespec_get): Likewise.
15712         * time/tzset.c (tzset_internal): Likewise.
15713         (compute_change): Likewise.
15714         (__tz_compute): Likewise.
15715         * wcsmbs/btowc.c (__btowc): Likewise.
15716         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
15717         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
15718         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
15719         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
15720         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
15721         * wcsmbs/wcscat.c (__wcscat): Likewise.
15722         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15723         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
15724         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
15725         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15726         * wcsmbs/wcsdup.c (wcsdup): Likewise.
15727         * wcsmbs/wcslen.c (__wcslen): Likewise.
15728         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
15729         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
15730         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
15731         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
15732         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15733         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
15734         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15735         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15736         * wcsmbs/wcstok.c (wcstok): Likewise.
15737         * wcsmbs/wctob.c (wctob): Likewise.
15738         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
15739         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15740         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
15741         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
15742         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
15743         * wcsmbs/wmemset.c (__wmemset): Likewise.
15744         * wctype/wcfuncs.c (__towlower): Likewise.
15745         (__towupper): Likewise.
15747         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
15748         (lll_unlock_elision): Add adapt_count parameter.
15750 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15752         * sysdeps/nptl/configure.ac: Do not give errors based on the
15753         results of top-level configure tests.
15754         * sysdeps/nptl/configure: Regenerated.
15756         * configure.ac (libc_cv_Bgroup): Remove configure test.
15757         * configure: Regenerated.
15758         * config.make.in (have-Bgroup): Remove variable.
15760         * configure.ac (sizeof_long_double): Remove configure test.
15761         * configure: Regenerated.
15762         * config.make.in (sizeof-long-double): Remove variable.
15764         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
15765         * configure: Regenerated.
15766         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
15767         variable.
15768         (exceptions): Likewise.
15769         * sysdeps/arm/configure: Regenerated.
15770         * config.make.in (exceptions): Remove variable.
15771         * Makeconfig (uses-callbacks): Use -fexceptions instead of
15772         $(exceptions).
15773         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
15774         (CFLAGS-vdprintf_chk.c): Likewise.
15775         (CFLAGS-printf_chk.c): Likewise.
15776         (CFLAGS-fprintf_chk.c): Likewise.
15777         (CFLAGS-vprintf_chk.c): Likewise.
15778         (CFLAGS-vfprintf_chk.c): Likewise.
15779         (CFLAGS-gets_chk.c): Likewise.
15780         (CFLAGS-fgets_chk.c): Likewise.
15781         (CFLAGS-fgets_u_chk.c): Likewise.
15782         (CFLAGS-fread_chk.c): Likewise.
15783         (CFLAGS-fread_u_chk.c): Likewise.
15784         (CFLAGS-wprintf_chk.c): Likewise.
15785         (CFLAGS-fwprintf_chk.c): Likewise.
15786         (CFLAGS-vwprintf_chk.c): Likewise.
15787         (CFLAGS-vfwprintf_chk.c): Likewise.
15788         (CFLAGS-fgetws_chk.c): Likewise.
15789         (CFLAGS-fgetws_u_chk.c): Likewise.
15790         * libio/Makefile (CFLAGS-fileops.c): Likewise.
15791         (CFLAGS-fputc.c): Likewise.
15792         (CFLAGS-fputwc.c): Likewise.
15793         (CFLAGS-freopen64.c): Likewise.
15794         (CFLAGS-freopen.c): Likewise.
15795         (CFLAGS-fseek.c): Likewise.
15796         (CFLAGS-fseeko64.c): Likewise.
15797         (CFLAGS-fseeko.c): Likewise.
15798         (CFLAGS-ftello64.c): Likewise.
15799         (CFLAGS-ftello.c): Likewise.
15800         (CFLAGS-fwide.c): Likewise.
15801         (CFLAGS-genops.c): Likewise.
15802         (CFLAGS-getc.c): Likewise.
15803         (CFLAGS-getchar.c): Likewise.
15804         (CFLAGS-getwc.c): Likewise.
15805         (CFLAGS-getwchar.c): Likewise.
15806         (CFLAGS-iofclose.c): Likewise.
15807         (CFLAGS-iofflush.c): Likewise.
15808         (CFLAGS-iofgetpos64.c): Likewise.
15809         (CFLAGS-iofgetpos.c): Likewise.
15810         (CFLAGS-iofgets.c): Likewise.
15811         (CFLAGS-iofgetws.c): Likewise.
15812         (CFLAGS-iofputs.c): Likewise.
15813         (CFLAGS-iofputws.c): Likewise.
15814         (CFLAGS-iofread.c): Likewise.
15815         (CFLAGS-iofsetpos64.c): Likewise.
15816         (CFLAGS-iofsetpos.c): Likewise.
15817         (CFLAGS-ioftell.c): Likewise.
15818         (CFLAGS-iofwrite.c): Likewise.
15819         (CFLAGS-iogetdelim.c): Likewise.
15820         (CFLAGS-iogetline.c): Likewise.
15821         (CFLAGS-iogets.c): Likewise.
15822         (CFLAGS-iogetwline.c): Likewise.
15823         (CFLAGS-ioputs.c): Likewise.
15824         (CFLAGS-ioseekoff.c): Likewise.
15825         (CFLAGS-ioseekpos.c): Likewise.
15826         (CFLAGS-iosetbuffer.c): Likewise.
15827         (CFLAGS-iosetvbuf.c): Likewise.
15828         (CFLAGS-ioungetc.c): Likewise.
15829         (CFLAGS-ioungetwc.c): Likewise.
15830         (CFLAGS-oldfileops.c): Likewise.
15831         (CFLAGS-oldiofclose.c): Likewise.
15832         (CFLAGS-oldiofgetpos64.c): Likewise.
15833         (CFLAGS-oldiofgetpos.c): Likewise.
15834         (CFLAGS-oldiofsetpos64.c): Likewise.
15835         (CFLAGS-oldiofsetpos.c): Likewise.
15836         (CFLAGS-peekc.c): Likewise.
15837         (CFLAGS-putc.c): Likewise.
15838         (CFLAGS-putchar.c): Likewise.
15839         (CFLAGS-putwc.c): Likewise.
15840         (CFLAGS-putwchar.c): Likewise.
15841         (CFLAGS-rewind.c): Likewise.
15842         (CFLAGS-wfileops.c): Likewise.
15843         (CFLAGS-wgenops.c): Likewise.
15844         (CFLAGS-oldiofopen.c): Likewise.
15845         (CFLAGS-iofopen.c): Likewise.
15846         (CFLAGS-iofopen64.c): Likewise.
15847         (CFLAGS-oldtmpfile.c): Likewise.
15848         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
15849         (CFLAGS-fprintf.c): Likewise.
15850         (CFLAGS-printf.c): Likewise.
15851         (CFLAGS-vfwprintf.c): Likewise.
15852         (CFLAGS-vfscanf.c): Likewise.
15853         (CFLAGS-vfwscanf.c): Likewise.
15854         (CFLAGS-fscanf.c): Likewise.
15855         (CFLAGS-scanf.c): Likewise.
15856         (CFLAGS-isoc99_vfscanf.c): Likewise.
15857         (CFLAGS-isoc99_vscanf.c): Likewise.
15858         (CFLAGS-isoc99_fscanf.c): Likewise.
15859         (CFLAGS-isoc99_scanf.c): Likewise.
15860         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
15861         (CFLAGS-isoc99_fwscanf.c): Likewise.
15862         (CFLAGS-isoc99_vwscanf.c): Likewise.
15863         (CFLAGS-isoc99_vfwscanf.c): Likewise.
15865         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
15866         after mkstemp64.
15867         * login/tst-utmp.c (do_prepare): Likewise.
15868         * rt/tst-aio.c (do_prepare): Likewise.
15869         * rt/tst-aio64.c (do_prepare): Likewise.
15871 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15873         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15874         (__lll_lock_elision): Remove adapt_count decrement...
15875         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15876         (__lll_trylock_elision): Likewise.
15877         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
15878         (__lll_unlock_elision): ... to here. And utilize
15879         new adapt_count parameter.
15880         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15881         (__lll_unlock_elision): Update to include adapt_count
15882         parameter.
15883         (lll_unlock_elision): Pass pointer to adapt_count
15884         variable.
15886 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15888         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
15889         Add elision adapt_count parameter to list of arguments.
15890         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
15891         (lll_unlock_elision): Update with new parameter list
15892         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
15893         (lll_unlock_elision): Likewise.
15894         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
15895         (lll_unlock_elision): Likewise.
15897 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15899         [BZ #19122]
15900         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
15901         attribute_hidden.
15903         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
15904         attribute_hidden.
15905         [IS_IN (rtld)] (__strdup): Likewise.
15906         [IS_IN (rtld)] (__strerror_r): Likewise.
15907         [IS_IN (rtld)] (__strsep_g): Likewise.
15908         [IS_IN (rtld)] (memchr): Likewise.
15909         [IS_IN (rtld)] (memcmp): Likewise.
15910         [IS_IN (rtld)] (memcpy): Likewise.
15911         [IS_IN (rtld)] (memmove): Likewise.
15912         [IS_IN (rtld)] (memset): Likewise.
15913         [IS_IN (rtld)] (rawmemchr): Likewise.
15914         [IS_IN (rtld)] (stpcpy): Likewise.
15915         [IS_IN (rtld)] (strchr): Likewise.
15916         [IS_IN (rtld)] (strcmp): Likewise.
15917         [IS_IN (rtld)] (strlen): Likewise.
15918         [IS_IN (rtld)] (strnlen): Likewise.
15919         [IS_IN (rtld)] (strsep): Likewise.
15921         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
15922         attribute_hidden.
15923         [IS_IN (rtld)] (__strtoul_internal): Likewise.
15925         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
15926         attribute_hidden.
15927         [IS_IN (rtld)] (__libc_sigaction): Likewise.
15929         * include/setjmp.h (__longjmp): Add attribute_hidden.
15930         [IS_IN (rtld)] (__sigsetjmp): Likewise.
15932         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
15933         Add attribute_hidden.
15935         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
15936         [IS_IN (rtld)] (__open): Likewise.
15937         [IS_IN (rtld)] (__fcntl): Likewise.
15939         * include/dirent.h (__opendirat): Add attribute_hidden.
15940         (__getdents): Likewise.
15941         (__getdents64): Likewise.
15942         (__alloc_dir): Likewise.
15943         [IS_IN (rtld)] (__closedir): Likewise.
15944         [IS_IN (rtld)] (__fdopendir): Likewise.
15945         [IS_IN (rtld)] (__readdir): Likewise.
15946         [IS_IN (rtld)] (__readdir64): Likewise.
15947         [IS_IN (rtld)] (__rewinddir): Likewise.
15949         * include/dlfcn.h (_dl_catch_error): Moved to ...
15950         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
15951         attribute_hidden.
15953         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
15954         (_itoa_word): Likewise.
15956         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
15957         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
15958         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
15959         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
15960         (_dl_higher_prime_number): Likewise.
15961         (_dl_debug_printf_c): Likewise.
15962         (_dl_signal_cerror): Likewise.
15963         (_dl_receive_error): Likewise.
15964         (_dl_reloc_bad_type): Likewise.
15965         (_dl_resolve_conflicts): Likewise.
15966         (_dl_check_all_versions): Likewise.
15967         (_dl_check_map_versions): Likewise.
15968         (_dl_sort_fini): Likewise.
15969         (_dl_debug_initialize): Likewise.
15970         (_dl_init_paths): Likewise.
15971         (_dl_show_auxv): Likewise.
15972         (_dl_next_ld_env_entry): Likewise.
15973         (_dl_important_hwcaps): Likewise.
15974         (_dl_load_cache_lookup): Likewise.
15975         (_dl_update_slotinfo): Likewise.
15976         (_dl_show_scope): Likewise.
15978         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
15979         attribute_hidden.
15980         (_wordcopy_fwd_dest_aligned): Likewise.
15981         (_wordcopy_bwd_aligned): Likewise.
15982         (_wordcopy_bwd_dest_aligned): Likewise.
15984         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
15985         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15986         Likewise.
15987         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
15988         Likewise.
15989         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
15991 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
15993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
15994         GCC 5 requirement.
15996 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
15998         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
15999         test.
16000         * sysdeps/i386/configure: Regenerated.
16001         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
16002         code unconditional.
16004         * configure.ac (libc_cv_asm_previous_directive): Remove configure
16005         test.
16006         (libc_cv_asm_popsection_directive): Likewise.
16007         * configure: Regenerated.
16008         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
16009         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
16010         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
16011         (__make_section_unallocated): Make definition unconditional.
16012         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
16013         Remove conditional definition.
16014         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
16015         (__make_section_unallocated): Likewise.
16017         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
16018         * configure: Regenerated.
16019         * config.make.in (static-libgcc): Remove variable.
16020         * Makerules (build-shlib-helper): Use -static-libgcc instead of
16021         $(static-libgcc).
16022         (build-module-helper): Likewise.
16024         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
16025         * configure: Regenerated.
16027 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16029         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
16030         (struct char_buffer): New type.
16031         (char_buffer_start, char_buffer_size, char_buffer_error)
16032         (char_buffer_rewind, char_buffer_add): New functions.
16033         (ADDW): Remove macro, replaced by the char_buffer_add function.
16034         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
16035         of extend_alloca.  Make control flow more explicit.
16037 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16039         [BZ #19137]
16040         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
16041         Add -fomit-frame-pointer.
16042         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
16044 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16046         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
16047         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
16048         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
16049         only if !__GNUC_PREREQ (5,0).
16050         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
16051         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
16052         (INTERNAL_SYSCALL_NCS): Likewise.
16053         (LOADREGS_0): New macro for GCC 5.
16054         (ASMARGS_0): Likewise.
16055         (LOADREGS_1): Likewise.
16056         (ASMARGS_1): Likewise.
16057         (LOADREGS_2): Likewise.
16058         (ASMARGS_2): Likewise.
16059         (LOADREGS_3): Likewise.
16060         (ASMARGS_3): Likewise.
16061         (LOADREGS_4): Likewise.
16062         (ASMARGS_4): Likewise.
16063         (LOADREGS_5): Likewise.
16064         (ASMARGS_5): Likewise.
16065         (LOADREGS_6): Likewise.
16066         (ASMARGS_6): Likewise.
16068 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
16070         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
16071         -fomit-frame-pointer.
16072         (CFLAGS-mmap64.c): Likewise.
16073         (CFLAGS-semtimedop.c): Likewise.
16074         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
16075         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
16076         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
16077         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
16079 2015-10-15  Florian Weimer  <fweimer@redhat.com>
16081         [BZ #18928]
16082         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
16083         _dl_pointer_guard member.
16084         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
16085         initializer.
16086         (security_init): Always set up pointer guard.
16087         (process_envvars): Do not process LD_POINTER_GUARD.
16089 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
16091         [BZ #19134]
16092         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
16093         (.LC2): Likewise.
16094         (.LC3): Likewise.
16095         (__lround): Do not add 0.5 to integer or out-of-range arguments.
16097 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16099         [BZ #19129]
16100         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
16101         r0 and r1.
16103 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
16105         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
16107 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
16109         * include/stap-probe.h: Fix macro definition formatting.
16111 2015-10-14  Florian Weimer  <fweimer@redhat.com>
16113         [BZ #19074]
16114         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
16115         load and store num_ifs.
16117 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16119         [BZ #18822]
16120         * sysdeps/unix/sysv/linux/sched_getaffinity.c
16121         (__sched_getaffinity_new): Add libc_hidden_proto and
16122         libc_hidden_def.
16124 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16126         [BZ #19007]
16127         * scripts/localplt.awk: Also allow GOT references.
16128         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
16129         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
16130         with "+ REL R_386_GLOB_DAT".
16131         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
16132         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
16134 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
16136         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
16137         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16138         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
16139         Likewise.
16140         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
16141         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
16142         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
16143         INTERNAL_SYSCALLINTERNAL_SYSCALL and
16144         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16145         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
16146         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
16147         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
16148         Likewise.
16149         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
16151 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16153         [BZ #19125]
16154         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
16155         <math_private.h> and <stdint.h>.
16156         (__llround): Avoid conversions to and from long long int, and
16157         subtractions, where those might raise spurious exceptions.
16158         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
16159         <math_private.h> and <stdint.h>.
16160         (__llroundf): Avoid conversions to and from long long int, and
16161         subtractions, where those might raise spurious exceptions.
16163 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16165         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
16166         INLINE_SYSCALL_ERROR_RETURN_VALUE.
16167         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
16168         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
16169         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16170         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16171         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
16172         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
16173         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
16174         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
16175         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16176         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16177         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
16178         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
16179         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
16180         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
16181         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
16182         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16183         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
16184         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
16185         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
16186         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
16187         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
16188         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
16189         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
16190         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
16191         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
16192         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16193         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
16194         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
16195         (__xstat64_conv): Likewise.
16196         (__xstat32_conv): Likewise.
16198 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16200         * sysdeps/unix/sysv/linux/sysdep.h: New file.
16201         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
16202         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
16203         <sysdeps/unix/sysv/linux/sysdep.h>.
16204         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
16205         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
16206         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
16207         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
16208         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
16209         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
16210         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
16211         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
16212         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
16213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
16214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
16215         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16216         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16217         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
16218         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
16219         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16220         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
16221         (sysdep-dl-routines): Add sysdep.
16222         [$(subdir) == nptl] (libpthread-routines): Likewise.
16223         [$(subdir) == rt] (librt-routines): Likewise.
16224         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
16225         PIC when branching to SYSCALL_ERROR_LABEL.
16226         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
16227         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
16228         <sysdeps/unix/sysv/linux/sysdep.h>.
16229         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
16230         (SYSCALL_ERROR_ERRNO): Removed.
16231         (SYSCALL_ERROR_HANDLER): Changed to empty.
16232         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
16233         (__syscall_error): New prototype.
16234         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
16235         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
16237 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
16239         [BZ #19124]
16240         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
16241         (_dl_runtime_resolve_avx512): Make it a hidden alias of
16242         _dl_runtime_resolve_avx.
16243         (_dl_runtime_profile_avx512): Make it a hidden alias of
16244         _dl_runtime_profile_avx.
16246 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
16248         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
16249         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
16250         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
16251         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
16253         [BZ #16422]
16254         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
16255         New configure test.
16256         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
16257         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
16258         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
16259         <math_private.h> and <stdint.h>.
16260         (__llrint): Avoid conversions to long long int where those might
16261         raise spurious exceptions.
16262         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
16263         <math_private.h> and <stdint.h>.
16264         (__llrintf): Avoid conversions to long long int where those might
16265         raise spurious exceptions.
16267 2015-10-12  Andreas Schwab  <schwab@suse.de>
16269         [BZ #18969]
16270         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
16271         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
16272         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
16273         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
16274         $(gen-locales).
16275         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
16276         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
16277         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
16278         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
16279         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
16280         $(gen-locales).
16281         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
16282         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
16283         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
16284         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
16285         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
16286         ($(objpfx)tst-ftell-active-handler.out)
16287         ($(objpfx)tst-ftell-append.out)
16288         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
16289         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
16290         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
16291         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
16292         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
16293         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
16294         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
16295         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
16296         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
16297         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
16298         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
16299         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
16300         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
16301         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
16302         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
16303         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
16304         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
16305         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
16306         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
16307         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
16308         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
16309         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
16310         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
16311         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
16312         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
16313         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
16314         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
16315         $(gen-locales).
16316         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
16317         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
16318         $(gen-locales).
16319         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
16320         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
16321         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
16322         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
16323         $(gen-locales).
16324         * libio/tst_wprintf2.c (main): Use explicit locale.
16325         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
16327 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16329         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
16330         __msg_sig_post.
16331         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
16333 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16335         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
16336         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16338         * sysdeps/arm/libm-test-ulps: Regenerated.
16340         [BZ #15470]
16341         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
16343         [BZ #16399]
16344         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
16345         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
16346         and <fix-fp-int-convert-overflow.h>.
16347         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16348         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16349         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
16350         and <fix-fp-int-convert-overflow.h>.
16351         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
16352         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16353         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
16354         <fix-fp-int-convert-overflow.h>.
16355         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
16356         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16357         * sysdeps/ieee754/dbl-64/s_lround.c: Include
16358         <fix-fp-int-convert-overflow.h>.
16359         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
16360         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16361         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
16362         and <fix-fp-int-convert-overflow.h>.
16363         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16364         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16365         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
16366         <limits.h> and <fix-fp-int-convert-overflow.h>.
16367         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16368         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16369         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
16370         and <fix-fp-int-convert-overflow.h>.
16371         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
16372         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16373         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
16374         and <fix-fp-int-convert-overflow.h>.
16375         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
16376         FIX_DBL_LLONG_CONVERT_OVERFLOW.
16377         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
16379 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
16381         [BZ #18589]
16382         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
16383         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
16384         $(gen-locales).
16386 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16387             Phil Blundell <pb@pbcl.net>
16389         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
16390         * nptl/tst-cancel26.c: New file.
16391         * nptl/tst-cancel27.c: Likewise.
16393 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
16395         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
16396         __ILP32__ isn't defined.
16397         (lrint): Likewise.
16398         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
16399         (lrintf): Likewise.
16400         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
16401         (lrintl): Likewise.
16402         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
16403         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
16404         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
16406 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16408         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
16409         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
16411         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
16412         file.
16413         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
16414         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
16416 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
16418         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
16419         configure test.
16420         * sysdeps/i386/configure: Regenerated.
16421         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
16422         configure test.
16423         * sysdeps/x86_64/configure: Regenerated.
16424         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
16425         Make code unconditional.
16427         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
16428         test.
16429         * sysdeps/i386/configure: Regenerated.
16430         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
16431         test.
16432         * sysdeps/x86_64/configure: Regenerated.
16433         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
16434         Make code unconditional.
16435         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
16436         Likewise.
16437         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
16438         Likewise.
16439         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16440         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
16441         code unconditional.
16442         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16443         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
16444         code unconditional.
16445         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16446         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
16447         code unconditional.
16448         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
16449         code unconditional.
16450         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16451         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
16452         code unconditional.
16453         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16454         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
16455         code unconditional.
16456         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16457         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
16458         code unconditional.
16459         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16460         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
16461         code unconditional.
16462         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
16463         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
16465         [BZ #19095]
16466         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
16467         mantissa to long int before shifting left.
16469 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16471         [BZ #19094]
16472         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
16473         <limits.h>.
16474         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16475         when result overflows but exception would not result from cast.
16476         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
16477         <limits.h>.
16478         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16479         when result overflows but exception would not result from cast.
16480         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
16481         <limits.h>.
16482         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16483         when result overflows but exception would not result from cast.
16484         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
16485         <limits.h>.
16486         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16487         when result overflows but exception would not result from cast.
16488         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
16489         <limits.h>.
16490         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
16491         when result overflows but exception would not result from cast.
16492         * math/libm-test.inc (lrint_test_data): Add more tests.
16493         (llrint_test_data): Likewise.
16495 2015-10-08  Roland McGrath  <roland@hack.frob.com>
16497         [BZ #18872]
16498         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
16499         Move out from under [$(run-built-tests) = yes] conditional.
16500         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
16501         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
16503 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
16505         [BZ #18589]
16506         * string/Makefile (tests): Add bug-strcoll2.
16507         (LOCALES): Add cs_CZ.UTF-8.
16508         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
16510         [BZ #18589]
16511         * string/bug-strcoll2.c: New file.
16512         * locale/categories.def: Revert commit
16513         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
16514         * locale/langinfo.h: Likewise.
16515         * locale/localeinfo.h: Likewise.
16516         * locale/C-collate.c: Likewise.
16517         * locale/programs/ld-collate.c (collate_output): Likewise.
16518         * string/strcoll_l.c (STRDIFF): Likewise.
16519         (STRCOLL): Likewise.
16520         * wcsmbs/wcscoll_l.c: Likewise.
16522 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
16524         * math/libm-test.inc (lround_test_data): Do not expect the absence
16525         of "inexact" for some tests with non-integer arguments.
16526         (llround_test_data): Likewise.
16528         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
16529         test.
16530         (libc_cv_cc_sse2avx): Likewise.
16531         * sysdeps/i386/configure: Regenerated.
16532         * sysdeps/i386/i686/multiarch/Makefile
16533         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
16534         [$(subdir) = math].
16535         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
16536         code unconditional.
16537         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16538         Likewise.
16539         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
16540         Likewise.
16541         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16542         Likewise.
16543         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
16544         test.
16545         (libc_cv_cc_sse2avx): Likewise.
16546         * sysdeps/x86_64/configure: Regenerated.
16547         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
16548         unconditional.
16549         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
16550         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
16551         unconditional.
16552         (_dl_runtime_profile)
16553         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
16554         conditional code.
16555         * sysdeps/x86_64/fpu/multiarch/Makefile
16556         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
16557         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
16558         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16559         * sysdeps/x86_64/fpu/multiarch/e_exp.c
16560         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16561         * sysdeps/x86_64/fpu/multiarch/e_log.c
16562         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16563         * sysdeps/x86_64/fpu/multiarch/s_atan.c
16564         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16565         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
16566         Likewise.
16567         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
16568         Likewise.
16569         * sysdeps/x86_64/fpu/multiarch/s_sin.c
16570         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16571         * sysdeps/x86_64/fpu/multiarch/s_tan.c
16572         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16573         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
16574         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
16575         (HAVE_SSE2AVX_SUPPORT): Likewise.
16577 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
16579         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
16580         instead of #pragma optimize.
16582 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16584         [BZ #17195]
16585         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
16586         as is similarly done in systrim and _int_free already.
16588 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16590         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
16592 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16594         [BZ #19088]
16595         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
16596         <limits.h>.
16597         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16598         overflows but exception would not result from cast.
16599         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
16600         and <limits.h>.
16601         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
16602         overflows but exception would not result from cast.
16603         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
16604         <limits.h>.
16605         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16606         overflows but exception would not result from cast.
16607         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
16608         <limits.h>.
16609         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16610         overflows but exception would not result from cast.
16611         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
16612         <limits.h>.
16613         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
16614         overflows but exception would not result from cast.
16615         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
16616         <limits.h>.
16617         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
16618         overflows but exception would not result from cast.
16619         * math/libm-test.inc (lround_test_data): Add more tests.
16620         (llround_test_data): Likewise.
16622 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
16624         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
16625         (CFLAGS-ialloc.c): Ditto.
16626         (CFLAGS-scheck.c): Ditto.
16628 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
16630         [BZ #19086]
16631         * manual/filesys.texi (Storage Allocation): Fix argument order for
16632         posix_fallocate64.
16634 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16636         [BZ #19085]
16637         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
16638         exponent below 48 inside case for non-overflowing exponent.
16639         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
16641 2015-10-07  Florian Weimer  <fweimer@redhat.com>
16643         * iconvdata/cp737.h (from_idx): Add const.
16644         * iconvdata/cp775.h (from_idx): Likewise.
16646 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
16648         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
16649         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
16650         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
16652         [BZ #19079]
16653         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
16654         file, conditioned on [!_LP64].
16655         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
16656         [!_LP64] (__lround): Do not define as function or alias.
16657         [!_LP64] (lround): Likewise.
16658         [!_LP64] (__lroundl): Likewise.
16659         [!_LP64] (lroundl): Likewise.
16660         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
16661         macro.
16662         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
16663         Likewise.
16665 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16667         * math/libm-test.inc (lrint_test_data): Add more tests.
16668         (llrint_test_data): Likewise.
16669         (lround_test_data): Likewise.
16670         (llround_test_data): Likewise.
16672         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
16673         (llrint_test_data): Add tests used for lrint.
16675         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
16676         test.
16677         * sysdeps/i386/configure: Regenerated.
16678         * sysdeps/i386/i686/multiarch/Makefile
16679         [$(config-cflags-sse4) = yes]: Make code unconditional.
16680         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16681         Likewise.
16682         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
16683         Likewise.
16684         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
16685         test.
16686         * sysdeps/x86_64/configure: Regenerated.
16687         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
16688         Make code unconditional.
16689         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
16690         Likewise.
16691         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
16692         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
16694         * scripts/rpm2dynsym.sh: Remove file.
16696 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16698         * configure.ac (libc_cv_cxx_thread_local): Define.
16699         * configure: Regenerate.
16700         * config.make.in (have-cxx-thread_local): Define.
16701         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
16702         (LDLIBS-tst-thread_local1): Define.
16703         (tests): Add tst-thread_local1.
16704         [have-cxx-thread_local != yes] (tests-unsupported): Add
16705         tst-thread_local1.
16706         * nptl/tst-thread_local1.cc: New file.
16708 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
16710         [BZ #19078]
16711         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
16712         (u_thres): Likewise.
16713         (__expl): Determine whether to call __kernel_standard_l based on
16714         value of result, not argument.
16716         * math/libm-test.inc (scalb_test_data): Add more expectations for
16717         the "inexact" exception.
16719         [BZ #19077]
16720         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
16721         0.0L for argument 1.0L.
16723         [BZ #19076]
16724         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
16725         constant 0.0L when computing infinite result.
16727 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16729         [BZ #10432]
16730         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
16731         malloc_usable_size.
16733 2015-10-06  Florian Weimer  <fweimer@redhat.com>
16735         [BZ #19018]
16736         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16737         Mangle function pointer before storing it.
16738         (__call_tls_dtors): Demangle function pointer before calling it.
16740 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
16742         [BZ #19012]
16743         * iconv/gconv_db.c (gen_steps): Check for additional errors.
16744         Clean up on failure.
16746 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
16748         [BZ #19071]
16749         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
16750         long int variable to store possibly incremented high part of
16751         mantissa.
16752         * math/libm-test.inc (lround_test_data): Add tests used for
16753         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
16754         for tests requiring 64-bit long.  Do not condition tests on
16755         [TEST_FLOAT] unnecessarily.
16756         (llround_test_data): Add tests used for lround.  Add another
16757         expectation for the "inexact" exception.  Do not condition tests
16758         on [TEST_FLOAT] unnecessarily.
16760         [BZ #887]
16761         [BZ #19049]
16762         [BZ #19050]
16763         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
16764         * sysdeps/ieee754/dbl-64/e_log10.c: Include
16765         <fix-int-fp-convert-zero.h>.
16766         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16767         * sysdeps/ieee754/dbl-64/e_log2.c: Include
16768         <fix-int-fp-convert-zero.h>.
16769         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16770         * sysdeps/ieee754/dbl-64/s_erf.c: Include
16771         <fix-int-fp-convert-zero.h>.
16772         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16773         * sysdeps/ieee754/dbl-64/s_logb.c: Include
16774         <fix-int-fp-convert-zero.h>.
16775         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16776         * sysdeps/ieee754/flt-32/e_log10f.c: Include
16777         <fix-int-fp-convert-zero.h>.
16778         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16779         * sysdeps/ieee754/flt-32/e_log2f.c: Include
16780         <fix-int-fp-convert-zero.h>.
16781         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16782         * sysdeps/ieee754/flt-32/s_erff.c: Include
16783         <fix-int-fp-convert-zero.h>.
16784         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16785         * sysdeps/ieee754/flt-32/s_logbf.c: Include
16786         <fix-int-fp-convert-zero.h>.
16787         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16788         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
16789         <fix-int-fp-convert-zero.h>.
16790         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16791         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
16792         <fix-int-fp-convert-zero.h>.
16793         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
16794         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
16795         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
16796         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
16797         file.
16798         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
16800 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
16802         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16804 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
16806         [BZ #19059]
16807         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
16808         overflowing computation.
16809         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16810         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16811         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
16812         Likewise.
16813         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
16814         Likewise.
16815         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16816         Likewise.
16817         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16818         Likewise.
16819         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
16820         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16821         Likewise.
16822         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16823         Likewise.
16824         * math/libm-test.inc (nexttoward_test_data): Add more tests.
16826         * nss/rewrite_field.c (__nss_rewrite_field): Use
16827         internal_function.
16828         * nss/valid_field.c (__nss_valid_field): Likewise.
16829         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
16831 2015-10-02  Florian Weimer  <fweimer@redhat.com>
16833         [BZ #18724]
16834         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
16835         (__nss_invalid_field_characters, __nss_valid_field)
16836         (__nss_valid_list_field, __nss_rewrite_field): Declare.
16837         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
16838         tst-field.c: New file.
16839         * nss/Makefile (routines): Add valid_field, rewrite_field.
16840         (tests-static): Define unconditionally.
16841         (tests): Include tests-static.
16842         [build-static-nss] (tests-static): Use append.
16843         [build-static-nss] (tests): Remove modification.
16844         * nss/getent.c (print_group): Call putgrent.  Report error.
16845         (print_gshadow): Call putsgent.  Report error.
16846         (print_passwd): Call putpwent.  Report error.
16847         (print_shadow): Call putspent.  Report error.
16848         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
16849         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
16850         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
16851         name, password, directory, shell fields for valid syntax.  Rewrite
16852         GECOS field to match syntax.
16853         * pwd/Makefile (tests): Add tst-putpwent.
16854         * pwd/tst-putpwent.c: New file.
16855         * grp/putgrent.c (putgrent): Convert to ISO function definition.
16856         Check grName, grpasswd, gr_mem fields for valid syntax.
16857         Change loop variable i to size_t.
16858         * grp/Makefile (tests): Add tst-putgrent.
16859         * grp/tst-putgrent.c: New file.
16860         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
16861         valid syntax.
16862         * shadow/Makefile (tests): Add tst-putspent.
16863         * shadow/tst-putspent.c: New file.
16864         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
16865         sg_mem fields for valid syntax.
16866         * gshadow/Makefile (tests): Add tst-putsgent.
16867         * gshadow/tst-putsgent.c: New file.
16869 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16871         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
16872         assembly instructions.
16874 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
16876         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
16877         prefix from operands.
16879 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
16881         [BZ #16347]
16882         [BZ #19046]
16883         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
16884         <libc-internal.h>.
16885         (MAXLGM): Do not use diagnostic control macros.
16886         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
16887         threshold for ldbl-128ibm.
16888         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
16889         instead of multiplying by log then subtracting.
16890         * math/auto-libm-test-in: Add more tests of lgamma.
16891         * math/auto-libm-test-out: Regenerated.
16893         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
16894         (TYPE_HEX_DIG): Likewise.
16895         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
16896         precisions when printing floating-point numbers.
16897         (check_float_internal): Likewise.
16899 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
16901         [BZ #16620]
16902         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
16903         of log (10) rounded downward to 48 bits.
16904         (log10_low): Use corresponding low part of log (10).
16906         [BZ #19032]
16907         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
16908         compute result as (x - x) / (x - x) not as 0 / 0.
16909         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16910         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
16912         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16913         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
16914         and expm1.
16915         * math/auto-libm-test-out: Regenerated.
16916         * math/libm-test.inc (acos_test_data): Add more tests.
16917         (asin_test_data): Likewise.
16918         (asinh_test_data): Likewise.
16919         (atan_test_data): Likewise.
16920         (atanh_test_data): Likewise.
16921         (atan2_test_data): Likewise.
16922         (cbrt_test_data): Likewise.
16923         (ceil_test_data): Likewise.
16924         (copysign_test_data): Likewise.
16925         (cos_test_data): Likewise.
16926         (cosh_test_data): Likewise.
16927         (erf_test_data): Likewise.
16928         (erfc_test_data): Likewise.
16929         (exp_test_data): Likewise.
16930         (exp10_test_data): Likewise.
16931         (exp2_test_data): Likewise.
16932         (expm1_test_data): Likewise.
16933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16935 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
16937         [BZ #19006]
16938         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
16939         to ...
16940         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
16941         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
16942         to ...
16943         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
16944         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
16945         to ...
16946         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
16947         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
16948         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
16949         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
16950         to ...
16951         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
16952         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16953         Moved to ...
16954         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
16955         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16956         Moved to ...
16957         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
16958         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
16959         to ...
16960         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
16961         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16962         Moved to ...
16963         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
16964         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
16965         to ...
16966         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
16967         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
16968         Removed.
16969         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
16970         Likewise.
16971         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
16972         Likewise.
16973         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
16974         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
16975         Likewise.
16976         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16977         Likewise.
16978         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16979         Likewise.
16980         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16981         Likewise.
16982         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16983         Likewise.
16984         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
16985         Likewise.
16986         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
16987         Likewise.
16988         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
16989         Likewise.
16990         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
16991         Likewise.
16992         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
16993         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
16994         Likewise.
16995         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16996         Likewise.
16997         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16998         Likewise.
16999         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
17000         Likewise.
17001         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
17002         Likewise.
17003         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
17004         Replace ../i486/pthread_cond_timedwait.S with
17005         ../pthread_cond_timedwait.S.
17007 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
17009         * math/libm-test.inc (acos_test_data): Refine expectations for
17010         errno and "inexact" exceptions.
17011         (acosh_test_data): Likewise.
17012         (asin_test_data): Likewise.
17013         (asinh_test_data): Likewise.
17014         (atan_test_data): Likewise.
17015         (atanh_test_data): Likewise.
17016         (atan2_test_data): Likewise.
17017         (cbrt_test_data): Likewise.
17018         (ceil_test_data): Likewise.
17019         (copysign_test_data): Likewise.
17020         (cosh_test_data): Likewise.
17021         (erf_test_data): Likewise.
17022         (erfc_test_data): Likewise.
17023         (exp_test_data): Likewise.
17024         (exp10_test_data): Likewise.
17025         (exp2_test_data): Likewise.
17026         (expm1_test_data): Likewise.
17027         (fabs_test_data): Likewise.
17028         (floor_test_data): Likewise.
17029         (fma_test_data): Likewise.
17030         (fmax_test_data): Likewise.
17031         (fmin_test_data): Likewise.
17032         (fmod_test_data): Likewise.
17033         (fpclassify_test_data): Likewise.
17034         (frexp_test_data): Likewise.
17035         (hypot_test_data): Likewise.
17036         (ilogb_test_data): Likewise.
17037         (isgreater_test_data): Likewise.
17038         (isgreaterequal_test_data): Likewise.
17039         (isinf_test_data): Likewise.
17040         (isless_test_data): Likewise.
17041         (islessequal_test_data): Likewise.
17042         (islessgreater_test_data): Likewise.
17043         (isnan_test_data): Likewise.
17044         (isnormal_test_data): Likewise.
17045         (issignaling_test_data): Likewise.
17046         (isunordered_test_data): Likewise.
17047         (j0_test_data): Likewise.
17048         (j1_test_data): Likewise.
17049         (jn_test_data): Likewise.
17050         (lgamma_test_data): Likewise.
17051         (lrint_test_data): Likewise.
17052         (llrint_test_data): Likewise.
17053         (log_test_data): Likewise.
17054         (log10_test_data): Likewise.
17055         (log1p_test_data): Likewise.
17056         (log2_test_data): Likewise.
17057         (logb_test_data): Likewise.
17058         (lround_test_data): Likewise.
17059         (llround_test_data): Likewise.
17060         (modf_test_data): Likewise.
17061         (nearbyint_test_data): Likewise.
17062         (nextafter_test_data): Likewise.
17063         (nexttoward_test_data): Likewise.
17064         (pow_test_data): Likewise.
17065         (remainder_test_data): Likewise.
17066         (remquo_test_data): Likewise.
17067         (rint_test_data): Likewise.
17068         (round_test_data): Likewise.
17069         (signbit_test_data): Likewise.
17070         (sinh_test_data): Likewise.
17071         (sqrt_test_data): Likewise.
17072         (tanh_test_data): Likewise.
17073         (tgamma_test_data): Likewise.
17074         (trunc_test_data): Likewise.
17075         (y0_test_data): Likewise.
17076         (y1_test_data): Likewise.
17077         (yn_test_data): Likewise.
17078         (significand_test_data): Likewise.
17080 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
17082         * manual/filesys.texi (Storage Allocation): Document that
17083         posix_fallocate emulation fails when fd is open with O_WRONLY.
17085 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
17087         [BZ #19016]
17088         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
17089         allow more cases with X^2 + Y^2 >= 0.5.
17090         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
17091         normal element in sum instead of special-casing based on values of
17092         arguments.
17093         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
17094         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
17095         -1 as normal element in sum instead of special-casing based on
17096         values of arguments.
17097         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
17098         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
17099         (__x2y2m1): Update comment.
17100         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
17101         as normal element in sum instead of special-casing based on values
17102         of arguments.
17103         * math/s_clog.c (__clog): Handle more cases using log1p without
17104         hypot.
17105         * math/s_clog10.c (__clog10): Likewise.
17106         * math/s_clog10f.c (__clog10f): Likewise.
17107         * math/s_clog10l.c (__clog10l): Likewise.
17108         * math/s_clogf.c (__clogf): Likewise.
17109         * math/s_clogl.c (__clogl): Likewise.
17110         * math/auto-libm-test-in: Add more tests of clog and clog10.
17111         * math/auto-libm-test-out: Regenerated.
17112         * sysdeps/i386/fpu/libm-test-ulps: Update.
17113         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17115 2015-09-28  Martin Sebor  <msebor@redhat.com>
17117         [BZ #18969]
17118         * string/Makefile (LOCALES): Define.
17119         (gen-locales.mk): Include.
17120         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
17121         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
17122         * string/tst-strxfrm2.c (do_test): Print the name of the locale
17123         on setlocale failure.
17125 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
17127         [BZ #18985]
17128         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
17129         (__strftime_internal): Likewise.
17130         * time/tst-strftime.c (do_bz18985): New test.
17131         (do_test): Call it.
17133 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
17135         [BZ #18956]
17136         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
17137         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
17138         extracting high part.
17139         * math/auto-libm-test-in: Add another test of pow.
17140         * math/auto-libm-test-out: Regenerated.
17141         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17143 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17145         [BZ #18825]
17146         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
17147         New macro.
17148         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
17149         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17150         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
17151         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
17152         DBL_NARROW_EVAL, reloading the PIC register as needed.
17153         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
17154         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
17155         FLT_NARROW_EVAL.  Use separate return path for case when first
17156         argument is NaN.
17157         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
17158         DEFINE_LDBL_MIN.
17159         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
17160         PIC register.
17161         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
17162         math_check_force_underflow_nonneg.
17163         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
17164         underflow for subnormal result.
17165         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17166         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
17167         math_check_force_underflow_nonneg.
17168         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
17169         math_check_force_underflow.
17170         * sysdeps/x86_64/fpu/x86_64-math-asm.h
17171         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
17172         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
17173         DEFINE_LDBL_MIN.
17174         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
17175         * math/auto-libm-test-in: Add more tests of pow.
17176         * math/auto-libm-test-out: Regenerated.
17178 2015-09-25  Florian Weimer  <fweimer@redhat.com>
17180         * nss/bug17079.c (init_test_items): Add diagnostic for
17181         inconsistent entries.
17182         (test_buffer_size): Skip inconsistent entries.
17184 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
17186         [BZ #13304]
17187         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
17188         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
17189         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
17191         [BZ #13304]
17192         * sysdeps/microblaze/s_fma.c: New file.
17193         * sysdeps/microblaze/s_fmaf.c: Likewise.
17194         * sysdeps/microblaze/sfp-machine.h: Likewise.
17196 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
17198         [BZ #17250]
17199         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
17200         member.
17202 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17204         [BZ #18803]
17205         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
17206         (MO): New macro.
17207         (__ieee754_hypot) [PIC]: Load PIC register.
17208         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
17209         DBL_NARROW_EVAL.
17210         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
17211         math_check_force_underflow_nonneg in case where result might be
17212         tiny.
17213         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17214         Likewise.
17215         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
17216         Likewise.
17217         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17218         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17219         * math/auto-libm-test-in: Add more tests of hypot.
17220         * math/auto-libm-test-out: Regenerated.
17222 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
17224         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
17226 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
17228         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
17229         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
17230         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17231         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17232         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
17233         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17234         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17236         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
17237         LOAD_PIC_REG.
17239         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
17240         (FLT_CHECK_FORCE_UFLOW): Likewise.
17241         (DBL_CHECK_FORCE_UFLOW): Likewise.
17242         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
17243         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
17244         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
17245         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17246         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
17247         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17248         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17249         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
17250         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
17251         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17252         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
17253         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
17254         (flt_min): Replace with use of DEFINE_FLT_MIN.
17255         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
17256         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
17257         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17258         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
17259         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
17260         (flt_min): Replace with use of DEFINE_FLT_MIN.
17261         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
17262         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
17263         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17264         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
17265         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
17266         (flt_min): Replace with use of DEFINE_FLT_MIN.
17267         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
17268         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
17269         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
17270         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
17271         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
17272         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
17273         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
17274         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
17275         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17276         (__atan): Use DBL_CHECK_FORCE_UFLOW.
17277         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
17278         (flt_min): Replace with use of DEFINE_FLT_MIN.
17279         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
17280         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
17281         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17282         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
17283         main computation.
17284         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
17285         (flt_min): Replace with use of DEFINE_FLT_MIN.
17286         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
17287         main computation.
17288         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
17289         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17290         (MO): New macro.
17291         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
17292         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
17293         (flt_min): Replace with use of DEFINE_FLT_MIN.
17294         (MO): New macro.
17295         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
17296         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
17297         (__log1pl): Use MO.
17299         [BZ #19003]
17300         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
17301         $(config-cflags-nofma).
17303 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17305         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17307 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
17309         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
17310         (TWO127): Likewise.
17312         * sysdeps/generic/math_private.h (fabs_tg): New macro.
17313         (min_of_type): Likewise.
17314         (math_check_force_underflow): Likewise.
17315         (math_check_force_underflow_nonneg): Likewise.
17316         (math_check_force_underflow_complex): Likewise.
17317         * math/e_exp2l.c (__ieee754_exp2l): Use
17318         math_check_force_underflow_nonneg.
17319         * math/k_casinh.c (__kernel_casinh): Likewise.
17320         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17321         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17322         * math/s_catan.c (__catan): Use
17323         math_check_force_underflow_complex.
17324         * math/s_catanf.c (__catanf): Likewise.
17325         * math/s_catanh.c (__catanh): Likewise.
17326         * math/s_catanhf.c (__catanhf): Likewise.
17327         * math/s_catanhl.c (__catanhl): Likewise.
17328         * math/s_catanl.c (__catanl): Likewise.
17329         * math/s_ccosh.c (__ccosh): Likewise.
17330         * math/s_ccoshf.c (__ccoshf): Likewise.
17331         * math/s_ccoshl.c (__ccoshl): Likewise.
17332         * math/s_cexp.c (__cexp): Likewise.
17333         * math/s_cexpf.c (__cexpf): Likewise.
17334         * math/s_cexpl.c (__cexpl): Likewise.
17335         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
17336         * math/s_clog10.c (__clog10): Likewise.
17337         * math/s_clog10f.c (__clog10f): Likewise.
17338         * math/s_clog10l.c (__clog10l): Likewise.
17339         * math/s_clogf.c (__clogf): Likewise.
17340         * math/s_clogl.c (__clogl): Likewise.
17341         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
17342         * math/s_csinf.c (__csinf): Likewise.
17343         * math/s_csinh.c (__csinh): Likewise.
17344         * math/s_csinhf.c (__csinhf): Likewise.
17345         * math/s_csinhl.c (__csinhl): Likewise.
17346         * math/s_csinl.c (__csinl): Likewise.
17347         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
17348         * math/s_csqrtf.c (__csqrtf): Likewise.
17349         * math/s_csqrtl.c (__csqrtl): Likewise.
17350         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
17351         * math/s_ctanf.c (__ctanf): Likewise.
17352         * math/s_ctanh.c (__ctanh): Likewise.
17353         * math/s_ctanhf.c (__ctanhf): Likewise.
17354         * math/s_ctanhl.c (__ctanhl): Likewise.
17355         * math/s_ctanl.c (__ctanl): Likewise.
17356         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
17357         instead of volatile.
17358         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
17359         math_check_force_underflow.
17360         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17361         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
17362         volatile when forcing underflow.
17363         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
17364         math_check_force_underflow_nonneg.
17365         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
17366         Likewise.
17367         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
17368         math_check_force_underflow.
17369         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17370         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17371         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17372         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
17373         math_check_force_underflow_nonneg.
17374         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
17375         math_check_force_underflow.
17376         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
17377         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
17378         instead of volatile.
17379         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
17380         math_check_force_underflow.
17381         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17382         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
17383         math_check_force_underflow_nonneg.
17384         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
17385         math_check_force_underflow.
17386         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17387         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17388         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
17389         math_check_force_underflow_nonneg.
17390         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17391         Likewise.
17392         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
17393         math_check_force_underflow.
17394         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17395         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17396         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
17397         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
17398         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17399         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
17400         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
17401         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
17402         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17403         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
17404         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17405         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
17406         Likewise.
17407         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
17408         math_check_force_underflow_nonneg.
17409         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17410         Likewise.
17411         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
17412         math_check_force_underflow.
17413         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17414         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
17415         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
17416         Likewise.
17417         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
17418         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
17419         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
17420         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
17421         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
17422         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
17423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
17424         instead of volatile.
17425         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
17426         math_check_force_underflow.
17427         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
17428         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
17429         math_check_force_underflow.
17430         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
17431         Likewise.
17432         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17433         Use math_check_force_underflow_nonneg.
17434         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
17435         math_check_force_underflow.
17436         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
17437         Likewise.
17438         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
17439         Likewise.
17440         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
17441         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
17442         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
17443         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
17444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
17445         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
17446         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17447         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
17448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
17449         math_check_force_underflow_nonneg.
17450         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
17451         math_check_force_underflow.
17452         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17453         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
17454         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
17455         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
17456         math_check_force_underflow_nonneg.
17457         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
17458         math_check_force_underflow.
17459         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
17460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
17461         instead of volatile.
17462         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
17463         math_check_force_underflow.
17465         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
17466         * stdlib/strtod_l.c: Include <math_private.h>.
17467         (overflow_value): Use math_narrow_eval.
17468         (underflow_value): Likewise.
17469         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
17470         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
17471         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17472         (__ieee754_gamma_r): Likewise.
17473         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
17474         Likewise.
17475         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17476         Likewise.
17477         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
17478         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
17479         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
17480         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
17481         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17482         (__ieee754_gammaf_r): Likewise.
17483         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17484         Likewise.
17485         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
17486         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
17487         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
17488         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
17489         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
17490         volatile.
17491         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
17492         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
17493         math_narrow_eval.
17494         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
17495         Likewise.
17496         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
17497         Likewise.
17498         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
17499         Likewise.
17500         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
17501         volatile.
17502         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
17503         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
17504         math_narrow_eval.
17505         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
17506         Likewise.
17507         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
17508         Likewise.
17510 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
17512         * nptl/Versions: Remove ignored symbols.
17514 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17516         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
17517         * nss/Makefile (tests): Update.
17519 2015-09-22  Florian Weimer  <fweimer@redhat.com>
17521         * nss/bug18287.c: New file.
17522         * nss/Makefile (tests): Add bug18287.
17524 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17526         * mach/Versions (__mach_host_self_): Add symbol.
17528 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17530         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
17531         vm_page_size.
17533 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17535         Really fix sysdeps/i386/fpu/s_scalbn.S build
17537         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
17538         (libc: GLIBC_2_22): Remove unused version set.
17540 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17542         * config.make.in (enable-timezone-tools): New variable.
17543         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
17544         (enable_timezone_tools): Export to generated files.
17545         * configure: Regenerate.
17546         * INSTALL: Regenerate.
17547         * manual/install.texi (--disable-timezone-tools): Document new flag.
17548         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
17549         ifeq ($(enable-timezone-tools),yes) check.
17551 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17553         * timezone/Makefile: Revert previous change.
17555         [BZ #18980]
17556         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
17557         (DEFINE_DBL_MIN): Likewise.
17558         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17559         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
17560         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17561         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
17562         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
17563         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17564         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17565         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
17566         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
17567         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17568         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17569         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
17570         (flt_min): Replace with use of DEFINE_FLT_MIN.
17571         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17572         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
17573         (dbl_min): Replace with use of DEFINE_DBL_MIN.
17574         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
17575         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
17576         (flt_min): Replace with use of DEFINE_FLT_MIN.
17577         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17578         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
17579         (flt_min): Replace with use of DEFINE_FLT_MIN.
17580         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
17581         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
17582         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
17583         (__ieee754_hypot): Use DBL_NARROW_EVAL.
17584         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
17585         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
17586         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
17587         (__ieee754_pow): Use DBL_NARROW_EVAL.
17588         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
17589         (__ieee754_powf): Use FLT_NARROW_EVAL.
17590         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
17591         (__ieee754_expf_sse2): Convert double-precision result to single
17592         precision.
17593         * sysdeps/i386/fpu/libm-test-ulps: Update.
17595 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17597         * timezone/Makefile: Ignore unused variable errors due to private.h
17598         (time_t_min) and (time_t_max).
17599         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
17600         Likewise.
17602 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17604         [BZ #18981]
17605         * sysdeps/i386/fpu/i386-math-asm.h: New file.
17606         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
17607         (__ieee754_scalb): Use DBL_NARROW_EVAL.
17608         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
17609         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
17610         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
17611         (__scalbn): Use DBL_NARROW_EVAL.
17612         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
17613         (__scalbnf): Use FLT_NARROW_EVAL.
17615 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17617         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
17618         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
17619         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
17620         * stdio-common/printf_fp.c (___printf_fp):
17621         Use signbit to get the sign. Use isinf macro to allow inlining.
17622         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
17623         * stdio-common/printf_size.c (__printf_size): Likewise.
17625 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
17627         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
17629 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
17631         [BZ #18980]
17632         * sysdeps/generic/math_private.h: Include <float.h>.
17633         (math_narrow_eval): New macro.
17634         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
17635         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
17636         math_narrow_eval on overflowing return value.
17637         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
17638         Likewise.
17639         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17640         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
17641         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
17642         Likewise.
17643         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
17645 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17647         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
17648         * math/Makefile: Remove isinf_ns.c.
17649         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
17650         * math/multc3.c (__multc3): Likewise.
17651         * math/s_casin.c (__casin): Likewise.
17652         * math/s_casinf.c (__casinf): Likewise.
17653         * math/s_casinl.c (__casinl): Likewise.
17654         * math/s_cproj.c (__cproj): Likewise.
17655         * math/s_cprojf.c (__cprojf): Likewise.
17656         * math/s_cprojl.c (__cprofl): Likewise.
17657         * math/s_ctan.c (__ctan): Likewise.
17658         * math/s_ctanf.c (__ctanf): Likewise.
17659         * math/s_ctanh.c (__ctanh): Likewise.
17660         * math/s_ctanhf.c (__ctanhf): Likewise.
17661         * math/s_ctanhl.c (__ctanhl): Likewise.
17662         * math/s_ctanl.c (__ctanl): Likewise.
17663         * math/w_fmod.c (__fmod): Likewise.
17664         * math/w_fmodf.c (__fmodf): Likewise.
17665         * math/w_fmodl.c (_fmodl): Likewise.
17666         * math/w_remainder.c (__remainder): Likewise.
17667         * math/w_remainderf.c (__remainderf): Likewise.
17668         * math/w_remainderl.c (__remainderl): Likewise.
17669         * math/w_scalb.c (__scalb): Likewise.
17670         * math/w_scalbf.c (__scalbf): Likewise.
17671         * math/w_scalbl.c (__scalbl): Likewise.
17672         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
17673         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
17674         with isinf.
17675         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
17676         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
17677         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
17678         __isinf_nsf with isinf.
17679         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
17680         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
17681         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
17682         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
17683         with isinf.
17684         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
17685         __isinf_nsl with isinf.
17686         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
17687         with isinf.
17688         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
17689         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
17690         __isinf_nsl with isinf.
17691         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
17692         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
17693         with isinf.
17695 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17697         * resolv/base64.c (rcsid): Remove unused static.
17698         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
17699         static.  (tqpi1): Likewise.
17700         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
17701         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
17702         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
17703         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
17704         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
17705         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
17706         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
17707         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
17708         Likewise.
17710 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
17712         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
17713         <nptl/pthreadP.h>.
17714         (_longjmp_unwind): Use __libc_ptf_call.
17715         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
17717 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
17719         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
17720         * sysdeps/arm/__longjmp.S: Likewise.
17722 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17724         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
17725         Use __builtin_signbit.
17726         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
17727         Use __builtin_signbitf.
17728         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
17729         Use __builtin_signbitl.
17730         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
17731         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
17733 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17735         [BZ #15367]
17736         [BZ #17441]
17738         * math/Makefile: Build test-snan.c with -fsignaling-nans.
17739         * math/math.h (fpclassify): Use __builtin_fpclassify when
17740         available.  (signbit): Use __builtin_signbit(f/l).
17741         (isfinite): Use__builtin_isfinite.  (isnormal): Use
17742         __builtin_isnormal.  (isnan): Use __builtin_isnan.
17743         (isinf): Use __builtin_isinf_sign.
17745 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
17747         * benchtests/Makefile: Add bench-math-inlines, link with libm.
17748         * benchtests/bench-math-inlines.c: New benchmark.
17749         * benchtests/bench-util.h: New file.
17750         * benchtests/bench-util.c: New file.
17751         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
17753 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
17755         * elf/tst-dlmopen1.c: Define TEST_SO.
17756         (do_test): Use TEST_SO.
17758         * elf/dl-load.c: Include libc-internal.h.
17759         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
17761 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17763         [BZ #17887]
17764         * time/strptime_l.c (__strptime_internal): Make %z accept
17765         [+-]HH:MM time zones.
17767 2015-09-18  Vincent Bernat  <vincent@bernat.im>
17769         [BZ #17886]
17770         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
17771         valid time zone.
17773 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
17775         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
17776         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
17777         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17778         (__ASSUME_FDATASYNC): Delete.
17780 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17782         * conform/linknamespace.pl: Require weak undefined symbols to be
17783         in the standard namespace.
17784         (%strong_syms): Rename to %seen_syms.
17785         (%strong_seen): Rename to %seen_where.
17787 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
17789         [BZ #18970]
17790         * misc/error.c (error): Replace pthread_setcancelstate with
17791         __pthread_setcancelstate.
17792         (error_at_line): Likewise.
17793         * posix/wordexp.c (parse_comm): Likewise.
17794         * stdlib/fmtmsg.c (fmtmsg): Likewise.
17795         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
17796         (__pthread_setcancelstate): This.
17797         (pthread_setcancelstate): Add an alias.
17798         * nptl/nptl-init.c (pthread_functions): Replace
17799         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
17800         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
17801         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
17802         hidden_proto.
17803         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
17804         it with hidden_def.
17805         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
17806         (pthread_setcancelstate): Renamed to ...
17807         (__pthread_setcancelstate): This.
17808         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
17809         __libc_ptf_call with __pthread_setcancelstate.
17811 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17812             Andreas Schwab  <schwab@suse.de>
17814         [BZ #17118]
17815         * math/s_ctan.c (__ctan): Determine sign of zero real part of
17816         result when imaginary part of argument is infinite using sine and
17817         cosine.
17818         * math/s_ctanf.c (__ctanf): Likewise.
17819         * math/s_ctanl.c (__ctanl): Likewise.
17820         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
17821         of result when real part of argument is infinite using sine and
17822         cosine.
17823         * math/s_ctanhf.c (__ctanhf): Likewise.
17824         * math/s_ctanhl.c (__ctanhl): Likewise.
17825         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
17826         (ctanh_test_data): Add more tests of ctanh.
17828 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
17830         [BZ #15384]
17831         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
17832         bit-mask as in subtraction.
17833         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
17834         Likewise.
17835         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
17836         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
17837         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
17839         [BZ #18951]
17840         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
17841         underflow exception for small results.
17842         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
17843         Likewise.
17844         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
17845         Likewise.
17846         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
17847         Likewise.
17848         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17849         Likewise.
17850         * math/auto-libm-test-in: Add more tests of tgamma.
17851         * math/auto-libm-test-out: Regenerated.
17853 2015-09-17  Andreas Schwab  <schwab@suse.de>
17855         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
17857 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17859         [BZ #18977]
17860         * math/bits/mathcalls.h
17861         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
17862         not declare.
17863         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
17864         Likewise.
17865         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
17866         Likewise.
17867         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
17868         Likewise.
17869         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
17870         Likewise.
17871         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
17872         Likewise.
17873         * conform/data/math.h-data
17874         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
17875         function.
17876         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
17877         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
17878         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
17879         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
17880         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
17881         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
17882         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
17883         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
17884         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
17885         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
17886         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
17888         [BZ #6803]
17889         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
17890         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
17891         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
17892         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
17893         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
17894         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
17895         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
17896         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
17897         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17898         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
17899         Likewise.
17900         [NO_LONG_DOUBLE] (scalbnl): Likewise.
17901         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
17902         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
17903         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
17904         long_double_symbol calls.
17905         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
17906         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
17907         strong alias of __ldexpl.
17908         (scalbnl): Define using long_double_symbol.
17909         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
17910         Remove alias.
17911         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
17912         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
17913         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
17914         (scalbln_test_data): Add more errno expectations.
17916 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
17918         Cache the host port like we cache the task port.  This way we do not
17919         need to call the kernel just to get the port.  Furthermore, we no
17920         longer increase the reference count on every invocation of
17921         `mach_host_self'.
17923         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
17924         Protect declarations against the macro expansion.
17925         * mach/mach_init.c (__mach_host_self_): New variable.
17926         (mach_init): Initialize `__mach_host_self_'.
17927         * mach/mach_init.h (__mach_host_self_): New declaration.
17928         (__mach_host_self, mach_host_self): New macros.
17929         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
17930         Release reference.
17932 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
17934         [BZ #4404]
17935         * po/de.po: Update from Translation Project.
17937         [BZ #16415]
17938         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
17939         (__expm1l): Remove code to handle positive infinity and overflow.
17940         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
17941         variable.
17942         (__expm1l): Remove code to handle positive infinity and overflow.
17944 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
17945             Paul Pluzhnikov  <ppluzhnikov@google.com>
17947         [BZ #18872]
17948         * stdio-common/Makefile (tst-printf-bz18872): New test.
17949         (tst-printf-bz18872-mem.out): Likewise.
17950         * stdio-common/tst-printf-bz18872.sh: Generate new test.
17951         * stdio-common/vfprintf.c: Fix memory leaks.
17953 2015-09-16  Andreas Schwab  <schwab@suse.de>
17955         [BZ #17244]
17956         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
17957         Remove extra va_start/va_end calls.
17959         [BZ #17243]
17960         * posix/execl.c (execl): Add missing va_end.
17961         * posix/execle.c (execle): Likewise.
17962         * posix/execlp.c (execlp): Likewise.
17964 2015-09-15  Roland McGrath  <roland@hack.frob.com>
17966         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
17967         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
17969 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
17971         [BZ #18967]
17972         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
17973         undefine around includes of <bits/mathcalls.h>.
17974         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
17975         not declare function.
17976         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
17977         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
17978         (scalb): Likewise.
17979         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
17980         not define macro.
17981         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
17982         variable.
17983         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17984         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17985         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17987         [BZ #18857]
17988         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
17989         return non-finite argument without doing ordered comparisons on
17990         it.
17992         [BZ #16296]
17993         * math/fenv.h (fegetround): Use __attribute_pure__.
17994         * include/fenv.h (__fegetround): Likewise.
17996         [BZ #18595]
17997         * math/s_ctan.c (__ctan): Force underflow exception for results
17998         whose real or imaginary part has small absolute value.
17999         * math/s_ctanf.c (__ctanf): Likewise.
18000         * math/s_ctanh.c (__ctanh): Likewise.
18001         * math/s_ctanhf.c (__ctanhf): Likewise.
18002         * math/s_ctanhl.c (__ctanhl): Likewise.
18003         * math/s_ctanl.c (__ctanl): Likewise.
18004         * math/auto-libm-test-in: Do not allow missing underflow for ctan
18005         and ctanh.  Add more tests of ctan and ctanh.
18007         [BZ #15918]
18008         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
18009         handling of cases where one argument is an infinity.
18011         [BZ #18875]
18012         [BZ #18966]
18013         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
18014         (MO): New macro.
18015         (__ieee754_exp10): For small results, force underflow exception
18016         and remove excess range and precision from return value.
18017         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
18018         (MO): New macro.
18019         (__ieee754_exp10f): For small results, force underflow exception
18020         and remove excess range and precision from return value.
18021         * math/auto-libm-test-in: Add more tests of exp10.
18022         * math/auto-libm-test-out: Regenerated.
18024 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
18026         [BZ #18875]
18027         [BZ #18961]
18028         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
18029         (MO): New macro.
18030         (__ieee754_exp): For small results, force underflow exception and
18031         remove excess range and precision from return value.
18032         (__exp_finite): Likewise.
18033         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
18034         (MO): New macro.
18035         (__ieee754_expf): For small results, force underflow exception and
18036         remove excess range and precision from return value.
18037         (__expf_finite): Likewise.
18038         * math/auto-libm-test-in: Add more tests of exp.
18039         * math/auto-libm-test-out: Regenerated.
18041         [BZ #16521]
18042         [BZ #18875]
18043         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
18044         small results.
18045         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
18046         (MO): New macro.
18047         (__ieee754_exp2): For small results, force underflow exception and
18048         remove excess range and precision from return value.
18049         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
18050         (MO): New macro.
18051         (__ieee754_exp2f): For small results, force underflow exception
18052         and remove excess range and precision from return value.
18053         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
18054         (MO): New macro.
18055         (__ieee754_exp2l): Force underflow exception for small results.
18056         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18057         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18058         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
18059         (MO): New macro.
18060         (__ieee754_exp2l): Force underflow exception for small results.
18061         * math/auto-libm-test-in: Add more tests or exp2.
18062         * math/auto-libm-test-out: Regenerated.
18064 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
18066         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
18068         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
18069         /dev/null.
18071 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18073         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18074         io fs process)): Drop spurious backslash.
18076 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
18078         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
18079         Use sysinfo system call instead of parsing /proc/meminfo.
18080         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
18081         Likewise.
18083 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
18085         [BZ #16985]
18086         * programs/localedef.c (main): Display argv[remaining] when
18087         output_path is NULL.
18089 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18091         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18092         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
18093         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
18094         tanh.
18095         * math/auto-libm-test-out: Regenerated.
18096         * sysdeps/i386/fpu/libm-test-ulps: Update.
18097         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18098         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18099         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18101 2015-09-11  Roland McGrath  <roland@hack.frob.com>
18103         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
18104         Use 'override' keyword to freeze the value here, preventing
18105         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
18107 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
18109         [BZ #14912]
18110         * sysdeps/aarch64/bits/atomic.h: Move to ...
18111         * sysdeps/aarch64/atomic-machine.h: ...here.
18112         (_AARCH64_BITS_ATOMIC_H): Rename macro to
18113         _AARCH64_ATOMIC_MACHINE_H.
18114         * sysdeps/alpha/bits/atomic.h: Move to ...
18115         * sysdeps/alpha/atomic-machine.h: ...here.
18116         * sysdeps/arm/bits/atomic.h: Move to ...
18117         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
18118         * bits/atomic.h: Move to ...
18119         * sysdeps/generic/atomic-machine.h: ...here.
18120         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18121         * sysdeps/i386/bits/atomic.h: Move to ...
18122         * sysdeps/i386/atomic-machine.h: ...here.
18123         * sysdeps/ia64/bits/atomic.h: Move to ...
18124         * sysdeps/ia64/atomic-machine.h: ...here.
18125         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
18126         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
18127         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18128         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
18129         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
18130         * sysdeps/microblaze/bits/atomic.h: Move to ...
18131         * sysdeps/microblaze/atomic-machine.h: ...here.
18132         * sysdeps/mips/bits/atomic.h: Move to ...
18133         * sysdeps/mips/atomic-machine.h: ...here.
18134         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
18135         * sysdeps/powerpc/bits/atomic.h: Move to ...
18136         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
18137         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
18138         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
18139         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
18140         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
18141         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
18142         <atomic-machine.h> instead of <bits/atomic.h>.
18143         * sysdeps/s390/bits/atomic.h: Move to ...
18144         * sysdeps/s390/atomic-machine.h: ...here.
18145         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
18146         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
18147         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18148         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
18149         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
18150         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
18151         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
18152         * sysdeps/tile/bits/atomic.h: Move to ...
18153         * sysdeps/tile/atomic-machine.h: ...here.
18154         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
18155         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
18156         <sysdeps/tile/atomic-machine.h> instead of
18157         <sysdeps/tile/bits/atomic.h>.
18158         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18159         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
18160         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
18161         <sysdeps/tile/atomic-machine.h> instead of
18162         <sysdeps/tile/bits/atomic.h>.
18163         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18164         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
18165         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
18166         <sysdeps/arm/atomic-machine.h> instead of
18167         <sysdeps/arm/bits/atomic.h>.
18168         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
18169         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
18170         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18171         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
18172         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
18173         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
18174         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
18175         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
18176         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
18177         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
18178         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
18179         * sysdeps/x86_64/bits/atomic.h: Move to ...
18180         * sysdeps/x86_64/atomic-machine.h: ...here.
18181         * include/atomic.h: Include <atomic-machine.h> instead of
18182         <bits/atomic.h>.
18184         * sysdeps/mips/mips32/libm-test-ulps: Update.
18185         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18187         [BZ #18952]
18188         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
18189         not convert non-integer negative arguments to int to determine the
18190         value of signgam.
18191         * math/auto-libm-test-in: Add more tests of lgamma.
18192         * math/auto-libm-test-out: Regenerated.
18194         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
18195         cosh, csqrt, erfc, expm1 and lgamma.
18196         * math/auto-libm-test-out: Regenerated.
18197         * sysdeps/i386/fpu/libm-test-ulps: Update.
18198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18200 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
18202         [BZ #2542]
18203         [BZ #2543]
18204         [BZ #2558]
18205         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
18206         __lgamma_neg for arguments from -28.0 to -2.0.
18207         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
18208         __lgamma_negf for arguments from -15.0 to -2.0.
18209         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18210         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
18211         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
18212         Call __lgamma_negl for arguments from -33.0 to -2.0.
18213         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
18214         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18215         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
18216         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
18217         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
18218         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18219         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
18220         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
18221         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
18222         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18223         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
18224         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
18225         (__lgamma_neg): Likewise.
18226         (__lgamma_negl): Likewise.
18227         (__lgamma_product): Likewise.
18228         (__lgamma_productl): Likewise.
18229         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
18230         * math/auto-libm-test-in: Add more tests of lgamma.
18231         * math/auto-libm-test-out: Regenerated.
18232         * sysdeps/i386/fpu/libm-test-ulps: Update.
18233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18235 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
18237         [BZ #18675]
18238         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
18240 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
18242         [BZ #14912]
18243         * bits/libc-lock.h: Move to ...
18244         * sysdeps/generic/libc-lock.h: ...here.
18245         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18246         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
18247         * sysdeps/mach/hurd/libc-lock.h: ...here.
18248         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18249         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
18250         * sysdeps/mach/bits/libc-lock.h: Move to ...
18251         * sysdeps/mach/libc-lock.h: ...here.
18252         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18253         * sysdeps/nptl/bits/libc-lock.h: Move to ...
18254         * sysdeps/nptl/libc-lock.h: ...here.
18255         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
18256         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
18257         * sysdeps/nptl/libc-lockP.h: ...here.
18258         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
18259         * crypt/crypt_util.c: Include <libc-lock.h> instead of
18260         <bits/libc-lock.h>.
18261         * dirent/scandir-tail.c: Likewise.
18262         * dlfcn/dlerror.c: Likewise.
18263         * elf/dl-close.c: Likewise.
18264         * elf/dl-iteratephdr.c: Likewise.
18265         * elf/dl-lookup.c: Likewise.
18266         * elf/dl-open.c: Likewise.
18267         * elf/dl-support.c: Likewise.
18268         * elf/dl-writev.h: Likewise.
18269         * elf/rtld.c: Likewise.
18270         * grp/fgetgrent.c: Likewise.
18271         * gshadow/fgetsgent.c: Likewise.
18272         * gshadow/sgetsgent.c: Likewise.
18273         * iconv/gconv_conf.c: Likewise.
18274         * iconv/gconv_db.c: Likewise.
18275         * iconv/gconv_dl.c: Likewise.
18276         * iconv/gconv_int.h: Likewise.
18277         * iconv/gconv_trans.c: Likewise.
18278         * include/link.h: Likewise.
18279         * inet/getnameinfo.c: Likewise.
18280         * inet/getnetgrent.c: Likewise.
18281         * inet/getnetgrent_r.c: Likewise.
18282         * intl/bindtextdom.c: Likewise.
18283         * intl/dcigettext.c: Likewise.
18284         * intl/finddomain.c: Likewise.
18285         * intl/gettextP.h: Likewise.
18286         * intl/loadmsgcat.c: Likewise.
18287         * intl/localealias.c: Likewise.
18288         * intl/textdomain.c: Likewise.
18289         * libidn/idn-stub.c: Likewise.
18290         * libio/libioP.h: Likewise.
18291         * locale/duplocale.c: Likewise.
18292         * locale/freelocale.c: Likewise.
18293         * locale/newlocale.c: Likewise.
18294         * locale/setlocale.c: Likewise.
18295         * login/getutent_r.c: Likewise.
18296         * login/getutid_r.c: Likewise.
18297         * login/getutline_r.c: Likewise.
18298         * login/utmp-private.h: Likewise.
18299         * login/utmpname.c: Likewise.
18300         * malloc/mtrace.c: Likewise.
18301         * misc/efgcvt.c: Likewise.
18302         * misc/error.c: Likewise.
18303         * misc/fstab.c: Likewise.
18304         * misc/getpass.c: Likewise.
18305         * misc/mntent.c: Likewise.
18306         * misc/syslog.c: Likewise.
18307         * nis/nis_call.c: Likewise.
18308         * nis/nis_callback.c: Likewise.
18309         * nis/nss-default.c: Likewise.
18310         * nis/nss_compat/compat-grp.c: Likewise.
18311         * nis/nss_compat/compat-initgroups.c: Likewise.
18312         * nis/nss_compat/compat-pwd.c: Likewise.
18313         * nis/nss_compat/compat-spwd.c: Likewise.
18314         * nis/nss_nis/nis-alias.c: Likewise.
18315         * nis/nss_nis/nis-ethers.c: Likewise.
18316         * nis/nss_nis/nis-grp.c: Likewise.
18317         * nis/nss_nis/nis-hosts.c: Likewise.
18318         * nis/nss_nis/nis-network.c: Likewise.
18319         * nis/nss_nis/nis-proto.c: Likewise.
18320         * nis/nss_nis/nis-pwd.c: Likewise.
18321         * nis/nss_nis/nis-rpc.c: Likewise.
18322         * nis/nss_nis/nis-service.c: Likewise.
18323         * nis/nss_nis/nis-spwd.c: Likewise.
18324         * nis/nss_nisplus/nisplus-alias.c: Likewise.
18325         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
18326         * nis/nss_nisplus/nisplus-grp.c: Likewise.
18327         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
18328         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
18329         * nis/nss_nisplus/nisplus-network.c: Likewise.
18330         * nis/nss_nisplus/nisplus-proto.c: Likewise.
18331         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
18332         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
18333         * nis/nss_nisplus/nisplus-service.c: Likewise.
18334         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
18335         * nis/ypclnt.c: Likewise.
18336         * nptl/libc_pthread_init.c: Likewise.
18337         * nss/getXXbyYY.c: Likewise.
18338         * nss/getXXent.c: Likewise.
18339         * nss/getXXent_r.c: Likewise.
18340         * nss/nss_db/db-XXX.c: Likewise.
18341         * nss/nss_db/db-netgrp.c: Likewise.
18342         * nss/nss_db/nss_db.h: Likewise.
18343         * nss/nss_files/files-XXX.c: Likewise.
18344         * nss/nss_files/files-alias.c: Likewise.
18345         * nss/nsswitch.c: Likewise.
18346         * posix/regex_internal.h: Likewise.
18347         * posix/wordexp.c: Likewise.
18348         * pwd/fgetpwent.c: Likewise.
18349         * resolv/res_hconf.c: Likewise.
18350         * resolv/res_libc.c: Likewise.
18351         * shadow/fgetspent.c: Likewise.
18352         * shadow/lckpwdf.c: Likewise.
18353         * shadow/sgetspent.c: Likewise.
18354         * socket/opensock.c: Likewise.
18355         * stdio-common/reg-modifier.c: Likewise.
18356         * stdio-common/reg-printf.c: Likewise.
18357         * stdio-common/reg-type.c: Likewise.
18358         * stdio-common/vfprintf.c: Likewise.
18359         * stdio-common/vfscanf.c: Likewise.
18360         * stdlib/abort.c: Likewise.
18361         * stdlib/cxa_atexit.c: Likewise.
18362         * stdlib/fmtmsg.c: Likewise.
18363         * stdlib/random.c: Likewise.
18364         * stdlib/setenv.c: Likewise.
18365         * string/strsignal.c: Likewise.
18366         * sunrpc/auth_none.c: Likewise.
18367         * sunrpc/bindrsvprt.c: Likewise.
18368         * sunrpc/create_xid.c: Likewise.
18369         * sunrpc/key_call.c: Likewise.
18370         * sunrpc/rpc_thread.c: Likewise.
18371         * sysdeps/arm/backtrace.c: Likewise.
18372         * sysdeps/generic/ldsodefs.h: Likewise.
18373         * sysdeps/generic/stdio-lock.h: Likewise.
18374         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
18375         * sysdeps/i386/backtrace.c: Likewise.
18376         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
18377         * sysdeps/m68k/backtrace.c: Likewise.
18378         * sysdeps/mach/hurd/cthreads.c: Likewise.
18379         * sysdeps/mach/hurd/dirstream.h: Likewise.
18380         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18381         * sysdeps/nptl/malloc-machine.h: Likewise.
18382         * sysdeps/nptl/stdio-lock.h: Likewise.
18383         * sysdeps/posix/dirstream.h: Likewise.
18384         * sysdeps/posix/getaddrinfo.c: Likewise.
18385         * sysdeps/posix/system.c: Likewise.
18386         * sysdeps/pthread/aio_suspend.c: Likewise.
18387         * sysdeps/s390/s390-32/backtrace.c: Likewise.
18388         * sysdeps/s390/s390-64/backtrace.c: Likewise.
18389         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18390         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
18391         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
18392         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
18393         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
18394         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
18395         * sysdeps/unix/sysv/linux/system.c: Likewise.
18396         * sysdeps/x86_64/backtrace.c: Likewise.
18397         * time/alt_digit.c: Likewise.
18398         * time/era.c: Likewise.
18399         * time/tzset.c: Likewise.
18400         * wcsmbs/wcsmbsload.c: Likewise.
18401         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
18402         instead of <bits/libc-lock.h> in comment.
18404 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
18406         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
18407         Only use .set mips2 if the current ISA is below mips2.
18408         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
18409         Likewise.
18410         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
18411         mips32r2 if the current ISA is below mips32r2.
18412         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
18413         (TLS_IE): Updated to use the TLD_RDHWR macro.
18414         (TLS_LE): Likewise.
18415         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
18416         __ASSEMBLER__ condition.
18418 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18420         Fix parallel build of before-compile targets.
18422         * sysdeps/mach/Makefile ($(patsubst
18423         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
18424         mach-before-compile target.
18425         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18426         io fs process)): Move rule to dedicated hurd-before-compile target.
18428 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18430         Fix rules generating headers in hurd/ and mach/ when initial make call
18431         has subdir= explicitly set.
18433         * sysdeps/mach/Makefile ($(patsubst
18434         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
18435         calling $(MAKE).
18436         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
18437         io fs process)): Force subdir to hurd when calling $(MAKE).
18438         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
18439         subdir to mach when calling $(MAKE).
18441 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
18443         Check sysheaders when looking for Mach and Hurd headers
18445         * sysdeps/mach/configure.ac: Add sysheaders check.
18446         * sysdeps/mach/configure: Regenerate.
18447         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
18448         * sysdeps/mach/hurd/configure: Regenerate.
18450 2015-09-04  Roland McGrath  <roland@hack.frob.com>
18452         [BZ #18921]
18453         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
18454         Fix inverted sense of test of 'o_directory_works' value.
18455         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
18456         Bernhard Voelker <mail@bernhard-voelker.de>.
18458 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18460         [BZ #14912]
18461         * bits/linkmap.h: Move to ...
18462         * sysdeps/generic/linkmap.h: ...here.
18463         * sysdeps/aarch64/bits/linkmap.h: Move to ...
18464         * sysdeps/aarch64/linkmap.h: ...here.
18465         * sysdeps/arm/bits/linkmap.h: Move to ...
18466         * sysdeps/arm/linkmap.h: ...here.
18467         * sysdeps/hppa/bits/linkmap.h: Move to ...
18468         * sysdeps/hppa/linkmap.h: ...here.
18469         * sysdeps/ia64/bits/linkmap.h: Move to ...
18470         * sysdeps/ia64/linkmap.h: ...here.
18471         * sysdeps/mips/bits/linkmap.h: Move to ...
18472         * sysdeps/mips/linkmap.h: ...here.
18473         * sysdeps/s390/bits/linkmap.h: Move to ...
18474         * sysdeps/s390/linkmap.h: ...here.
18475         * sysdeps/sh/bits/linkmap.h: Move to ...
18476         * sysdeps/sh/linkmap.h: ...here.
18477         * sysdeps/x86/bits/linkmap.h: Move to ...
18478         * sysdeps/x86/linkmap.h: ...here.
18479         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
18481 2015-09-04  Andreas Schwab  <schwab@suse.de>
18483         [BZ #18635]
18484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
18485         (__makecontext): Terminate FDE before return label.
18486         (__novec_makecontext): Likewise.
18488 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18490         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
18491         first member of struct sv in syscall macro.
18493 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
18495         [BZ #14912]
18496         * bits/stdio-lock.h: Move to ...
18497         * sysdeps/generic/stdio-lock.h: ...here.
18498         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18499         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
18500         * sysdeps/nptl/stdio-lock.h: ...here.
18501         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
18502         * include/libio.h: Include <stdio-lock.h> instead of
18503         <bits/stdio-lock.h>.
18504         * sysdeps/nptl/fork.c: Likewise.
18505         * sysdeps/pthread/flockfile.c: Likewise.
18506         * sysdeps/pthread/ftrylockfile.c: Likewise.
18507         * sysdeps/pthread/funlockfile.c: Likewise.
18509         [BZ #14912]
18510         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
18511         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
18512         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
18513         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
18514         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
18515         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
18516         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
18518 2015-09-03  Roland McGrath  <roland@hack.frob.com>
18520         * elf/Makefile (test-xfail-tst-protected1a): New variable.
18521         (test-xfail-tst-protected1b): New variable.
18523 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
18525         [BZ #14912]
18526         * bits/libc-tsd.h: Move to ...
18527         * sysdeps/generic/libc-tsd.h: ...here.
18528         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
18529         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
18530         * sysdeps/mach/hurd/libc-tsd.h: ...here.
18531         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
18532         * include/ctype.h: Include <libc-tsd.h> instead of
18533         <bits/libc-tsd.h>.
18534         * include/rpc/rpc.h: Likewise.
18535         * locale/localeinfo.h: Likewise.
18536         * sunrpc/rpc_thread.c: Likewise.
18537         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
18538         * sysdeps/nptl/malloc-machine.h: Likewise.
18540         * Makefile (headers): Remove bits/libc-lock.h.
18541         * libio/Makefile (headers): Remove bits/stdio-lock.h.
18543         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
18544         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
18545         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
18546         <bits/stdio-lock.h>.
18547         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
18548         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
18550 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18552         [BZ #18757]
18553         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
18554         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
18555         BZ #18757.
18557 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
18559         * malloc/mtrace.pl: Filter out NULL entries.
18561 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
18563         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
18564         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
18565         macro.
18567         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
18568         (TCP_CC_INFO): Likewise.
18569         (TCP_SAVE_SYN): Likewise.
18570         (TCP_SAVED_SYN): Likewise.
18572 2015-08-31  Brett Neumeier <brett@neumeier.us>
18574         [BZ #18870]
18575         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
18577 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
18579         [BZ #18873]
18580         Fix broken overflow check in posix_fallocate
18581         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
18582         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
18583         Fix parenthesization typo.
18585 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
18587         [BZ #18887]
18588         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
18589         tst-mntent-blank-passno.
18590         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
18591         * misc/tst-mntent-blank-corrupt.c: New test.
18592         * misc/tst-mntent-blank-passno.c: New test ripped from ...
18593         * misc/tst-mntent.c (do_test): ... here.
18595 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
18597         [BZ #4404]
18598         * po/de.po: Fix SIGALRM typo.
18600 2015-08-28  James Perkins  <james@loowit.net>
18602         * time/tst-strptime2.c (tests): Replace short list of test
18603         strings for strptime %z specifier with code which exhaustively
18604         tests every combination of sign and 0 to 5 digits. Tests for
18605         rejection of invalid strings.
18607 2015-08-28  James Perkins  <james@loowit.net>
18609         [BZ #16141]
18610         * time/strptime_l.c (__strptime_internal): Fix %z minutes
18611         calculation, removing incorrect decimal time rounding, so that
18612         all minute values result in a valid seconds value.
18613         * time/strptime_l.c (__strptime_internal): Extend %z time zone
18614         offset range limits to UTC-99:59 through UTC+99:59 to parse
18615         current and historical use cases.
18616         * time/tst-strptime2.c (tests): Modify and add tests for the
18617         strptime %z input field descriptor, specifically conversion of
18618         minutes to seconds and validating an offset range of -9959 to
18619         +9959.
18621 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18622             Dmitry V. Levin  <ldv@altlinux.org>
18624         [BZ #18877]
18625         * posix/Makefile (tests): Add tst-mmap-offset.
18626         * posix/tst-mmap.c: New file.
18627         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
18628         offset calculation for negative values.
18630 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18632         * sysdeps/i386/init-arch.h: New file.
18633         * sysdeps/i386/i586/init-arch.h: Likewise.
18634         * sysdeps/i386/i686/init-arch.h: Likewise.
18635         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
18636         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
18637         * sysdeps/x86/cpu-features.h (bit_I586): New.
18638         (bit_I686): Likewise.
18639         (bit_CX8): Likewise.
18640         (bit_CMOV): Likewise.
18641         (index_CX8): Likewise.
18642         (index_CMOV): Likewise.
18643         (index_I586): Likewise.
18644         (index_I686): Likewise.
18645         (reg_CX8): Likewise.
18646         (reg_CMOV): Likewise.
18647         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
18648         available at compile-time.
18649         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
18650         available at compile-time.
18651         * sysdeps/x86/init-arch.h (USE_I586): New macro.
18652         (USE_I686): Likewise.
18654 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18656         * sysdeps/i386/bcopy.S: New file.
18657         * sysdeps/i386/bzero.S: Likewise.
18658         * sysdeps/i386/memcpy.S: Likewise.
18659         * sysdeps/i386/memmove.S: Likewise.
18660         * sysdeps/i386/mempcpy.S: Likewise.
18661         * sysdeps/i386/memset.S: Likewise.
18662         * sysdeps/i386/bzero.c: Removed.
18663         * sysdeps/i386/memset.c: Likewise.
18664         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
18665         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
18666         * sysdeps/i386/i586/memset_chk.S: Likewise.
18667         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
18668         * sysdeps/i386/memcpy_chk.S: Here.
18669         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
18670         * sysdeps/i386/memmove_chk.S: Here.
18671         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
18672         * sysdeps/i386/mempcpy_chk.S: Likewise.
18673         * sysdeps/i386/i686/memset_chk.S: Moved to ...
18674         * sysdeps/i386/memset_chk.S: Likewise.
18676 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
18678         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
18679         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
18680         file, move DIAG_POP_NEEDS_COMMENT to end of file.
18681         * soft-fp/fmadf4.c: Ditto.
18682         * soft-fp/fmatf4.c: Ditto.
18684 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18686         * sysdeps/i386/i586/Implies: Removed.
18687         * sysdeps/i386/i686/Implies: Likewise.
18689 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18691         * sysdeps/i386/i486/strlen.S: Moved to ...
18692         * sysdeps/i386/strlen.S: Here.
18694 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18696         * sysdeps/i386/i486/strcat.S: Moved to ...
18697         * sysdeps/i386/strcat.S: Here.
18699 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18701         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
18702         * sysdeps/i386/pthread_spin_trylock.S: Here.
18703         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
18704         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
18706 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18708         * sysdeps/i386/i486/string-inlines.c: Moved to ...
18709         * sysdeps/i386/string-inlines.c: Here.
18711 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18713         * sysdeps/i386/i486/htonl.S: Moved ...
18714         * sysdeps/i386/htonl.S: here.
18716 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18718         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
18719         * sysdeps/i386/bits/atomic.h: Here.
18721 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
18723         * sysdeps/i386/i486/Versions: Removed.
18725 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
18727         [BZ #2898]
18728         * misc/mktemp.c: Add mkdtemp to the link_warning message.
18729         Based on patch by Aurelien Jarno.
18731 2015-08-26  Stan Shebs  <stanshebs@google.com>
18733         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
18734         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
18736 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18738         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
18739         * sysdeps/powerpc/dl-procinfo.c:
18740         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
18741         feature so it shows when LD_SHOW_AUXV=1.
18743 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18745         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18746         (__arch_compare_and_exchange_val_32_acq): Remove and use common
18747         definition.  ISA 2.07B no longer requires full sync.
18749 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
18751         [BZ #18863]
18752         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
18753         (si_call_addr): Define.
18754         (si_syscall): Define.
18755         (si_arch): Define.
18757 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18759         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
18760         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
18761         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
18762         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18763         (__memset_zero_constant_len_parameter): New.
18764         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
18765         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
18766         (__memset_zero_constant_len_parameter): Don't define if
18767         __memset_chk or USE_AS_BZERO are defined.
18769         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
18770         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
18771         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
18773         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
18774         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
18775         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
18776         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
18777         comments.
18778         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
18779         -mno-mmx for $(all-rtld-routines).
18780         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
18781         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
18782         i386.
18784 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
18786         * sysdeps/generic/unwind.h
18787         (_Unwind_Word): Use __mode__(__unwind_word__)
18788         instead of __mode__(__word__).
18789         (_Unwind_Sword): Likewise.
18791         * sysdeps/s390/s390-64/utf8-utf16-z9.c
18792         (MAX_NEEDED_INPUT): New define.
18793         (MAX_NEEDED_OUTPUT): New define.
18795         * NEWS: New item for IBM z13 string optimizations.
18797         * sysdeps/s390/multiarch/memrchr-c.c: New File.
18798         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
18799         * sysdeps/s390/multiarch/memrchr.c: Likewise.
18800         * sysdeps/s390/multiarch/Makefile
18801         (sysdep_routines): Add memrchr functions.
18802         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18803         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
18805         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
18806         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
18807         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
18808         * sysdeps/s390/multiarch/Makefile
18809         (sysdep_routines): Add wmemcmp functions.
18810         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18811         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
18812         * benchtests/bench-wmemcmp.c: New File.
18813         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
18815         * sysdeps/s390/multiarch/wmemset-c.c: New File.
18816         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
18817         * sysdeps/s390/multiarch/wmemset.c: Likewise.
18818         * sysdeps/s390/multiarch/Makefile
18819         (sysdep_routines): Add wmemset functions.
18820         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18821         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
18822         * wcsmbs/wmemset.c: Use WMEMSET if defined.
18823         * string/test-memset.c: Add wmemset support.
18824         * wcsmbs/test-wmemset.c: New File.
18825         * wcsmbs/Makefile (strop-tests): Add wmemset.
18826         * benchtests/bench-memset.c: Add wmemset support.
18827         * benchtests/bench-wmemset.c: New File.
18828         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
18830         * sysdeps/s390/multiarch/memccpy-c.c: New File.
18831         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
18832         * sysdeps/s390/multiarch/memccpy.c: Likewise.
18833         * sysdeps/s390/multiarch/Makefile
18834         (sysdep_routines): Add memccpy functions.
18835         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18836         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
18837         * string/memccpy.c: Use MEMCCPY if defined.
18839         * sysdeps/s390/multiarch/memchr-vx.S: New File.
18840         * sysdeps/s390/multiarch/memchr.c: Likewise.
18841         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
18842         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
18843         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
18844         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
18845         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
18846         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
18847         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
18848         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
18849         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
18850         and rawmemchr functions.
18851         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
18852         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
18853         and wmemchr.
18854         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
18855         * string/test-memchr.c: Add wmemchr support.
18856         * wcsmbs/test-wmemchr.c: New File.
18857         * wcsmbs/Makefile (strop-tests): Add wmemchr.
18858         * benchtests/bench-memchr.c: Add wmemchr support.
18859         * benchtests/bench-wmemchr.c: New File.
18860         * benchtests/Makefile (wcsmbs-bench): wmemchr.
18862         * sysdeps/s390/multiarch/strcspn-c.c: New File.
18863         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
18864         * sysdeps/s390/multiarch/strcspn.c: Likewise.
18865         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
18866         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
18867         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
18868         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
18869         wcscspn functions.
18870         * sysdeps/s390/multiarch/ifunc-impl-list.c
18871         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
18872         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
18873         * string/test-strcspn.c: Add wcscspn support.
18874         * wcsmbs/test-wcscspn.c: New File.
18875         * wcsmbs/Makefile (strop-tests): Add wcscspn.
18876         * benchtests/bench-strcspn.c: Add wcscspn support.
18877         * benchtests/bench-wcscspn.c: New File.
18878         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
18880         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
18881         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
18882         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
18883         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
18884         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
18885         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
18886         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
18887         wcspbrk functions.
18888         * sysdeps/s390/multiarch/ifunc-impl-list.c
18889         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
18890         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
18891         * string/test-strpbrk.c: Add wcspbrk support.
18892         * wcsmbs/test-wcspbrk.c: New File.
18893         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
18894         * benchtests/bench-strpbrk.c: Add wcspbrk support.
18895         * benchtests/bench-wcspbrk.c: New File.
18896         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
18898         * sysdeps/s390/multiarch/strspn-c.c: New File.
18899         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
18900         * sysdeps/s390/multiarch/strspn.c: Likewise.
18901         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
18902         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
18903         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
18904         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
18905         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
18906         wcsspn functions.
18907         * sysdeps/s390/multiarch/ifunc-impl-list.c
18908         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
18909         * string/test-strspn.c: Add wcsspn support.
18910         * wcsmbs/test-wcsspn.c: New File.
18911         * wcsmbs/Makefile (strop-tests): Add wcsspn.
18912         * benchtests/bench-strspn.c: Add wcsspn support.
18913         * benchtests/bench-wcsspn.c: New File.
18914         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
18916         * sysdeps/s390/multiarch/strrchr-c.c: New File.
18917         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
18918         * sysdeps/s390/multiarch/strrchr.c: Likewise.
18919         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
18920         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
18921         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
18922         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
18923         wcsrchr functions.
18924         * sysdeps/s390/multiarch/ifunc-impl-list.c
18925         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
18926         * benchtests/bench-wcsrchr.c: New File.
18927         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
18929         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
18930         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
18931         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
18932         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
18933         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
18934         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
18935         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
18936         wcschrnul functions.
18937         * sysdeps/s390/multiarch/ifunc-impl-list.c
18938         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
18939         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
18940         * string/test-strchr.c: Add wcschrnul support.
18941         * wcsmbs/test-wcschrnul.c: New File.
18942         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
18943         * benchtests/bench-strchr.c: Add wcschrnul support.
18944         * benchtests/bench-wcschrnul.c: New File.
18945         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
18947         * sysdeps/s390/multiarch/strchr-c.c: New File.
18948         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
18949         * sysdeps/s390/multiarch/strchr.c: Likewise.
18950         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
18951         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
18952         * sysdeps/s390/multiarch/wcschr.c: Likewise.
18953         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
18954         wcschr functions.
18955         * sysdeps/s390/multiarch/ifunc-impl-list.c
18956         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
18957         * string/strchr.c (STRCHR): Define and use macro.
18958         * benchtests/bench-wcschr.c: New File.
18959         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
18961         * sysdeps/s390/multiarch/strncmp-c.c: New File.
18962         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
18963         * sysdeps/s390/multiarch/strncmp.c: Likewise.
18964         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
18965         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
18966         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
18967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
18968         wcsncmp functions.
18969         * sysdeps/s390/multiarch/ifunc-impl-list.c
18970         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
18971         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
18972         * benchtests/bench-strncmp.c: Add wcsncmp support.
18973         * benchtests/bench-wcsncmp.c: New File.
18974         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
18976         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
18977         * sysdeps/s390/multiarch/strcmp.c: Likewise.
18978         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
18979         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
18980         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
18981         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
18982         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
18983         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
18984         wcscmp functions.
18985         * sysdeps/s390/multiarch/ifunc-impl-list.c
18986         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
18987         * string/strcmp.c (STRCMP): Define and use macro.
18988         * benchtests/bench-wcscmp.c: New File.
18989         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
18990         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
18991         instead of _HAVE_STRING_ARCH_memchr.
18993         * sysdeps/s390/multiarch/strncat-c.c: New File.
18994         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
18995         * sysdeps/s390/multiarch/strncat.c: Likewise.
18996         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
18997         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
18998         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
18999         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
19000         wcsncat functions.
19001         * sysdeps/s390/multiarch/ifunc-impl-list.c
19002         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
19003         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
19004         * string/test-strncat.c: Add wcsncat support.
19005         * wcsmbs/test-wcsncat.c: New File.
19006         * wcsmbs/Makefile (strop-tests): Add wcsncat.
19007         * benchtests/bench-strncat.c: Add wcsncat support.
19008         * benchtests/bench-wcsncat.c: New File.
19009         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
19011         * sysdeps/s390/multiarch/strcat-c.c: New File.
19012         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
19013         * sysdeps/s390/multiarch/strcat.c: Likewise.
19014         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
19015         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
19016         * sysdeps/s390/multiarch/wcscat.c: Likewise.
19017         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
19018         wcscat functions.
19019         * sysdeps/s390/multiarch/ifunc-impl-list.c
19020         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
19021         * string/strcat.c (STRCAT): Define and use macro.
19022         * wcsmbs/wcscat.c: Use WCSCAT if defined.
19023         * string/test-strcat.c: Add wcscat support.
19024         * wcsmbs/test-wcscat.c: New File.
19025         * wcsmbs/Makefile (strop-tests): Add wcscat.
19026         * benchtests/bench-strcat.c: Add wcscat support.
19027         * benchtests/bench-wcscat.c: New File.
19028         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
19030         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
19031         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
19032         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
19033         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
19034         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
19035         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
19036         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
19037         wcpncpy functions.
19038         * sysdeps/s390/multiarch/ifunc-impl-list.c
19039         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
19040         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
19041         * string/test-stpncpy.c: Add wcpncpy support.
19042         * wcsmbs/test-wcpncpy.c: New File.
19043         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
19044         * benchtests/bench-stpncpy.c: Add wcpncpy support.
19045         * benchtests/bench-wcpncpy.c: New File.
19046         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
19048         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
19049         * sysdeps/s390/multiarch/strncpy.c: Likewise.
19050         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
19051         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
19052         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
19053         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
19054         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
19055         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
19056         wcsncpy functions.
19057         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
19058         * sysdeps/s390/multiarch/ifunc-impl-list.c
19059         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
19060         * string/test-strncpy.c: Add wcsncpy support.
19061         * wcsmbs/test-wcsncpy.c: New File.
19062         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
19063         * benchtests/bench-strncpy.c: Add wcsncpy support.
19064         * benchtests/bench-wcsncpy.c: New File.
19065         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
19067         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
19068         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
19069         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
19070         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
19071         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
19072         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
19073         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
19074         wcpcpy functions.
19075         * string/stpcpy.c: Use STPCPY if defined.
19076         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
19077         * sysdeps/s390/multiarch/ifunc-impl-list.c
19078         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
19079         * string/test-stpcpy.c: Add wcpcpy support.
19080         * wcsmbs/test-wcpcpy.c: New File.
19081         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
19082         * benchtests/bench-stpcpy.c: Add wcpcpy support.
19083         * benchtests/bench-wcpcpy.c: New File.
19084         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
19086         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
19087         * sysdeps/s390/multiarch/strcpy.c: Likewise.
19088         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
19089         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
19090         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
19091         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
19092         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
19093         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
19094         wcscpy functions.
19095         * sysdeps/s390/multiarch/ifunc-impl-list.c
19096         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
19097         * benchtests/bench-wcscpy.c: New File.
19098         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
19100         * sysdeps/s390/multiarch/strnlen-c.c: New File.
19101         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
19102         * sysdeps/s390/multiarch/strnlen.c: Likewise.
19103         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
19104         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
19105         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
19106         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
19107         wcsnlen functions.
19108         * sysdeps/s390/multiarch/ifunc-impl-list.c
19109         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
19110         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
19111         * string/test-strnlen.c: Add wcsnlen support.
19112         * wcsmbs/test-wcsnlen.c: New File.
19113         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
19114         * benchtests/bench-strnlen.c: Add wcsnlen support.
19115         * benchtests/bench-wcsnlen.c: New File.
19116         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
19118         * sysdeps/s390/multiarch/Makefile: New File.
19119         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
19120         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
19121         * sysdeps/s390/multiarch/strlen.c: Likewise.
19122         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
19123         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
19124         * sysdeps/s390/multiarch/wcslen.c: Likewise.
19125         * string/strlen.c (STRLEN): Define and use macro.
19126         * sysdeps/s390/multiarch/ifunc-impl-list.c
19127         (IFUNC_VX_IMPL): New macro function.
19128         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
19129         * benchtests/Makefile (wcsmbs-bench): New variable.
19130         (string-bench-all): Added wcsmbs-bench.
19131         * benchtests/bench-wcslen.c: New File.
19133         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
19134         s390_vx_libc_ifunc2): New macro function.
19136         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
19137         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
19138         assembler support.
19139         * sysdeps/s390/configure: Regenerated.
19141         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
19142         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
19144         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
19145         * sysdeps/s390/dl-procinfo.h: Add vector capability.
19146         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
19148         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
19149         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
19150         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
19151         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
19152         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
19153         (memcmp, bcmp): Use __memcmp_default as alias source.
19154         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
19155         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
19156         Rename to __memcmp_default.
19157         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
19158         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
19159         (memcpy): Use __memcpy_default as alias source.
19160         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
19161         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
19162         Rename to __memcpy_default.
19163         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
19164         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
19165         (memset): Use __memset_default as alias source.
19166         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
19167         * sysdeps/s390/s390-32/memset.S (__memset_g5):
19168         Rename to __memset_default.
19169         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
19170         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
19171         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
19172         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
19173         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
19174         (memcmp, bcmp): Use __memcmp_default as alias source.
19175         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
19176         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
19177         Rename to __memcmp_default.
19178         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
19179         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
19180         (memcpy): Use __memcpy_default as alias source.
19181         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
19182         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
19183         Rename to __memcpy_default.
19184         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
19185         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
19186         (memset): Use __memset_default as alias source.
19187         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
19188         * sysdeps/s390/s390-64/memset.S (__memset_z900):
19189         Rename to __memset_default.
19190         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
19191         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
19193         [BZ #18610]
19194         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
19195         __ieee_instruction_pointer to __unused.
19196         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
19197         __ieee_instruction_pointer.
19198         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
19199         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
19200         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
19201         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
19202         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
19203         Mark dxc-field as reserved.
19205 2015-08-25  Roland McGrath  <roland@hack.frob.com>
19207         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
19208         if the weak reference is not null.
19210 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19212         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
19214         [BZ #11214]
19215         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
19217 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19219         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
19220         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
19221         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
19222         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
19223         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
19224         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
19225         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
19226         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
19227         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
19228         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
19229         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
19230         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
19231         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
19232         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
19233         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
19234         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
19235         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
19236         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
19238 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19240         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
19241         register other than r0 for tabort, it has special meaning.
19242         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
19243         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
19244         transaction before starting syscall.
19246 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19248         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
19250 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19252         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
19254         * sysdeps/x86_64/rtld-memcmp.c: Removed.
19255         * sysdeps/x86_64/rtld-memset.S: Likewise.
19256         * sysdeps/x86_64/rtld-strchr.S: Likewise.
19257         * sysdeps/x86_64/rtld-strlen.S: Likewise.
19258         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
19259         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
19261         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
19263 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
19265         * debug/strcpy_chk.c: Improve performance.
19266         * debug/stpcpy_chk.c: Likewise.
19267         * sysdeps/x86_64/strcpy_chk.S: Remove.
19268         * sysdeps/x86_64/stpcpy_chk.S: Remove.
19270         [BZ #18240]
19271         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
19273 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
19275         [BZ #15128]
19276         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
19277         ifuncmain8.
19278         (modules-names): Add ifuncmod8.
19279         ($(objpfx)ifuncmain8): New rule.
19280         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
19281         <cpuid.h>.
19282         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
19283         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
19284         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
19285         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
19286         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
19287         * sysdeps/x86_64/dl-trampoline.h: Likewise.
19288         * sysdeps/x86_64/ifuncmain8.c: New file.
19289         * sysdeps/x86_64/ifuncmod8.c: Likewise.
19290         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
19291         Removed.
19292         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
19293         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
19294         Change rtld_savespace_sse to __glibc_unused2.
19295         (RTLD_CHECK_FOREIGN_CALL): Removed.
19296         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
19297         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
19298         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
19300 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19302         * sysdeps/aarch64/bzero.S (__bzero): Remove.
19304 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
19306         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
19307         Unconditionally set __fpcr to avoid uninialized warning.
19308         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
19310 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19312         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
19313         is corrupt.
19315         * malloc/arena.c (arena_get2): Drop unused argument.
19316         (arena_lock): Adjust.
19317         (arena_get_retry): Likewise.
19319 2015-08-24  Andreas Schwab  <schwab@suse.de>
19321         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
19322         Don't define.
19323         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19324         (__ASSUME_IPC64): Don't undef.
19325         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
19326         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19327         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19328         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
19329         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
19330         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
19331         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
19332         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
19333         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
19334         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
19335         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
19336         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
19337         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
19338         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
19339         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
19340         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
19341         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
19342         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
19343         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
19344         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
19345         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
19347 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
19349         * manual/Makefile (install): Only build manual when perl is available.
19351 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19353         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
19354         '#undef memcpy' by '#undef memchr'.
19356 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19358         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
19359         memchr not point to the internal __GI_memchr implementation.
19361 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19363         * timezone/Makefile (CFLAGS-zdump.c): Remove
19364         -Wno-strict-prototypes.
19365         (CFLAGS-zic.c): Likewise.
19366         (CFLAGS-ialloc.c): Likewise.
19367         (CFLAGS-scheck.c): Likewise.
19369         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
19370         -Wno-error=undef.
19372 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19374         * i386/i686/multiarch/strcasestr-c.c: Removed.
19375         * x86_64/multiarch/strcasestr.c: Likewise.
19376         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19377         Remove strcasestr.
19379 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
19381         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
19383         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
19384         variables for high and low parts before possibly modifying them.
19386 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19388         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
19389         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
19390         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
19391         of "multiarch/init-arch.h".
19392         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
19393         * sysdeps/x86/init-arch.h: This.
19395 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
19397         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
19398         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
19400 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
19402         [BZ #17787]
19403         * manual/macros.texi: Add twoexp macro.
19404         * manual/filesys.texi: Fix exponents.
19405         * manual/llio.texi: Likewise.
19406         * manual/stdio.texi: Likewise.
19408 2015-08-20  Florian Weimer  <fweimer@redhat.com>
19410         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
19411         incorrect use.
19413 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19415         [BZ #18370]
19416         * math/s_csqrt.c (__csqrt): Force underflow exception for results
19417         whose real or imaginary part has small absolute value.
19418         * math/s_csqrtf.c (__csqrtf): Likewise.
19419         * math/s_csqrtl.c (__csqrtl): Likewise.
19420         * math/auto-libm-test-in: Add more tests of csqrt.
19421         * math/auto-libm-test-out: Regenerated.
19422         * sysdeps/i386/fpu/libm-test-ulps: Update.
19424 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19426         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
19427         __ppc_set_ppr_very_low): New functions.
19428         * manual/platform.texi: Add documentation about
19429         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
19431 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
19433         * string/stpncpy.c (stpncpy): Improve performance using
19434         __strnlen/memcpy/memset.
19436 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
19438         [BZ #18796]
19439         * scripts/test-installation.pl: Don't add -lmvec to build options if
19440         libmvec wasn't built.
19442 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
19444         [BZ #14341]
19445         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
19446         case when there is a gap between DT_REL and DT_JMPREL sections.
19447         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
19448         (LDFLAGS-tst-split-dynreloc): New.
19449         (tst-split-dynreloc-ENV): Likewise.
19450         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
19451         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
19453 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19455         [BZ #18822]
19456         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
19457         attribute_hidden.
19458         (__xstat64_conv): Likewise.
19459         (__xstat32_conv): Likewise.
19461 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19463         [BZ #18822]
19464         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
19465         Don't load %ebx when calling __setcontext.  Call __setcontext
19466         with HIDDEN_JUMPTARGET.
19467         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
19468         libc_hidden_def.
19470 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19472         * sysdeps/i386/i686/Makefile
19473         [$(subdir) == string] (sysdep_routines): Moved to ...
19474         * sysdeps/i386/Makefile: Here.
19475         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
19476         * sysdeps/i386/cacheinfo.c: Here.
19477         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
19478         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
19479         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
19480         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
19482 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
19484         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
19485         __i586__ is defined.
19486         (HAS_I686): Defined to 1 if __i686__ is defined.
19488 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
19490         * elf/Makefile [$(have-z-execstack) = yes]
19491         (CPPFLAGS-tst-execstack.c): New variable.
19493         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
19494         conditional to [defined UTMPX || _HAVE_UT_TYPE].
19495         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
19496         UTMPX || _HAVE_UT_TV].
19497         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
19498         UTMPX || _HAVE_UT_TV - 0].
19500 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
19502         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
19503         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
19504         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
19506 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19508         * sysdeps/powerpc/dl-procinfo.c:
19509         (_dl_powerpc_cap_flags): Added missing strings for some
19510         hwcap features.
19511         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
19513 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
19515         Port the 0x7efe...feff pattern to GCC 6.
19516         See Steve Ellcey's bug report in:
19517         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
19518         * string/memrchr.c (MEMRCHR):
19519         * string/rawmemchr.c (RAWMEMCHR):
19520         * string/strchr.c (strchr):
19521         * string/strchrnul.c (STRCHRNUL):
19522         Rewrite code to avoid issues with signed shift overflow.
19524 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
19526         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
19527         whether cpuid is available only if HAS_CPUID is 0.
19528         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
19529         (HAS_I586): Likewise.
19530         (HAS_I686): Likewise.
19532 2015-08-18  Zack Weinberg  <zackw@panix.com>
19534         * misc/Versions (libc): Add GLIBC_2.23.
19536 2015-08-18  Alan Modra  <amodra@gmail.com>
19538         [BZ #18421]
19539         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
19540         .Lp__global.
19541         (_start): Load %dp via .Lp__global.
19542         [!SHARED]: Use .section .rodata.
19544 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19546         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
19547         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
19549 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19551         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
19552         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
19554 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19556         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
19557         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
19559 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19561         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
19562         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
19564 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19566         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
19567         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
19569 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19571         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
19572         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
19574 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19576         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
19578 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19580         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
19581         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
19582         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
19583         (__ASSUME_LWS_CAS): Delete.
19585 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
19587         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
19588         * sysdeps/hppa/configure: Regenerated.
19589         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
19590         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
19591         * sysdeps/hppa/nptl/tls.h: Likewise.
19593 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
19595         [BZ #18823]
19596         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
19597         for scaling up small arguments.
19598         * math/s_csqrtf.c (__csqrtf): Likewise.
19599         * math/s_csqrtl.c (__csqrtl): Likewise.
19600         * math/auto-libm-test-in: Add more tests of csqrt.
19601         * math/auto-libm-test-out: Regenerated.
19603 2015-08-17  Andreas Schwab  <schwab@suse.de>
19605         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
19606         version set GLIBC_2.19.
19608 2015-08-16  Zack Weinberg  <zackw@panix.com>
19610         [BZ #18681]
19611         * misc/regexp.h: This interface is no longer supported.
19612         Remove all contents, leaving only an #error directive.
19613         * misc/regexp.c (loc1, loc2, locs, step, advance):
19614         Demote to compatibility symbols.
19616 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
19618         [BZ #18084]
19619         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
19620         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
19621         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
19622         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
19623         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
19624         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
19625         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
19626         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
19627         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
19629 2015-08-15  Zack Weinberg  <zackw@panix.com>
19631         [BZ #18795]
19632         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
19633         buffer length is known to be too large, not if it's known to be
19634         small enough.
19635         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
19636         overflow at runtime, involving a length parameter, twice: once
19637         with a compile-time constant length parameter, once without.
19639 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
19641         [BZ #18824]
19642         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
19643         scaling x * y up instead of down.
19644         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
19645         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19646         * math/auto-libm-test-in: Add more tests of fma.
19647         * math/auto-libm-test-out: Regenerated.
19649 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
19651         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19653 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19655         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
19656         unnecessary movq.
19657         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
19658         Likewise.
19660 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
19662         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19663         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
19664         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
19665         and tgamma.
19666         * math/auto-libm-test-out: Regenerated.
19667         * sysdeps/i386/fpu/libm-test-ulps: Update.
19668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19670         [BZ #16520]
19671         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
19672         (__tanh): Force underflow exception for arguments with small
19673         absolute value.
19674         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
19675         (__tanhf): Force underflow exception for arguments with small
19676         absolute value.
19677         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
19678         (__tanhl): Force underflow exception for arguments with small
19679         absolute value.
19680         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
19681         (__tanhl): Force underflow exception for arguments with small
19682         absolute value.
19683         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
19684         (__tanhl): Force underflow exception for arguments with small
19685         absolute value.
19686         * math/auto-libm-test-in: Add more tests of tanh.
19687         * math/auto-libm-test-out: Regenerated.
19688         * sysdeps/i386/fpu/libm-test-ulps: Update.
19690 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19692         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
19693         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
19695 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19697         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
19698         <cpuid.h>.
19700 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19702         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
19703         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
19705 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19707         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
19708         Remove $(objpfx)init-arch.o.
19709         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
19710         init-arch.
19711         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
19712         (INIT_ARCH_EXT): Defined as empty.
19713         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
19714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
19715         __init_cpu_features call.  Replace HAS_XXX with
19716         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19717         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
19718         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
19719         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
19720         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
19721         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19722         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
19723         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
19724         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19725         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
19726         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
19727         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19728         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
19729         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
19730         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19731         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
19732         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
19733         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19734         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19735         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
19736         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
19737         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19738         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
19739         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
19740         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19741         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
19742         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
19743         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19744         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
19745         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
19746         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19747         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
19748         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
19749         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19750         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
19751         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
19753 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19755         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
19756         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19757         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19758         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
19759         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
19760         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
19761         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
19762         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
19763         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
19764         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
19765         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
19766         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
19767         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19768         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
19769         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
19770         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
19771         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
19772         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
19773         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
19774         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
19775         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
19776         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
19777         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
19778         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
19779         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
19780         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
19781         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
19782         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
19783         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
19784         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
19785         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
19786         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
19787         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
19788         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
19789         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
19790         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
19791         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
19792         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
19793         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
19794         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
19795         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
19796         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
19797         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
19799 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19801         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
19802         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19803         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
19804         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
19805         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
19806         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
19807         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
19808         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
19809         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
19810         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
19811         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
19812         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
19813         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
19814         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
19815         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
19816         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
19817         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
19818         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
19819         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
19820         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
19821         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19822         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
19823         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
19824         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19825         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19826         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
19827         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
19828         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
19829         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
19830         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19831         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19832         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19833         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19834         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19835         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19836         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
19837         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
19838         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
19839         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
19840         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
19841         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
19842         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
19843         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
19845 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
19847         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
19848         (dl_platform_init): Call init_cpu_features.
19849         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
19850         * sysdeps/i386/i686/cacheinfo.c
19851         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
19852         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
19853         * sysdeps/i386/i686/multiarch/Versions: Removed.
19854         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
19855         Removed.
19856         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
19857         * sysdeps/unix/sysv/linux/x86/Makefile
19858         (libpthread-sysdep_routines): Remove init-arch.
19859         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
19860         <sysdeps/x86_64/dl-procinfo.c> instead of
19861         sysdeps/generic/dl-procinfo.c>.
19862         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
19863         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
19864         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
19865         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
19866         [$(subdir) == elf] (tests-static): Add
19867         tst-get-cpu-features-static.
19868         * sysdeps/x86/Versions: New file.
19869         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
19870         * sysdeps/x86/cpu-features.c: Likewise.
19871         * sysdeps/x86/cpu-features.h: Likewise.
19872         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
19873         * sysdeps/x86/libc-start.c: Likewise.
19874         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
19875         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
19876         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
19877         * sysdeps/x86_64/dl-procinfo.c: Likewise.
19878         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
19879         Assume USE_MULTIARCH is defined and don't check it.
19880         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
19881         (is_amd): Likewise.
19882         (max_cpuid): Likewise.
19883         (intel_check_word): Likewise.
19884         (__cache_sysconf): Don't call __init_cpu_features.
19885         (__x86_preferred_memory_instruction): Removed.
19886         (init_cacheinfo): Don't call __init_cpu_features. Replace
19887         __cpu_features with GLRO(dl_x86_cpu_features).
19888         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
19889         (dl_platform_init): Call init_cpu_features.
19890         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
19891         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
19892         * sysdeps/x86_64/multiarch/Versions: Removed.
19893         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
19894         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
19895         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
19896         Removed.
19897         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
19899 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19901         [BZ #18820]
19902         * libio/Makefile (test-fmemopen-mem): New test.
19903         * libio/test-fmemopen.c (do_bz18820): New test.
19904         * libio/fmemopen.c (__fmemopen): Fix memory leak.
19905         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
19907 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19909         [BZ #16734]
19910         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
19911         (FREE_BUF): Delete.
19912         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
19913         * libio/genops.c (_IO_setb): Use malloc and free directly.
19914         (_IO_default_doallocate, _IO_default_finish): Likewise.
19915         ( _IO_unbuffer_all): Likewise.
19916         ( libc_freeres_fn): Likewise.
19917         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
19918         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
19919         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
19920         (_IO_wdefault_doallocate): Likewise.
19922 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19924         [BZ #18086]
19925         * sysdeps/posix/nice.c (nice): Restore old errno.
19926         * posix/tst-nice.c (do_test): Add test for BZ #18086.
19928 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
19930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
19932 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19934         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
19935         __bcopy and add a weak_alias to bcopy.
19936         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
19937         for static build.
19939         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
19940         cleanup macro usage.
19941         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
19942         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
19943         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
19944         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
19945         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
19946         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
19947         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
19948         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19949         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19950         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
19951         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19952         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
19953         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
19954         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
19955         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
19957         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
19958         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
19959         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
19961         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
19962         libc_hidden_def.
19963         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
19965         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
19966         (sysdep_routines): Add strstr-ppc64.
19967         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
19969 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
19971         [BZ #18778]
19972         * elf/Makefile (tests): Add Add tst-nodelete2.
19973         (modules-names): Add tst-nodelete2mod.
19974         (tst-nodelete2mod.so-no-z-defs): New.
19975         ($(objpfx)tst-nodelete2): Likewise.
19976         ($(objpfx)tst-nodelete2.out): Likewise.
19977         (LDFLAGS-tst-nodelete2): Likewise.
19978         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
19979         out of loop through all loaded libraries.
19980         * elf/tst-nodelete2.c: New file.
19981         * elf/tst-nodelete2mod.c: Likewise.
19982         * elf/tst-znodelete-zlib.cc: Delete.
19984 2015-08-11  Andreas Schwab  <schwab@suse.de>
19986         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
19987         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
19988         (__openat64_nocancel): Likewise.
19990 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
19992         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
19993         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
19994         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
19995         * math/auto-libm-test-out: Regenerated.
19996         * sysdeps/i386/fpu/libm-test-ulps: Update.
19997         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19999 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20001         [BZ #18790]
20002         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
20003         threshold for returning +/- 1.
20004         * math/auto-libm-test-in: Add more tests of tanh.
20005         * math/auto-libm-test-out: Regenerated.
20006         * sysdeps/i386/fpu/libm-test-ulps: Update.
20008 2015-08-10  Andreas Schwab  <schwab@suse.de>
20010         [BZ #18781]
20011         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
20012         MORE_OFLAGS to oflag.
20013         * io/test-lfs.c (do_test): Test openat64.
20015 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
20017         [BZ #18789]
20018         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
20019         smaller threshold for returning the argument.
20020         * math/auto-libm-test-in: Add more tests of sinh.
20021         * math/auto-libm-test-out: Regenerated.
20022         * sysdeps/i386/fpu/libm-test-ulps: Update.
20024 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
20026         [BZ #18674]
20027         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
20028         break.
20030 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20032         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
20033         (generated): Don't add $(addprefix z.,$(tzfiles)).
20035 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20037         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
20038         * scripts/sysd-rules.awk: Likewise.
20040 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20042         * iconvdata/tst-tables.sh: Change echo -n to printf.
20043         * nss/db-Makefile: Likewise.
20044         * posix/tst-getconf.sh: Likewise.
20045         * stdio-common/tst-unbputc.sh: Likewise.
20047 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
20049         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
20050         MADV_*_PAGES defines behind this feature check.
20052 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
20054         [BZ #18480]
20055         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
20056         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
20057         Define.
20058         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
20059         LOAD_REGS_5, LOAD_REGS_6): Update.
20060         (INTERNAL_SYSCALL): Update using new LOAD defines.
20061         (INTERNAL_SYSCALL_NCS): Likewise.
20062         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
20064 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20066         [BZ #16734]
20067         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
20069 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
20071         [BZ #17905]
20072         * catgets/Makefile (tst-catgets-mem): New test.
20073         * catgets/catgets.c (catopen): Don't use unbounded alloca.
20074         * catgets/open_catalog.c (__open_catalog): Likewise.
20075         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
20077 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
20079         [BZ #18787]
20080         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
20081         clobber registers.
20082         (atomic_compare_and_exchange_val_acq): Use register asms to assign
20083         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
20084         Cast return to __typeof (oldval).
20086 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
20088         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
20089         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
20090         and delete sys/syscall.h include.
20092 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
20094         [BZ #16517]
20095         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
20096         (tan): Force underflow exception for arguments with small absolute
20097         value.
20098         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
20099         (__kernel_tanf): Force underflow exception for arguments with
20100         small absolute value.
20101         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
20102         (__kernel_tanl): Force underflow exception for arguments with
20103         small absolute value.
20104         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
20105         (__kernel_tanl): Force underflow exception for arguments with
20106         small absolute value.
20107         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
20108         (__kernel_tanl): Force underflow exception for arguments with
20109         small absolute value.
20110         * math/auto-libm-test-in: Add more tests of tan.
20111         * math/auto-libm-test-out: Regenerated.
20113 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20115         Fix sysdeps/i386/fpu/s_scalbn.S build
20117         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
20119 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
20121         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20123 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20125         Fix gcrt0.o compilation
20127         When static-start-installed-name is different from
20128         start-installed-name, we must not use the shared objects.
20130         * csu/Makefile
20131         (extra-objs): Add gmon-start.o when building shared library and
20132         $(static-start-installed-name) is different from
20133         $(start-installed-name).
20134         $(objpfx)g$(static-start-installed-name): When building shared
20135         library and $(static-start-installed-name) is different from
20136         $(static-start-installed-name), revert to non-shared rule,
20137         i.e. using $(objpfx)% and gmon-start.o.
20139 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
20141         [BZ #16519]
20142         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
20143         (__ieee754_sinh): Force underflow exception for arguments with
20144         small absolute value.
20145         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
20146         (__ieee754_sinhf): Force underflow exception for arguments with
20147         small absolute value.
20148         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
20149         (__ieee754_sinhl): Force underflow exception for arguments with
20150         small absolute value.
20151         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
20152         (__ieee754_sinhl): Force underflow exception for arguments with
20153         small absolute value.
20154         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
20155         (__ieee754_sinhl): Force underflow exception for arguments with
20156         small absolute value.
20157         * math/auto-libm-test-in: Add more tests of sinh.
20158         * math/auto-libm-test-out: Regenerated.
20159         * sysdeps/i386/fpu/libm-test-ulps: Update.
20161 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20163         * libio/oldfileops.c: Include unistd.h.
20165 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
20167         * stdlib/isomac.c: Include ctype.h.
20169 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
20171         * dirent/tst-seekdir.c (main): Converted to ...
20172         (do_test): ... this.
20173         (TEST_FUNCTION): New macro.
20174         Include test-skeleton.c.
20175         * elf/tst-dlmodcount.c (main): Converted to ...
20176         (do_test): ... this.
20177         (TEST_FUNCTION): New macro.
20178         Include test-skeleton.c.
20179         * elf/tst-order-main.c (main): Converted to ...
20180         (do_test): ... this.
20181         (TEST_FUNCTION): New macro.
20182         Include test-skeleton.c.
20183         * elf/tst-pie2.c (main): Converted to ...
20184         (do_test): ... this.
20185         (TEST_FUNCTION): New macro.
20186         Include test-skeleton.c.
20187         * inet/tst-ether_aton.c (main): Converted to ...
20188         (do_test): ... this.
20189         (TEST_FUNCTION): New macro.
20190         Include test-skeleton.c.
20191         * misc/tst-mntent.c (main): Converted to ...
20192         (do_test): ... this.
20193         (TEST_FUNCTION): New macro.
20194         Include test-skeleton.c.
20195         * misc/tst-tsearch.c (main): Converted to ...
20196         (do_test): ... this.
20197         (TEST_FUNCTION): New macro.
20198         Include test-skeleton.c.
20199         * posix/tst-regexloc.c (main): Converted to ...
20200         (do_test): ... this.
20201         (TEST_FUNCTION): New macro.
20202         Include test-skeleton.c.
20203         * resolv/tst-aton.c (main): Converted to ...
20204         (do_test): ... this.
20205         (TEST_FUNCTION): New macro.
20206         Include test-skeleton.c.
20207         * stdio-common/test-fwrite.c (main): Converted to ...
20208         (do_test): ... this.
20209         (TEST_FUNCTION): New macro.
20210         Include test-skeleton.c.
20211         * stdio-common/tst-ferror.c (main): Converted to ...
20212         (do_test): ... this.
20213         (TEST_FUNCTION): New macro.
20214         Include test-skeleton.c.
20215         * stdio-common/tst-printf.c (main): Converted to ...
20216         (do_test): ... this.
20217         (TEST_FUNCTION): New macro.
20218         Include test-skeleton.c.
20219         * stdio-common/tst-printfsz.c (main): Converted to ...
20220         (do_test): ... this.
20221         (TEST_FUNCTION): New macro.
20222         Include test-skeleton.c.
20223         * stdlib/tst-strtod.c (main): Converted to ...
20224         (do_test): ... this.
20225         (TEST_FUNCTION): New macro.
20226         Include test-skeleton.c.
20227         * string/tst-strlen.c (main): Converted to ...
20228         (do_test): ... this.
20229         (TEST_FUNCTION): New macro.
20230         Include test-skeleton.c.
20231         * string/tst-svc.c (main): Converted to ...
20232         (do_test): ... this.
20233         (TEST_FUNCTION): New macro.
20234         Include test-skeleton.c.
20235         * time/tst-strptime.c (main): Converted to ...
20236         (do_test): ... this.
20237         (TEST_FUNCTION): New macro.
20238         Include test-skeleton.c.
20239         * timezone/tst-timezone.c (main): Converted to ...
20240         (do_test): ... this.
20241         (TEST_FUNCTION): New macro.
20242         Include test-skeleton.c.
20244 2015-08-05  Zack Weinberg  <zackw@panix.com>
20246         * misc/regexp.h: Update comments.
20248 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
20250         [BZ #18635]
20251         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
20252         before return label.
20254 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20256         [BZ #18661]
20257         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
20258         when calling __errno_location.
20259         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
20260         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
20262 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20264         [BZ #18661]
20265         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
20266         (__lll_timedwait_tid): Align stack to 16 bytes when calling
20267         __gettimeofday.
20269 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20271         [BZ #18661]
20272         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
20273         (__start_context): Don't use pop to restore %rdi so that stack
20274         is aligned to 16 bytes when calling __setcontext.
20276 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20278         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
20279         only for libc.
20280         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20282 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20284         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
20285         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
20286         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
20288 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20290         * string/memccpy.c (memccpy):
20291         Improve performance by using memchr/memcpy/__mempcpy.
20293 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20295         * string/strncpy.c (strncpy):
20296         Improve performance by using __strnlen/memcpy.
20298 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20300         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
20301         Optimize to avoid an unnecessary FPCR read.
20303 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
20305         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
20306         Optimize to reduce FPCR/FPSR accesses.
20308 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
20310         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
20311         dead->data[category] != NULL.
20313 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
20315         [BZ #18647]
20316         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
20317         and |x| close to 1, use absolute value of x when computing log.
20318         * math/auto-libm-test-in: Add more tests of pow.
20319         * math/auto-libm-test-out: Regenerated.
20321 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20323         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
20324         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
20325         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
20327 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
20329         [BZ #18525]
20330         * locales/km_KH: Remove timezone definition.
20331         * locales/lo_LA: Likewise.
20332         * locales/my_MM: Likewise.
20333         * locales/nan_TW@latin: Likewise.
20334         * locales/th_TH: Likewise.
20335         * locales/uk_UA: Likewise.
20337 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
20339         [BZ #18265]
20340         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
20341         (wcsncat): Likewise.
20342         (wcscmp): Likewise.
20343         (wcsncmp): Likewise.
20345 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20347         * test-skeleton.c (usage): New function.
20348         (main): Call usage when opt is '?'.
20350 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20352         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
20353         before first use.
20355 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
20357         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
20358         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
20359         in there too.
20361 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
20363         * version.h (RELEASE): Set to "development".
20364         (VERSION): Set to "2.22.90"
20366         * version.h (RELEASE): Set to "stable".
20367         (VERSION): Set to "2.22"
20368         * include/features.h (__GLIBC_MINOR__): Set to 22.
20370 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
20372         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
20373         Restructure macro to avoid "value computed is not used" warning.
20374         (atomic_compare_and_exchange_val_acq): Likewise.
20376 2015-08-04  Andreas Schwab  <schwab@suse.de>
20378         [BZ #18635]
20379         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
20380         ret.
20381         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
20383 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
20385         * po/pl.po: Updated translation.
20386         * po/uk.po: Likewise.
20387         * po/fi.po: Likewise.
20388         * po/ko.po: Likewise.
20389         * po/ru.po: Likewise.
20390         * po/vi.po: Likewise.
20392 2015-07-31  Zack Weinberg  <zackw@panix.com>
20394         [BZ #18681]
20395         * regexp.h: Add unconditional #warning stating that this header
20396         will be removed soon.  Revise banner comment to match.
20397         (compile): Consistently use ERROR instead of RETURN to report
20398         errors (partial fix for bz#18681).
20399         * regexp.c: Don't include regexp.h. Remove some unnecessary
20400         declarations.
20402 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
20404         * po/libc.pot: Regenerated.
20406 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
20408         [BZ #18740]
20409         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
20410         float-vlen4-arch-ext-cflags): Removed.
20411         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
20412         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
20414 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20416         [BZ #14113]
20417         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
20418         aligned to __aligned__.
20419         (pthread_cond_t, pthread_rwlock_t): Likewise.
20421 2015-07-30  Torvald Riegel  <triegel@redhat.com>
20423         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
20425 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20427         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
20428         (struct sigaction): Change sa_flags from a long to an int, and add
20429         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
20431 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20433         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
20434         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
20435         sysdeps/generic/sysdep.h include.
20436         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
20437         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
20438         sysdeps/hppa/sysdep.h.
20439         (ENTRY, PSEUDO): Undefine before defining.
20441 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
20443         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
20444         from scratch to use INTERNAL_SYSCALL.
20446 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
20448         [BZ #18078]
20449         * scripts/check-localplt.awk: Support alternate relocations.
20450         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
20451         sections.
20452         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
20453         malloc entries with + REL R_386_GLOB_DAT.
20454         * sysdeps/x86_64/localplt.data: New file.
20456 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
20458         [BZ #18731]
20459         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
20460         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20461         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20463 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20465         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
20467 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20469         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
20470         directly in terms of __sync_fetch_and_add and delete (int) cast.
20472 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20474         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
20475         the -D_ASM_IA64_CURRENT_H flag.
20477 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
20479         [BZ #18641]
20480         * pwd/pwd.h (putpwent): Delete __nonnull markings.
20482 2015-07-27  Andreas Schwab  <schwab@suse.de>
20484         * conform/conformtest.pl (checknamespace): Filter out string
20485         literals while tokenizing.
20487 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20489         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20490         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
20491         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20493 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
20495         * nptl/tst-join7mod.c: Add #include <string.h>.
20497 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20499         * sysdeps/nios2/libm-test-ulps: Update.
20501 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
20503         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
20504         Fix order of arguments to the rt_sigprocmask syscall.
20505         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
20506         Likewise.
20508 2015-07-24  Roland McGrath  <roland@hack.frob.com>
20510         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
20512 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20514         [BZ #18457]
20515         * nptl/Makefile (tests): New test case tst-join7.
20516         (modules-names): New test case module tst-join7mod.
20517         * nptl/tst-join7.c: New file.
20518         * nptl/tst-join7mod.c: New file.
20519         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
20520         all translation units in libc.so, libpthread.so and rtld.
20522 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20526 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20528         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
20529         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
20530         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
20531         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
20532         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
20533         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
20534         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
20535         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
20536         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
20537         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
20538         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
20539         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
20540         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
20541         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
20542         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
20543         implementation.
20545 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20547         [BZ #17711]
20548         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20549         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
20550         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20551         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
20552         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
20553         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
20555 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20557         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
20558         instead of just saying load lock in the comments.
20560 2015-07-23  Roland McGrath  <roland@hack.frob.com>
20562         * sysdeps/unix/Subdirs: Moved ...
20563         * sysdeps/posix/Subdirs: ... here.
20564         * login/pty.h (struct termios, struct winsize): Add forward decls.
20565         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
20566         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
20567         * sysdeps/arm/nacl/libc.abilist: Updated.
20568         * sysdeps/nacl/libutil.abilist: New file.
20570         * bits/signum.h: Update comments to mention 1003.1-2013 too.
20571         (SIGWINCH): New macro.
20573         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
20574         * sysdeps/arm/nacl/libc.abilist: Add it.
20576 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20578         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
20580 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
20582         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20583         Swap __glibc_reserved0 and sa_flags order.
20585 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20587         [BZ #18657]
20588         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
20589         are pending TLS destructor calls.
20590         * include/link.h (struct link_map): Add concurrency note for
20591         L_TLS_DTOR_COUNT.
20592         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
20593         Don't touch the link map flag.  Atomically increment
20594         l_tls_dtor_count.
20595         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
20596         Avoid taking the load lock and don't touch the link map flag.
20597         * stdlib/tst-tls-atexit-nodelete.c: New test case.
20598         * stdlib/Makefile (tests): Use it.
20599         * stdlib/tst-tls-atexit.c (do_test): dlopen
20600         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
20601         to allow tst-tls-atexit-nodelete test case to use it.
20603 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20605         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
20606         to bits/types.h.
20607         (msgqnum_t): New typedef.
20608         (msglen_t): Likewise.
20609         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
20610         and msg_qbytes type to msglen_t.
20612 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20614         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
20615         pad0 to __glibc_reserved0.
20616         (struct stat64): Likewise.
20618 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20620         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
20621         Change sa_flags from a long to an int and add __glibc_reserved0 before
20622         it for padding.
20624 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
20626         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
20627         anonymous by deleting "siginfo" name.
20629 2015-07-21  Roland McGrath  <roland@hack.frob.com>
20631         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
20632         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
20633         rather than __nacl_irt_filename.
20634         * sysdeps/nacl/xstat.c (__xstat): Likewise.
20636         * NEWS: New item for arm-nacl port.
20637         * sysdeps/arm/nacl/libc.abilist: New file.
20638         * sysdeps/nacl/ld.abilist: New file.
20639         * sysdeps/nacl/libBrokenLocale.abilist: New file.
20640         * sysdeps/nacl/libanl.abilist: New file.
20641         * sysdeps/nacl/libcrypt.abilist: New file.
20642         * sysdeps/nacl/libdl.abilist: New file.
20643         * sysdeps/nacl/libm.abilist: New file.
20644         * sysdeps/nacl/libpthread.abilist: New file.
20645         * sysdeps/nacl/libresolv.abilist: New file.
20646         * sysdeps/nacl/librt.abilist: New file.
20648 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
20650         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
20651         __startcontext to initialize the new context.
20652         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
20653         up CFI directive to forbid further backtracing.
20655 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
20657         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
20658         reference.
20659         * charmaps/ANSI_X3.4-1968: Likewise.
20660         * charmaps/BS_4730: Likewise.
20661         * charmaps/BS_VIEWDATA: Likewise.
20662         * charmaps/CP1250: Likewise.
20663         * charmaps/CP1251: Likewise.
20664         * charmaps/CP1252: Likewise.
20665         * charmaps/CP1253: Likewise.
20666         * charmaps/CP1254: Likewise.
20667         * charmaps/CP1255: Likewise.
20668         * charmaps/CP1256: Likewise.
20669         * charmaps/CSN_369103: Likewise.
20670         * charmaps/EBCDIC-DK-NO: Likewise.
20671         * charmaps/GB_1988-80: Likewise.
20672         * charmaps/GREEK-CCITT: Likewise.
20673         * charmaps/GREEK7: Likewise.
20674         * charmaps/INIS-8: Likewise.
20675         * charmaps/ISIRI-3342: Likewise.
20676         * charmaps/ISO_2033-1983: Likewise.
20677         * charmaps/ISO_5427-EXT: Likewise.
20678         * locales/POSIX: Likewise.
20679         * locales/ar_SA: Likewise.
20680         * locales/be_BY: Likewise.
20681         * locales/be_BY@latin: Likewise.
20682         * locales/ca_ES: Likewise.
20683         * locales/cs_CZ: Likewise.
20684         * locales/da_DK: Likewise.
20685         * locales/de_BE: Likewise.
20686         * locales/de_CH: Likewise.
20687         * locales/de_LU: Likewise.
20688         * locales/en_AU: Likewise.
20689         * locales/en_BW: Likewise.
20690         * locales/en_CA: Likewise.
20691         * locales/en_DK: Likewise.
20692         * locales/en_GB: Likewise.
20693         * locales/en_IE: Likewise.
20694         * locales/en_NZ: Likewise.
20695         * locales/en_ZA: Likewise.
20696         * locales/en_ZW: Likewise.
20697         * locales/es_AR: Likewise.
20698         * locales/es_BO: Likewise.
20699         * locales/es_CL: Likewise.
20700         * locales/es_CO: Likewise.
20701         * locales/es_DO: Likewise.
20702         * locales/es_EC: Likewise.
20703         * locales/es_ES: Likewise.
20704         * locales/es_HN: Likewise.
20705         * locales/es_MX: Likewise.
20706         * locales/es_PA: Likewise.
20707         * locales/es_PE: Likewise.
20708         * locales/es_PY: Likewise.
20709         * locales/es_SV: Likewise.
20710         * locales/es_US: Likewise.
20711         * locales/es_UY: Likewise.
20712         * locales/es_VE: Likewise.
20713         * locales/et_EE: Likewise.
20714         * locales/fa_IR: Likewise.
20715         * locales/fo_FO: Likewise.
20716         * locales/fr_CA: Likewise.
20717         * locales/fr_CH: Likewise.
20718         * locales/gv_GB: Likewise.
20719         * locales/he_IL: Likewise.
20720         * locales/hr_HR: Likewise.
20721         * locales/id_ID: Likewise.
20722         * locales/is_IS: Likewise.
20723         * locales/it_CH: Likewise.
20724         * locales/iw_IL: Likewise.
20725         * locales/kl_GL: Likewise.
20726         * locales/ko_KR: Likewise.
20727         * locales/kw_GB: Likewise.
20728         * locales/lg_UG: Likewise.
20729         * locales/lt_LT: Likewise.
20730         * locales/lv_LV: Likewise.
20731         * locales/mi_NZ: Likewise.
20732         * locales/nhn_MX: Likewise.
20733         * locales/nl_BE: Likewise.
20734         * locales/pl_PL: Likewise.
20735         * locales/sk_SK: Likewise.
20736         * locales/sl_SI: Likewise.
20737         * locales/sv_FI: Likewise.
20738         * locales/tl_PH: Likewise.
20739         * locales/tr_TR: Likewise.
20740         * locales/vi_VN: Likewise.
20742 2015-07-21  Khem Raj  <raj.khem@gmail.com>
20744         [BZ #17475]
20745         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
20746         of tu_IN and bh_IN.
20748 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
20750         [BZ #18694]
20751         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
20752         bits/wordsize.h.
20753         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
20755 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20757         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
20758         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
20759         (spawn_thread): New function.
20760         (load): Rename to reg_dtor_and_close.  Move dlopen to...
20761         (do_test): ... here.  Use IS_LOADED to test for its
20762         availability.
20764 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
20766         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20768 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
20770         [BZ #18696]
20771         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
20772         si_addr_bnd.
20773         (si_lower): New.
20774         (si_upper): Likewise.
20776 2015-07-16  David S. Miller  <davem@davemloft.net>
20778         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
20780 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20782         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
20783         buffer.
20784         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
20785         fail output information.
20787 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20789         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
20790         and strstr-ppc64..
20791         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20792         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
20793         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
20794         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
20795         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
20797 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20799         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20800         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20801         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
20802         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
20804 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
20806         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
20807         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
20808         rtld_hidden_proto.
20809         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
20811 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20813         * tst-nodelete-opened.c (do_test): Add comment to clarify how
20814         the test can fail.
20816         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
20818         [BZ #18676]
20819         * elf/tst-nodelete-opened.c: New test case.
20820         * elf/tst-nodelete-opened-lib.c: New test case module.
20821         * elf/Makefile (tests, modules-names): Use them.
20822         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
20823         early.
20825 2015-07-15  David S. Miller  <davem@davemloft.net>
20827         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
20828         futex-intenal.h
20829         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
20830         * sysdeps/sparc/sparc64/Makefile: Likewise.
20831         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
20832         Remove space from macro define.
20833         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
20835 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
20837         [BZ #17475]
20838         * locale/iso-639.def: Update Bhili and Tulu language codes as
20839         per iso639-3.
20841 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
20843         * elf/tst-leaks1.c (main): Converted to ...
20844         (do_test): ... this.
20845         (TEST_FUNCTION): New macro.
20846         Include test-skeleton.c.
20847         * localedata/tst-langinfo.c (main): Converted to ...
20848         (do_test): ... this.
20849         (TEST_FUNCTION): New macro.
20850         Include test-skeleton.c.
20851         * math/test-fpucw.c (main): Converted to ...
20852         (do_test): ... this.
20853         (TEST_FUNCTION): New macro.
20854         Include test-skeleton.c.
20855         * math/test-tgmath.c (main): Converted to ...
20856         (do_test): ... this.
20857         (TEST_FUNCTION): New macro.
20858         Include test-skeleton.c.
20859         * math/test-tgmath2.c (main): Converted to ...
20860         (do_test): ... this.
20861         (TEST_FUNCTION): New macro.
20862         Include test-skeleton.c.
20863         * setjmp/tst-setjmp.c (main): Converted to ...
20864         (do_test): ... this.
20865         (TEST_FUNCTION): New macro.
20866         Include test-skeleton.c.
20867         * stdio-common/tst-sscanf.c (main): Converted to ...
20868         (do_test): ... this.
20869         (TEST_FUNCTION): New macro.
20870         Include test-skeleton.c.
20871         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
20872         (do_test): ... this.
20873         (TEST_FUNCTION): New macro.
20874         Include test-skeleton.c.
20876         * elf/tst-audit9.c (main): Converted to ...
20877         (do_test): ... this.
20878         (TEST_FUNCTION): New macro.
20879         Include test-skeleton.c.
20881 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
20883         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
20885 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20887         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
20888         New variable.
20890 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
20892         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20894 2015-07-14  Roland McGrath  <roland@hack.frob.com>
20896         * sysdeps/generic/dl-fileid.h: New file.
20897         * sysdeps/posix/dl-fileid.h: New file.
20898         * sysdeps/nacl/dl-fileid.h: New file.
20899         * include/link.h: Include <dl-fileid.h>.
20900         (struct link_map): Replace l_dev and l_ino with l_file_id.
20901         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
20902         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
20903         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
20905 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20907         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
20909 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20911         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
20912         Add iff $CXX is set.
20913         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
20914         Likewise.
20915         (tst-nodelete-zmodiff): Likewise.
20916         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
20918 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20920         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
20922 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20924         * sysdeps/aarch64/fpu/math_private.h
20925         (define math_opt_barrier): Add AArch64 version.
20926         (math_force_eval): Likewise.
20928 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
20930         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
20932 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
20934         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
20935         %ld with %jd and cast to intmax_t.
20936         (do_test_length_zero): Likewise.
20938 2015-07-10  Roland McGrath  <roland@hack.frob.com>
20940         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
20942 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
20944         * sysdeps/tile/libm-test-ulps: Regenerated.
20946         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
20947         Comment out the whole function, not just its body.
20949 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20951         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
20952         locks.
20954         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
20956 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20958         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
20959         (sem_assume_only_signals_cause_futex_EINTR): Remove.
20961 2015-07-10  Torvald Riegel  <triegel@redhat.com>
20963         * sysdeps/nptl/futex-internal.h: New file.
20964         * sysdeps/nacl/futex-internal.h: New file.
20965         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
20966         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
20967         error checking.
20968         (setxid_unmark_thread): Likewise.
20969         (__nptl_setxid): Likewise.
20970         (__wait_lookup_done): Likewise.
20971         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
20972         * nptl/nptl-init.c (sighandler_setxid): Likewise.
20973         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
20974         * nptl/pthread_once.c (clear_once_control): Likewise.
20975         (__pthread_once_slow): Likewise.
20976         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
20977         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
20978         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
20979         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
20980         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
20981         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
20982         Likewise.
20983         (__pthread_rwlock_rdlock): Likewise.
20984         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
20985         Likewise.
20986         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
20987         Likewise.
20988         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
20989         Likewise.
20990         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
20991         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
20992         Likewise.
20993         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
20994         __ASSUME_PRIVATE_FUTEX check.
20995         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
20996         Check that shared futexes are supported.
20997         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
20998         wrappers with error checking.
20999         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
21000         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
21001         * nptl/pthread_barrierattr_setpshared.c
21002         (pthread_barrierattr_setpshared): Check that shared futexes are
21003         supported.
21004         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
21005         Likewise.
21006         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
21007         Likewise.
21008         * nptl/sem_init.c (futex_private_if_supported): Remove.
21009         (__new_sem_init): Adapt and check that shared futexes are supported.
21010         * nptl/sem_open.c (sem_open): Likewise.
21011         * nptl/sem_post.c (futex_wake): Remove.
21012         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
21013         (do_futex_wait): Use futex wrappers with error checking.
21014         * nptl/sem_wait.c: Include lowlevellock.h.
21015         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
21016         Use futex_supports_pshared.
21017         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
21018         Use futex wrappers with error checking.
21019         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
21020         Likewise.
21021         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
21022         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
21023         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
21024         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
21025         (futex_wake): Likewise.
21026         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
21027         (do_futex_wait): Use futex wrappers with error checking.
21028         (__new_sem_wait_slow): Update EINTR handling.
21029         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
21031 2015-07-09  Martin Sebor  <msebor@redhat.com>
21033         [BZ #18435]
21034         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21035         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
21036         * nptl/Makefile (test-xfail-tst-once5): Define.
21038 2015-07-09  Roland McGrath  <roland@hack.frob.com>
21040         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
21041         * elf/dl-minimal.c: For readability, reorder some definitions and
21042         introduce more page breaks.  Include <stdio.h>.
21043         (__libc_fatal): New function.
21045         * include/unistd.h: Add rtld_hidden_proto for _exit.
21046         * posix/_exit.c: Add rtld_hidden_def.
21047         * sysdeps/mach/hurd/_exit.c: Likewise.
21048         * sysdeps/nacl/_exit.c: Likewise.
21049         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
21050         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
21052 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
21054         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
21055         bndmov encoding with zero displacement.
21057 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
21058             H.J. Lu  <hongjiu.lu@intel.com>
21060         [BZ #18134]
21061         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
21062         * sysdeps/i386/configure: Regenerated.
21063         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21064         (_dl_runtime_profile): Save and restore Intel MPX return bound
21065         registers when calling _dl_call_pltexit.  Add
21066         PRESERVE_BND_REGS_PREFIX before return.
21067         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
21068         (LRV_BND1_OFFSET): Likewise.
21069         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
21070         lrv_bnd1.
21071         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
21072         typo in bndmov encoding.
21073         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
21074         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
21075         branch instructions to preserve bounds.
21077 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
21080         [GLIBC_2.22]: Add fmemopen.
21082 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21084         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
21085         returns an error, also try to use host port from __mach_host_self for
21086         the __vm_wire call.
21087         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
21089 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21091         [BZ #18400]
21092         [BZ #18648]
21093         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
21094         Fix pr_uid and pr_gid members.
21095         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
21096         definition to elf_greg_t.
21098 2015-07-08  Roland McGrath  <roland@hack.frob.com>
21100         [BZ #18383]
21101         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
21102         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
21103         * sysdeps/arm/configure: Regenerated.
21104         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
21105         (test-xfail-tst-tlsalign-static): Variable removed.
21107         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
21108         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
21109         rather than explicit 'ln -s'.
21111         * resolv/rpc/netdb.h: New file.
21112         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
21114 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21116         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
21117         length buffers.
21118         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
21119         test-skeleton.c.
21121         [BZ #6544]
21122         [BZ #11216]
21123         [BZ #12836]
21124         [BZ #13151]
21125         [BZ #13152]
21126         [BZ #14292]
21127         * include/stdio.h (fmemopen): Remove hidden prototype.
21128         (__fmemopen): Add new hidden prototype.
21129         * libio/Makefile: Add oldfmemopen object.
21130         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
21131         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
21132         compliance.
21133         * libio/oldfmemopen.c: New file: old fmemopen implementation for
21134         symbol compatibility.
21135         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
21136         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
21137         fmemopen.
21138         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
21139         on append and read mode.
21140         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
21141         fmemopen.
21142         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
21143         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
21144         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
21145         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
21146         Likewise.
21147         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
21148         [GLIBC_2.22]: Likewise.
21149         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
21150         Likewise.
21151         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
21152         Likewise.
21153         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
21154         [GLIBC_2.22]: Likewise.
21155         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
21156         [GLIBC_2.22]: Likewise.
21157         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
21158         [GLIBC_2.22]: Likewise.
21159         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
21160         [GLIBC_2.22]: Likewise.
21161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
21162         [GLIBC_2.22]: Likewise.
21163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
21164         [GLIBC_2.22]: Likewise.
21165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
21166         [GLIBC_2.22]: Likewise.
21167         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
21168         Likewise.
21169         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
21170         Likewise.
21171         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
21172         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
21173         [GLIBC_2.22]: Likewise.
21174         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
21175         [GLIBC_2.22]: Likewise.
21176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
21177         [GLIBC_2.22]: Likewise.
21178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
21179         [GLIBC_2.22]: Likewise.
21180         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
21181         Likewise.
21182         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
21183         Likewise.
21184         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
21185         Likewise.
21186         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
21187         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
21189 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21191         [BZ #18643]
21192         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
21193         IPV6_PATHMTU, and IPV6_DONTFRAG.
21195 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
21197         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
21198         and _IO_UNBUFFERED.
21199         * libio/oldfileops.c: Likewise.
21200         * libio/wfileops.c: Likewise.
21202 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21204         * nscd/selinux.c: Delete selinux/flask.h include.
21206 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
21208         [BZ #18641]
21209         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
21210         (putpwent): Likewise.
21211         (getpwnam): Likewise.
21212         (getpwent_r): Likewise.
21213         (getpwuid_r): Likewise.
21214         (getpwnam_r): Likewise.
21215         (fgetpwent_r): Likewise.
21217 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
21219         [BZ #18557]
21220         * inet/rcmd.c (__validuser2_sa): Check user first to
21221         short-circuit host check.
21223 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
21224             Mikhail Ilin  <m.ilin@samsung.com>
21226         [BZ #17833]
21227         * elf/Makefile (tests): Add tst-nodelete.
21228         (modules-names): Add tst-nodelete-uniquemod.
21229         (tst-nodelete-uniquemod.so-no-z-defs): New.
21230         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
21231         (tst-nodelete-zmod.so-no-z-defs): Likewise.
21232         ($(objpfx)tst-nodelete): Likewise.
21233         ($(objpfx)tst-nodelete.out): Likewise.
21234         (LDFLAGS-tst-nodelete): Likewise.
21235         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
21236         * elf/dl-close.c (_dl_close_worker): Add a parameter to
21237         implement forced object deletion.
21238         (_dl_close): Pass false to _dl_close_worker.
21239         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
21240         * elf/tst-nodelete.cc: New file.
21241         * elf/tst-nodeletelib.cc: Likewise.
21242         * elf/tst-znodeletelib.cc: Likewise.
21243         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
21245 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21247         [BZ #18508]
21248         * stdlib/Makefile ($(objpfx)tst-makecontext3):
21249         Depend on $(libdl).
21250         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
21251         is not called infinitely times.
21252         (backtrace_helper): New function.
21253         (trace_arg): New struct.
21254         (st1): Enlarge stack size.
21255         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
21256         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
21257         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
21258         Likewise.
21260 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21262         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21264 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
21266         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
21267         Include sys/types.h instead of bits/types.h.
21268         Remove inclusion of bits/wordsize.h.
21270 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21272         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
21273         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
21274         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
21275         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
21276         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
21277         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
21279 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21281         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
21282         link-defines.sym.
21283         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
21284         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
21285         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
21286         and LR_SIZE.
21287         * sysdeps/i386/link-defines.sym: New file.
21289 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
21291         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
21292         (modules-names): Add tst-auditmod3a tst-auditmod3b.
21293         ($(objpfx)tst-audit3): New rule.
21294         ($(objpfx)tst-audit3.out): Likewise.
21295         * sysdeps/i386/tst-audit3.c: New file.
21296         * sysdeps/i386/tst-audit3.h: Likewise.
21297         * sysdeps/i386/tst-auditmod3a.c: Likewise.
21298         * sysdeps/i386/tst-auditmod3b.c: Likewise.
21300 2015-07-07  Torvald Riegel  <triegel@redhat.com>
21302         [BZ #18633]
21303         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
21304         pointer in C code.
21305         (__strcat_c): Likewise.
21306         (__strcat_g): Likewise.
21308 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
21310         [BZ #18592]
21311         * misc/sbrk.c: Set errno to ENOMEM on overflow.
21313 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21315         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
21316         New function.  (__ieee754_sqrtf): New function.
21317         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
21318         New function.
21319         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
21320         New function.
21322 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
21324         * sysdeps/ieee754/support.c: Remove unused file.
21326 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21328         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
21329         registers instead of d ones so the layout is kernel abi compatible.
21330         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
21331         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
21332         Likewise.
21334 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21336         * sysdeps/aarch64/libm-test-ulps: Regenerated.
21338 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21340         [BZ #18619]
21341         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
21342         and return argument in case of subnormal argument.
21344 2015-07-01  Martin Sebor  <msebor@redhat.com>
21346         [BZ #18435]
21347         * nptl/Makefile: Add tst-once5.cc.
21348         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
21349         Remove macro redefinitions.
21350         * nptl/tst-once5.cc: New test.
21352 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
21354         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21356         * sysdeps/arm/libm-test-ulps: Regenerated.
21358         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21359         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21361 2015-06-30  Torvald Riegel  <triegel@redhat.com>
21363         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
21364         lll_lock_wait_private and lll_futex_wake probes.
21366         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21367         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
21368         Likewise.
21369         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
21370         atomic_spin_nop.
21371         * sysdeps/x86_64/bits/atomic.h: Likewise.
21372         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
21373         to atomic_spin_nop and move ...
21374         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
21375         ... here and ...
21376         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
21377         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
21378         atomic_spin_nop instead of BUSY_WAIT_NOP.
21379         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
21380         Likewise.
21381         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
21382         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
21383         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
21384         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
21385         instead of atomic_delay.
21387 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
21389         [BZ #18613]
21390         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
21391         X_ADJ not X when adjusting exponent.
21392         (__ieee754_gamma_r): Do intermediate computations in
21393         round-to-nearest then adjust overflowing and underflowing results
21394         as needed.
21395         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
21396         of X_ADJ not X when adjusting exponent.
21397         (__ieee754_gammaf_r): Do intermediate computations in
21398         round-to-nearest then adjust overflowing and underflowing results
21399         as needed.
21400         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
21401         log of X_ADJ not X when adjusting exponent.
21402         (__ieee754_gammal_r): Do intermediate computations in
21403         round-to-nearest then adjust overflowing and underflowing results
21404         as needed.  Use 1.0L not 1.0f as numerator of division.
21405         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
21406         log of X_ADJ not X when adjusting exponent.
21407         (__ieee754_gammal_r): Do intermediate computations in
21408         round-to-nearest then adjust overflowing and underflowing results
21409         as needed.  Use 1.0L not 1.0f as numerator of division.
21410         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
21411         of X_ADJ not X when adjusting exponent.
21412         (__ieee754_gammal_r): Do intermediate computations in
21413         round-to-nearest then adjust overflowing and underflowing results
21414         as needed.  Use 1.0L not 1.0f as numerator of division.
21415         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
21416         to auto-libm-test-in.
21417         (tgamma_test): Use ALL_RM_TEST.
21418         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
21419         tests of tgamma with spurious-overflow.
21420         * math/auto-libm-test-out: Regenerated.
21421         * math/gen-libm-have-vector-test.sh: Do not check for START.
21422         * sysdeps/i386/fpu/libm-test-ulps: Update.
21423         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21425         [BZ #18612]
21426         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
21427         arguments, just return 0.5 times the argument, with underflow
21428         forced as needed.
21429         * math/auto-libm-test-in: Add more tests of j1.
21430         * math/auto-libm-test-out: Regenerated.
21432         [BZ #16559]
21433         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
21434         (__ieee754_j1): Force underflow exception for small results.
21435         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
21436         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
21437         (__ieee754_j1f): Force underflow exception for small results.
21438         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21439         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21440         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21441         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
21442         (__ieee754_j1l): Force underflow exception for small results.
21443         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21444         * math/auto-libm-test-in: Add more tests of j1 and jn.
21445         * math/auto-libm-test-out: Regenerated.
21447         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
21448         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
21449         (PF_MPLS): Likewise.
21450         (AF_IB): Likewise.
21451         (AF_MPLS): Likewise.
21452         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
21453         value and macro.
21454         (MS_RMT_MASK): Include MS_LAZYTIME.
21456 2015-06-26  Mel Gorman  <mgorman@suse.de>
21458         [BZ #18502]
21459         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
21460         already minimal.
21462 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
21464         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
21465         (DT_MIPS_NUM): Update.
21466         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
21467         DT_MIPS_RLD_MAP_REL.
21469 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
21471         [BZ #16559]
21472         [BZ #18602]
21473         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
21474         round-to-nearest internally then recompute results that
21475         underflowed to zero in the original rounding mode.
21476         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
21477         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
21478         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21479         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
21480         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
21481         * sysdeps/i386/fpu/libm-test-ulps: Update.
21482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21484 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
21486         * NEWS: Fixed description of link with vector math library.
21488 2015-06-25  Andreas Schwab  <schwab@suse.de>
21490         [BZ #18549]
21491         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
21492         * libio/test-fmemopen.c (do_test): Add test for it.
21494 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
21496         [BZ #17841]
21497         * Makeconfig (no-pie-ldflag): New.
21498         (+link): Set to $(+link-pie) if default to PIE.
21499         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
21500         * config.make.in (build-pie-default): New.
21501         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
21502         is default.  AC_SUBST.
21503         * configure: Regenerated.
21504         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
21506 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21508         * nptl/descr.h (struct pthread): Change type of field setxid_futex
21509         to 'unsigned int'.
21511         * resolv/gai_misc.h (struct waitlist): Change type of field
21512         counterp to 'volatile unsigned int *'.
21513         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
21514         FUTEXADDR and OLDVAL.
21515         * resolv/getaddrinfo_a.c (getaddrinfo_a):
21516         Give local variable TOTAL type 'volatile unsigned int'.
21517         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21518         * resolv/gai_suspend.c (gai_suspend):
21519         Give local variable CNTR type 'unsigned int'.
21521         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
21522         counterp to 'volatile unsigned int *'.
21523         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
21524         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
21525         (aio_suspend): Give local variable CNTR type 'unsigned int'.
21526         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
21527         Give local variable TOTAL type 'volatile unsigned int'.
21528         (struct async_waitlist): Change type of field counter to 'unsigned int'.
21530 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21532         [BZ #18383]
21533         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
21534         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
21535         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
21536         comment for i386/x86-64.
21537         (test-xfail-tst-tlsalign-extern-static): Removed.
21539 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21541         * math/test-double.h: New file.
21542         * math/test-float.h: Likewise.
21543         * math/test-ldouble.h: Likewise.
21544         * math/test-math-inline.h: Likewise.
21545         * math/test-math-no-inline.h: Likewise.
21546         * math/test-math-scalar.h: Likewise.
21547         * math/test-math-vector.h: Likewise.
21548         * math/test-vec-loop.h: Remove file.  Contents moved into
21549         test-math-vector.h.
21550         * math/libm-test.inc (MATHCONST): Do not document macro.
21551         * math/test-double.c: Include test-double.h, test-math-no-inline.h
21552         and test-math-scalar.h.
21553         (FUNC): Remove macro.
21554         (FUNC_TEST): Likewise.
21555         (FLOAT): Likewise.
21556         (MATHCONST): Likewise.
21557         (PRINTF_EXPR): Likewise.
21558         (PRINTF_XEXPR): Likewise.
21559         (PRINTF_NEXPR): Likewise.
21560         (TEST_DOUBLE): Likewise.
21561         (TEST_MATHVEC): Likewise.
21562         (__NO_MATH_INLINES): Likewise.
21563         * math/test-float.c: Include test-float.h, test-math-no-inline.h
21564         and test-math-scalar.h.
21565         (FUNC): Remove macro.
21566         (FUNC_TEST): Likewise.
21567         (FLOAT): Likewise.
21568         (MATHCONST): Likewise.
21569         (PRINTF_EXPR): Likewise.
21570         (PRINTF_XEXPR): Likewise.
21571         (PRINTF_NEXPR): Likewise.
21572         (TEST_FLOAT): Likewise.
21573         (TEST_MATHVEC): Likewise.
21574         (__NO_MATH_INLINES): Likewise.
21575         * math/test-idouble.c: Include test-double.h, test-math-inline.h
21576         and test-math-scalar.h.
21577         (FUNC): Remove macro.
21578         (FUNC_TEST): Likewise.
21579         (FLOAT): Likewise.
21580         (MATHCONST): Likewise.
21581         (PRINTF_EXPR): Likewise.
21582         (PRINTF_XEXPR): Likewise.
21583         (PRINTF_NEXPR): Likewise.
21584         (TEST_DOUBLE): Likewise.
21585         (TEST_MATHVEC): Likewise.
21586         (TEST_INLINE): Likewise.
21587         (__NO_MATH_INLINES): Likewise.
21588         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
21589         test-math-scalar.h.
21590         (FUNC): Remove macro.
21591         (FUNC_TEST): Likewise.
21592         (FLOAT): Likewise.
21593         (MATHCONST): Likewise.
21594         (PRINTF_EXPR): Likewise.
21595         (PRINTF_XEXPR): Likewise.
21596         (PRINTF_NEXPR): Likewise.
21597         (TEST_FLOAT): Likewise.
21598         (TEST_MATHVEC): Likewise.
21599         (TEST_INLINE): Likewise.
21600         (__NO_MATH_INLINES): Likewise.
21601         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
21602         and test-math-scalar.h.
21603         (FUNC): Remove macro.
21604         (FUNC_TEST): Likewise.
21605         (FLOAT): Likewise.
21606         (MATHCONST): Likewise.
21607         (PRINTF_EXPR): Likewise.
21608         (PRINTF_XEXPR): Likewise.
21609         (PRINTF_NEXPR): Likewise.
21610         (TEST_LDOUBLE): Likewise.
21611         (TEST_MATHVEC): Likewise.
21612         (TEST_INLINE): Likewise.
21613         (__NO_MATH_INLINES): Likewise.
21614         * math/test-ldouble.c: Include test-ldouble.h,
21615         test-math-no-inline.h and test-math-scalar.h.
21616         (FUNC): Remove macro.
21617         (FUNC_TEST): Likewise.
21618         (FLOAT): Likewise.
21619         (MATHCONST): Likewise.
21620         (PRINTF_EXPR): Likewise.
21621         (PRINTF_XEXPR): Likewise.
21622         (PRINTF_NEXPR): Likewise.
21623         (TEST_LDOUBLE): Likewise.
21624         (TEST_MATHVEC): Likewise.
21625         (__NO_MATH_INLINES): Likewise.
21626         * math/test-double-vlen2.h: Include test-double.h,
21627         test-math-no-inline.h and test-math-vector.h.
21628         (FLOAT): Remove macro.
21629         (FUNC): Likewise.
21630         (MATHCONST): Likewise.
21631         (PRINTF_EXPR): Likewise.
21632         (PRINTF_XEXPR): Likewise.
21633         (PRINTF_NEXPR): Likewise.
21634         (TEST_DOUBLE): Likewise.
21635         (TEST_MATHVEC): Likewise.
21636         (__NO_MATH_INLINES): Likewise.
21637         (CNCT): Likewise.
21638         (CONCAT): Likewise.
21639         (WRAPPER_NAME): Likewise.
21640         (WRAPPER_DECL): Likewise.
21641         (WRAPPER_DECL_ff): Likewise.
21642         (WRAPPER_DECL_fFF): Likewise.
21643         (VECTOR_WRAPPER): Likewise.
21644         (VECTOR_WRAPPER_ff): Likewise.
21645         (VECTOR_WRAPPER_fFF): Likewise.
21646         (VEC_LEN): New macro.
21647         * math/test-double-vlen4.h: Include test-double.h,
21648         test-math-no-inline.h and test-math-vector.h.
21649         (FLOAT): Remove macro.
21650         (FUNC): Likewise.
21651         (MATHCONST): Likewise.
21652         (PRINTF_EXPR): Likewise.
21653         (PRINTF_XEXPR): Likewise.
21654         (PRINTF_NEXPR): Likewise.
21655         (TEST_DOUBLE): Likewise.
21656         (TEST_MATHVEC): Likewise.
21657         (__NO_MATH_INLINES): Likewise.
21658         (CNCT): Likewise.
21659         (CONCAT): Likewise.
21660         (WRAPPER_NAME): Likewise.
21661         (WRAPPER_DECL): Likewise.
21662         (WRAPPER_DECL_ff): Likewise.
21663         (WRAPPER_DECL_fFF): Likewise.
21664         (VECTOR_WRAPPER): Likewise.
21665         (VECTOR_WRAPPER_ff): Likewise.
21666         (VECTOR_WRAPPER_fFF): Likewise.
21667         (VEC_LEN): New macro.
21668         * math/test-double-vlen8.h: Include test-double.h,
21669         test-math-no-inline.h and test-math-vector.h.
21670         (FLOAT): Remove macro.
21671         (FUNC): Likewise.
21672         (MATHCONST): Likewise.
21673         (PRINTF_EXPR): Likewise.
21674         (PRINTF_XEXPR): Likewise.
21675         (PRINTF_NEXPR): Likewise.
21676         (TEST_DOUBLE): Likewise.
21677         (TEST_MATHVEC): Likewise.
21678         (__NO_MATH_INLINES): Likewise.
21679         (CNCT): Likewise.
21680         (CONCAT): Likewise.
21681         (WRAPPER_NAME): Likewise.
21682         (WRAPPER_DECL): Likewise.
21683         (WRAPPER_DECL_ff): Likewise.
21684         (WRAPPER_DECL_fFF): Likewise.
21685         (VECTOR_WRAPPER): Likewise.
21686         (VECTOR_WRAPPER_ff): Likewise.
21687         (VECTOR_WRAPPER_fFF): Likewise.
21688         (VEC_LEN): New macro.
21689         * math/test-float-vlen4.h: Include test-float.h,
21690         test-math-no-inline.h and test-math-vector.h.
21691         (FLOAT): Remove macro.
21692         (FUNC): Likewise.
21693         (MATHCONST): Likewise.
21694         (PRINTF_EXPR): Likewise.
21695         (PRINTF_XEXPR): Likewise.
21696         (PRINTF_NEXPR): Likewise.
21697         (TEST_FLOAT): Likewise.
21698         (TEST_MATHVEC): Likewise.
21699         (__NO_MATH_INLINES): Likewise.
21700         (CNCT): Likewise.
21701         (CONCAT): Likewise.
21702         (WRAPPER_NAME): Likewise.
21703         (WRAPPER_DECL): Likewise.
21704         (WRAPPER_DECL_ff): Likewise.
21705         (WRAPPER_DECL_fFF): Likewise.
21706         (VECTOR_WRAPPER): Likewise.
21707         (VECTOR_WRAPPER_ff): Likewise.
21708         (VECTOR_WRAPPER_fFF): Likewise.
21709         (VEC_LEN): New macro.
21710         * math/test-float-vlen8.h: Include test-float.h,
21711         test-math-no-inline.h and test-math-vector.h.
21712         (FLOAT): Remove macro.
21713         (FUNC): Likewise.
21714         (MATHCONST): Likewise.
21715         (PRINTF_EXPR): Likewise.
21716         (PRINTF_XEXPR): Likewise.
21717         (PRINTF_NEXPR): Likewise.
21718         (TEST_FLOAT): Likewise.
21719         (TEST_MATHVEC): Likewise.
21720         (__NO_MATH_INLINES): Likewise.
21721         (CNCT): Likewise.
21722         (CONCAT): Likewise.
21723         (WRAPPER_NAME): Likewise.
21724         (WRAPPER_DECL): Likewise.
21725         (WRAPPER_DECL_ff): Likewise.
21726         (WRAPPER_DECL_fFF): Likewise.
21727         (VECTOR_WRAPPER): Likewise.
21728         (VECTOR_WRAPPER_ff): Likewise.
21729         (VECTOR_WRAPPER_fFF): Likewise.
21730         (VEC_LEN): New macro.
21731         * math/test-float-vlen16.h: Include test-float.h,
21732         test-math-no-inline.h and test-math-vector.h.
21733         (FLOAT): Remove macro.
21734         (FUNC): Likewise.
21735         (MATHCONST): Likewise.
21736         (PRINTF_EXPR): Likewise.
21737         (PRINTF_XEXPR): Likewise.
21738         (PRINTF_NEXPR): Likewise.
21739         (TEST_FLOAT): Likewise.
21740         (TEST_MATHVEC): Likewise.
21741         (__NO_MATH_INLINES): Likewise.
21742         (CNCT): Likewise.
21743         (CONCAT): Likewise.
21744         (WRAPPER_NAME): Likewise.
21745         (WRAPPER_DECL): Likewise.
21746         (WRAPPER_DECL_ff): Likewise.
21747         (WRAPPER_DECL_fFF): Likewise.
21748         (VECTOR_WRAPPER): Likewise.
21749         (VECTOR_WRAPPER_ff): Likewise.
21750         (VECTOR_WRAPPER_fFF): Likewise.
21751         (VEC_LEN): New macro.
21752         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
21753         test-vec-loop.h.
21754         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21755         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21756         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21757         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21758         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21759         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21760         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
21762 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21764         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
21765         (__getlogin_r): ... this.
21767 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21769         [BZ #18594]
21770         * math/s_ccosh.c (__ccosh): Compare with least normal value
21771         instead of comparing class with FP_SUBNORMAL.
21772         * math/s_ccoshf.c (__ccoshf): Likewise.
21773         * math/s_ccoshl.c (__ccoshl): Likewise.
21774         * math/s_cexp.c (__cexp): Likewise.
21775         * math/s_cexpf.c (__cexpf): Likewise.
21776         * math/s_cexpl.c (__cexpl): Likewise.
21777         * math/s_csin.c (__csin): Likewise.
21778         * math/s_csinf.c (__csinf): Likewise.
21779         * math/s_csinh.c (__csinh): Likewise.
21780         * math/s_csinhf.c (__csinhf): Likewise.
21781         * math/s_csinhl.c (__csinhl): Likewise.
21782         * math/s_csinl.c (__csinl): Likewise.
21783         * math/s_ctan.c (__ctan): Likewise.
21784         * math/s_ctanf.c (__ctanf): Likewise.
21785         * math/s_ctanh.c (__ctanh): Likewise.
21786         * math/s_ctanhf.c (__ctanhf): Likewise.
21787         * math/s_ctanhl.c (__ctanhl): Likewise.
21788         * math/s_ctanl.c (__ctanl): Likewise.
21789         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
21790         csin, csinh, ctan and ctanh.
21791         * math/auto-libm-test-out: Regenerated.
21792         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
21793         * sysdeps/i386/fpu/libm-test-ulps: Update.
21794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21796 2015-06-24  Roland McGrath  <roland@hack.frob.com>
21798         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
21799         return value is wrong, print the expected value too.
21801 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
21803         [BZ #18585]
21804         * elf/readlib.c (is_gdb_python_file): New.
21805         (process_file): Don't issue errors on filenames with -gdb.py
21806         suffix.
21808 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
21810         * math/auto-libm-test-in: Add more tests of csin and csinh.
21811         * math/auto-libm-test-out: Regenerated.
21812         * math/libm-test.inc (csin_test_data): Remove tests moved to
21813         auto-libm-test-in.
21814         (csinh_test_data): Likewise.
21816         [BZ #18593]
21817         * math/s_csin.c (__csin): Negate before rather than after possibly
21818         overflowing multiplication.
21819         * math/s_csinf.c (__csinf): Likewise.
21820         * math/s_csinh.c (__csinh): Likewise.
21821         * math/s_csinhf.c (__csinhf): Likewise.
21822         * math/s_csinhl.c (__csinhl): Likewise.
21823         * math/s_csinl.c (__csinl): Likewise.
21824         * math/auto-libm-test-in: Add some tests of csin and csinh.
21825         * math/auto-libm-test-out: Regenerated.
21826         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
21827         (csinh_test_data): Likewise.
21828         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21830         [BZ #18586]
21831         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
21832         underflow exception for small results.
21834 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
21836         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21837         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
21838         variable and included header.
21839         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
21840         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
21841         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
21842         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
21843         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
21844         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
21845         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
21846         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
21847         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
21848         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
21849         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
21850         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
21851         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
21852         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
21853         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
21854         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
21856 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21858         [BZ #16526]
21859         [BZ #16538]
21860         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
21861         (__sin): Force underflow exception for arguments with small
21862         absolute value.
21863         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
21864         (__kernel_sinf): Force underflow exception for arguments with
21865         small absolute value.
21866         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
21867         (__kernel_sincosl): Force underflow exception for arguments with
21868         small absolute value.
21869         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
21870         (__kernel_sinl): Force underflow exception for arguments with
21871         small absolute value.
21872         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
21873         (__kernel_sincosl): Force underflow exception for arguments with
21874         small absolute value.
21875         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
21876         (__kernel_sinl): Force underflow exception for arguments with
21877         small absolute value.
21878         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
21879         (__kernel_sinl): Force underflow exception for arguments with
21880         small absolute value.
21881         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
21882         (__kernel_sinf): Force underflow exception for arguments with
21883         small absolute value.
21884         * math/auto-libm-test-in: Add more tests of sin and sincos.
21885         * math/auto-libm-test-out: Regenerated.
21887         [BZ #18245]
21888         [BZ #18583]
21889         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
21890         (__kernel_standard_l): Use feholdexcept and fesetenv around
21891         conversion to double instead of special-casing overflow and
21892         underflow.
21893         * math/libm-test.inc (fmod_test_data): Add more tests.
21894         (remainder_test_data): Likewise.
21895         (sqrt_test_data): Likewise.
21897 2015-06-23  Torvald Riegel  <triegel@redhat.com>
21899         [BZ #17403]
21900         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
21901         atomic_read_barrier, atomic_write_barrier): Define.
21902         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
21903         atomic_read_barrier, atomic_write_barrier): Define.
21905 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21907         * math/Makefile [$(PERL) != no]
21908         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
21909         dependency on libm-test.stmp below the inclusion of Rules.
21911 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
21913         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
21914         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
21915         and included header.
21916         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
21917         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
21918         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
21919         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
21920         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
21921         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
21922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
21923         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
21924         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
21925         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
21926         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
21927         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
21928         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
21929         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
21930         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
21931         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
21932         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
21933         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
21934         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
21936 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
21938         [BZ #18371]
21939         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
21940         intermediate but not final result might underflow.
21941         * math/s_csqrtf.c (__csqrtf): Likewise.
21942         * math/s_csqrtl.c (__csqrtl): Likewise.
21943         * math/auto-libm-test-in: Add more tests of csqrt.
21944         * math/auto-libm-test-out: Regenerated.
21945         * sysdeps/i386/fpu/libm-test-ulps: Update.
21947         [BZ #18219]
21948         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
21949         threshold on absolute value of exponent for which scaling is used.
21950         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21951         * math/auto-libm-test-in: Add more tests of exp2.
21952         * math/auto-libm-test-out: Regenerated.
21954 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
21956         [BZ #17977]
21957         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
21958         when initializing interface list, based on the bug analysis
21959         and the patch proposed by Eric Newton.
21960         * resolv/tst-res_hconf_reorder.c: New test.
21961         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
21962         tst-res_hconf_reorder.
21963         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
21964         and $(shared-thread-library).
21965         (tst-res_hconf_reorder-ENV): New variable.
21967         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
21968         in comment.
21970 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
21972         [BZ #16353]
21973         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
21974         (__expm1): Force underflow exception for arguments with small
21975         absolute value.
21976         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
21977         (__expm1f): Force underflow exception for arguments with small
21978         absolute value.
21979         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
21980         (__expm1): Force underflow exception for arguments with small
21981         absolute value.
21982         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
21983         (__expm1f): Force underflow exception for arguments with small
21984         absolute value.
21985         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
21986         Check for small arguments before calling __expm1.
21987         * math/auto-libm-test-in: Do not mark underflow exceptions as
21988         possibly missing for bug 16353.
21989         * math/auto-libm-test-out: Regenerated.
21991 2015-06-22  Andreas Schwab  <schwab@suse.de>
21993         [BZ #18513]
21994         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
21995         PTR queries.
21997 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
21999         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
22001         * string/strcoll_l.c: Remove unused struct element idxnow.
22003 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
22005         [BZ #18569]
22006         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
22007         underflow and return argument in case of subnormal argument.
22008         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
22009         Likewise.
22010         * math/auto-libm-test-in: Add more tests of expm1.
22011         * math/auto-libm-test-out: Regenerated.
22013         [BZ #16361]
22014         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22015         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22016         tiny results.
22017         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
22018         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
22019         tiny results.
22020         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
22021         mark underflow exceptions as possibly missing for bug 16361.
22022         * math/auto-libm-test-out: Regenerated.
22024 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
22026         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
22027         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
22028         Remove variable.
22029         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
22030         (test-xfail-XOPEN2K8/utmpx.h/conform).
22032         * conform/conformtest.pl ($xerrors): New variable.
22033         (note_error): New function.
22034         (compiletest): New argument $xfail.  Use not_error.
22035         (runtest): Likewise.
22036         (top level): Handle xfail- lines.  Update calls to compiletest and
22037         runtest.  Handle xfail- and optional- in headers listed with
22038         allow-header.
22039         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
22040         (O_EXEC): Likewise.
22041         (O_SEARCH): Likewise.
22042         * conform/data/stropts.h-data (ioctl): Likewise.
22043         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
22044         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
22045         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
22046         (msghdr.msg_controllen): Likewise.
22047         (cmsghdr.cmsg_len): Likewise.
22048         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
22049         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
22050         variable.
22051         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
22052         (test-xfail-XPG4/stropts.h/conform): Likewise.
22053         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
22054         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
22055         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
22056         (test-xfail-UNIX98/stropts.h/conform): Likewise.
22057         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
22058         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
22059         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
22060         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
22061         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
22062         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
22063         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
22064         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
22065         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
22066         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
22067         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
22068         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
22069         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
22070         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
22071         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
22073 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22075         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
22076         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
22077         definitions for proper unfolding of __MATHDECL_VEC.
22079 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22081         * benchtests/bench-strcoll.c:
22082         Include string.h.
22083         (main): Remove unused variable res.
22085 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22087         * timezone/Makefile (%/UTC %/Universal):
22088         Generate test-result files for UTC and Universal.
22090 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
22092         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
22094 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
22096         [BZ #16350]
22097         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
22098         for arguments with small absolute value.
22099         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
22100         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
22101         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
22102         (__asinh): Force underflow exception for arguments with small
22103         absolute value.
22104         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
22105         (__asinhf): Force underflow exception for arguments with small
22106         absolute value.
22107         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
22108         (__asinhl): Force underflow exception for arguments with small
22109         absolute value.
22110         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
22111         (__asinhl): Force underflow exception for arguments with small
22112         absolute value.
22113         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
22114         (__asinhl): Force underflow exception for arguments with small
22115         absolute value.
22116         * math/auto-libm-test-in: Do not mark underflow exceptions as
22117         possibly missing for bug 16350.
22118         * math/auto-libm-test-out: Regenerated.
22120         * include/bits/ipc.h: Remove file.
22121         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
22122         variable.
22123         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
22124         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
22125         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
22126         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
22127         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
22128         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
22129         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
22130         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
22131         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
22133         * math/auto-libm-test-in: Remove spurious underflow allowance for
22134         tests of cexp.
22135         * math/auto-libm-test-out: Regenerated.
22137         [BZ #18558]
22138         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
22139         unconditional definition.
22140         (MCAST_BLOCK_SOURCE): Likewise.
22141         (MCAST_UNBLOCK_SOURCE): Likewise.
22142         (MCAST_LEAVE_GROUP): Likewise.
22143         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22144         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22145         (MCAST_MSFILTER): Likewise.
22146         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
22147         Remove variable.
22148         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
22149         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
22150         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
22151         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22152         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
22154 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
22156         * NEWS: Mention addition of x86_64 vector sincosf.
22157         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
22158         * math/test-float-vlen4.h: Likewise.
22159         * math/test-float-vlen8.h: Likewise.
22160         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22161         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
22162         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22163         * sysdeps/x86_64/fpu/Versions: New versions added.
22164         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22165         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22166         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22167         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
22168         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
22169         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
22170         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
22171         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
22172         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
22173         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
22174         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
22175         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
22176         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
22177         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
22178         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
22179         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
22180         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
22181         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
22182         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22183         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22184         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22185         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22186         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22187         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22189         * NEWS: Mention addition of x86_64 vector sincos.
22190         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
22191         * math/math.h (__MATHDECL_VEC): New macro.
22192         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
22193         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
22194         declaration under condition.
22195         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
22196         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
22197         TEST_VEC_LOOP change.
22198         * math/test-double-vlen4.h: Likewise.
22199         * math/test-double-vlen8.h: Likewise.
22200         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
22201         * math/test-float-vlen4.h: Likewise.
22202         * math/test-float-vlen8.h: Likewise.
22203         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22204         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
22205         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22206         * sysdeps/x86_64/fpu/Versions: New versions added.
22207         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22208         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22209         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22210         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
22211         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
22212         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
22213         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
22214         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
22215         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
22216         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
22217         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
22218         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
22219         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
22220         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
22221         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
22222         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
22223         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
22224         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22225         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22226         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22227         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22228         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22229         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22230         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22232         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22233         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22234         redirections for powf.
22235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22236         * sysdeps/x86_64/fpu/Versions: New versions added.
22237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22239         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22240         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
22241         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
22242         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
22243         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
22244         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
22245         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
22246         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
22247         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
22248         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
22249         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
22250         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
22251         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
22252         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
22253         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
22254         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22255         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22256         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22257         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22258         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22259         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22260         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22261         * math/test-float-vlen16.h: Fixed 2 argument macro.
22262         * math/test-float-vlen4.h: Likewise.
22263         * math/test-float-vlen8.h: Likewise.
22264         * NEWS: Mention addition of x86_64 vector powf.
22266 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
22268         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22269         and redefine.
22270         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22271         and redefine.
22272         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
22273         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22274         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22276         [BZ #18553]
22277         * resource/getpriority.c (getpriority): Rename to __getpriority
22278         and define as weak alias of __getpriority.
22279         * resource/setpriority.c (setpriority): Rename to __setpriority
22280         and define as weak alias of __setpriority.
22281         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
22282         __getpriority and define as weak alias of __getpriority.
22283         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
22284         __setpriority and define as weak alias of __setpriority.
22285         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
22286         strong name.
22287         (setpriority): Use __setpriority as strong name.
22288         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
22289         __getpriority and define as weak alias of __getpriority.
22290         * include/sys/resource.h (__getpriority): Declare.  Use
22291         libc_hidden_proto.
22292         (__setpriority): Likewise.
22293         (getpriority): Don't use libc_hidden_proto.
22294         (setpriority): Likewise.
22295         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
22296         getpriority.  Call __setpriority instead of setpriority.
22297         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
22298         Remove variable.
22300         [BZ #18547]
22301         * misc/getttyent.c (getttynam): Rename to __getttynam and define
22302         as weak alias of __getttynam.  Use prototype function definition.
22303         Call __setttyent, __getttyent and __endttyent instead of
22304         setttyent, getttyent and endttyent.
22305         (getttyent): Rename to __getttyent and define as weak alias of
22306         __getttyent.  Call __setttyent instead of setttyent.  Call
22307         __fgets_unlocked instead of fgets_unlocked.
22308         (setttyent): Rename to __setttyent and define as weak alias of
22309         __setttyent.
22310         (endttyent): Rename to __endttyent and define as weak alias of
22311         __endttyent.
22312         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
22313         (__setttyent): Likewise.
22314         (__endttyent): Likewise.
22315         (getttyent): Don't use libc_hidden_proto.
22316         (setttyent): Likewise.
22317         (endttyent): Likewise.
22318         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
22319         __endttyent instead of setttyent, getttyent and endttyent.
22320         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
22321         Remove variable.
22323         [BZ #18546]
22324         * socket/recv.c (__recv): Use libc_hidden_def.
22325         * socket/socket.c (__socket): Likewise.
22326         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
22327         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
22328         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
22329         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
22330         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
22331         libc_hidden_def.
22332         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
22333         libc_hidden_weak.
22334         * include/sys/socket.h (__socket): Do not use attribute_hidden.
22335         Use libc_hidden_proto.
22336         (__recv): Likewise.
22337         * socket/Versions (libc): Export __recv and __socket at version
22338         GLIBC_PRIVATE.
22339         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
22340         instead of recv.
22341         (init_mq_netlink): Call __socket instead of socket.
22342         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
22343         Remove variable.
22345         [BZ #18545]
22346         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
22347         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
22348         hidden_weak.
22349         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
22350         define as alias of __mq_timedsend.  Use hidden_weak.
22351         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
22352         __mq_timedsend as strong name.
22353         (mq_timedreceive): Use __mq_timedreceive as strong name.
22354         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
22355         (__mq_timedreceive): Likewise.
22356         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
22357         __mq_timedreceive instead of mq_timedreceive.
22358         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
22359         instead of mq_timedsend.
22360         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
22361         Remove variable.
22363         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
22364         hidden_def and hidden_weak instead of libc_hidden_def and
22365         libc_hidden_weak.
22366         (top level): Refer to hidden_def in comment.
22367         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
22368         macro.  Use it instead of libc_hidden_def.
22369         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
22370         specify __GI_* name explicitly.
22371         (mq_timedreceive): Likewise.
22372         (mq_setattr): Likewise.
22374         [BZ #18544]
22375         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
22376         __pthread_barrier_init and define as weak alias of
22377         __pthread_barrier_init.
22378         * sysdeps/sparc/nptl/pthread_barrier_init.c
22379         (pthread_barrier_init): Likewise.
22380         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
22381         __pthread_barrier_wait and define as weak alias of
22382         __pthread_barrier_wait.
22383         * sysdeps/sparc/nptl/pthread_barrier_wait.c
22384         (pthread_barrier_wait): Likewise.
22385         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
22386         (pthread_barrier_wait): Likewise.
22387         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
22388         (pthread_barrier_wait): Likewise.
22389         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
22390         (pthread_barrier_wait): Likewise.
22391         * nptl/Versions (libpthread): Export __pthread_barrier_init and
22392         __pthread_barrier_wait at version GLIBC_PRIVATE.
22393         * include/pthread.h (__pthread_barrier_init): Declare.
22394         (__pthread_barrier_wait): Likewise.
22395         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
22396         Call __pthread_barrier_wait instead of pthread_barrier_wait.
22397         (helper_thread): Likewise.
22398         (init_mq_netlink): Call __pthread_barrier_init instead of
22399         pthread_barrier_init.
22401         [BZ #18542]
22402         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
22403         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
22404         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
22405         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
22406         vswscanf.
22407         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
22408         Remove variable.
22410         [BZ #18540]
22411         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
22412         strong alias of _IO_fflush.  Use libc_hidden_def.
22413         * libio/iofflush_u.c (fflush_unlocked): Rename to
22414         __fflush_unlocked and define as weak alias of __fflush_unlocked.
22415         Use libc_hidden_weak.
22416         * include/stdio.h (__fflush_unlocked): Declare.  Use
22417         libc_hidden_proto.
22418         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
22419         fflush_unlocked.
22420         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
22421         Remove variable.
22423         [BZ #18539]
22424         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
22425         define as weak alias of __addseverity.
22426         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
22427         Remove variable.
22428         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
22429         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
22430         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
22432         [BZ #18536]
22433         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
22434         (__tfind): Likewise.
22435         (__tdelete): Likewise.
22436         (__twalk): Likewise.
22437         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
22438         __twalk to GLIBC_PRIVATE.
22439         * include/search.h (__tsearch): Use libc_hidden_proto.
22440         (__tfind): Likewise.
22441         (__tdelete): Likewise.
22442         (__twalk): Likewise.
22443         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
22444         Call __tdelete instead of tdelete.
22445         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
22446         tfind.  Call __tsearch instead of tsearch.
22447         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
22448         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
22449         Remove variable.
22450         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
22452         [BZ #18534]
22453         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
22454         (dprintf): Define as a weak alias of __dprintf, not a strong
22455         alias.
22456         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
22457         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
22458         dprintf.
22459         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
22460         Remove variable.
22461         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
22462         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
22464         [BZ #18533]
22465         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
22466         not a strong alias.
22467         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
22468         Remove variable.
22470         [BZ #18532]
22471         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
22472         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
22473         (in6addr_loopback): Rename to __in6addr_loopback and define as
22474         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
22475         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
22476         libc_hidden_proto.
22477         (__in6addr_any): Likewise.
22478         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
22479         in6addr_any.
22480         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
22481         variable.
22482         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
22484 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
22486         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
22487         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
22488         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22489         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22490         redirections for pow.
22491         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22492         * sysdeps/x86_64/fpu/Versions: New versions added.
22493         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22494         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22495         build of SSE, AVX2 and AVX512 IFUNC versions.
22496         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
22497         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
22498         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
22499         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
22500         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
22501         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
22502         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
22503         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
22504         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
22505         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
22506         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
22507         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
22508         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
22509         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
22510         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22511         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22512         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22513         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22514         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22515         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22516         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22517         * NEWS: Mention addition of x86_64 vector pow.
22519         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22520         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22521         redirections for expf.
22522         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22523         * sysdeps/x86_64/fpu/Versions: New versions added.
22524         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22525         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22526         build of SSE, AVX2 and AVX512 IFUNC versions.
22527         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
22528         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
22529         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
22530         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
22531         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
22532         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
22533         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
22534         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
22535         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
22536         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
22537         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
22538         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
22539         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
22540         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22541         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22542         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22543         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22544         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22545         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22546         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22547         * NEWS: Mention addition of x86_64 vector expf.
22549         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
22550         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
22551         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22552         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22553         redirections for exp.
22554         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22555         * sysdeps/x86_64/fpu/Versions: New versions added.
22556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22557         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22558         build of SSE, AVX2 and AVX512 IFUNC versions.
22559         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
22560         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
22561         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
22562         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
22563         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
22564         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
22565         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
22566         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
22567         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
22568         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
22569         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
22570         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
22571         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
22572         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22573         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22574         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22575         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22576         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22577         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22578         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22579         * NEWS: Mention addition of x86_64 vector exp.
22581         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22582         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22583         redirections for logf.
22584         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22585         * sysdeps/x86_64/fpu/Versions: New versions added.
22586         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22587         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22588         build of SSE, AVX2 and AVX512 IFUNC versions.
22589         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
22590         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
22591         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
22592         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
22593         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
22594         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
22595         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
22596         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
22597         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
22598         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
22599         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
22600         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
22601         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
22602         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22603         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22604         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22605         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22606         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22607         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22608         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22609         * NEWS: Mention addition of x86_64 vector logf.
22611         * bits/libm-simd-decl-stubs.h: Added stubs for log.
22612         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
22613         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22614         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
22615         redirections for log.
22616         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22617         * sysdeps/x86_64/fpu/Versions: New versions added.
22618         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22619         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22620         build of SSE, AVX2 and AVX512 IFUNC versions.
22621         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
22622         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
22623         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
22624         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
22625         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
22626         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
22627         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
22628         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
22629         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
22630         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
22631         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
22632         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
22633         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
22634         test.
22635         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22636         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22637         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22638         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22639         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22640         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22641         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22642         * NEWS: Mention addition of x86_64 vector log.
22644 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22646         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
22647         cfi_adjust_cfa_offset argument.
22648         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
22649         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
22651         [BZ #18034]
22652         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
22653         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
22654         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
22655         ordering using ldar.
22656         (_dl_tlsdesc_dynamic): Likewise.
22657         (_dl_tlsdesc_return_lazy): Likewise.
22658         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
22659         relaxed atomics instead of volatile and synchronize with release store.
22660         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
22661         volatile.
22662         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22664 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
22666         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
22667         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
22668         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22669         * sysdeps/x86_64/fpu/Versions: New versions added.
22670         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22671         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
22672         build of SSE, AVX2 and AVX512 IFUNC versions.
22673         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
22674         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
22675         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
22676         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
22677         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
22678         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
22679         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
22680         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
22681         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
22682         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
22683         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
22684         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
22685         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
22686         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
22687         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
22688         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
22689         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
22690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
22691         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
22692         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
22693         * NEWS: Mention addition of x86_64 vector sinf.
22695 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
22697         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
22698         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
22699         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
22700         Remove variable.
22701         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
22702         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
22704 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22706         [BZ #18530]
22707         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
22708         strong alias of _IO_fputs.  Use libc_hidden_def.
22709         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
22710         and define as weak alias of __fputs_unlocked.  Use
22711         libc_hidden_weak.
22712         * include/stdio.h (__fputs_unlocked): Declare.  Use
22713         libc_hidden_proto.
22714         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
22715         fputs_unlocked.
22717         [BZ #18529]
22718         * resolv/netdb.h [__USE_POSIX]: Change condition to
22719         [__USE_XOPEN2K].
22720         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
22721         not expect.
22722         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
22723         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
22724         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
22725         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
22726         [XPG4 || UNIX98] (AI_ALL): Likewise.
22727         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
22728         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
22729         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
22730         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
22731         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
22732         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
22733         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
22734         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
22735         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
22736         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
22737         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
22738         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
22739         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
22740         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
22741         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
22742         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22743         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
22744         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
22745         [XPG4 || UNIX98] (gai_strerror): Likewise.
22746         [XPG4 || UNIX98] (getaddrinfo): Likewise.
22747         [XPG4 || UNIX98] (getnameinfo): Likewise.
22749         [BZ #18528]
22750         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
22751         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
22752         __USE_XOPEN2K8].
22753         (getgrent): Likewise.
22754         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
22755         expect.
22756         [XPG3 || POSIX2008] (endgrent): Likewise.
22757         [XPG3] (setgrent): Likewise.
22758         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
22759         variable.
22760         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
22762         [BZ #18527]
22763         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
22764         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
22765         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
22766         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
22767         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
22768         * include/unistd.h (__getlogin_r): Declare.  Use
22769         libc_hidden_proto.
22770         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
22771         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
22772         variable.
22773         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
22774         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
22775         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
22777 2015-06-12  Martin Sebor  <msebor@redhat.com>
22779         [BZ #18512]
22780         * Makerules (check-install-supported): New target.
22781         (install): Add check-install-supported as a dependency.
22782         * manual/install.texi (Installing the C Library): Document
22783         that overriding prefix and exec_prefix is not supported.
22784         Mention DESTDIR.
22785         * INSTALL: Regenerate from the above.
22787 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
22789         [BZ #18519]
22790         * posix/Versions (libc): Export __libc_pread at version
22791         GLIBC_PRIVATE.
22792         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
22793         instead of pread.
22794         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
22795         variable.
22797         [BZ #18522]
22798         * misc/efgcvt_r.c
22799         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
22800         (cvt_symbol): Use weak_alias instead of strong_alias.
22801         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
22802         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
22803         Remove variable.
22804         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
22805         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
22807         [BZ #18520]
22808         * inet/herrno.c (h_errno): Rename to __h_errno.
22809         (__libc_h_errno): Define as alias of __h_errno not h_errno.
22810         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
22811         to __h_errno instead of h_errno.
22812         * nptl/herrno.c (h_errno): Rename to __h_errno.
22813         (__h_errno_location): Refer to __h_errno not h_errno.
22814         * resolv/Versions (h_errno): Rename to __h_errno.
22815         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
22816         Remove variable.
22817         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
22819 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
22821         * configure.ac: More strict check for AVX512 assembler support.
22822         * configure: Regenerated.
22824         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
22825         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
22826         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
22827         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
22828         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
22829         * sysdeps/x86_64/fpu/Versions: New versions added.
22830         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22831         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22832         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22833         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
22834         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
22835         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
22836         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
22837         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
22838         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
22839         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
22840         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
22841         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
22842         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
22843         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
22844         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
22845         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
22846         test.
22847         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
22848         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
22849         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
22850         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
22851         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
22852         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
22853         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
22854         * NEWS: Mention addition of x86_64 vector sin.
22856 2015-06-11  Florian Weimer  <fweimer@redhat.com>
22858         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
22859         comment.
22861 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
22863         [BZ #18479]
22864         * nptl/pt-interp.c: New file.
22865         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
22866         Add pt-interp.
22867         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
22868         $(common-objpfx)runtime-linker.h.
22870 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
22872         * Makeconfig (+interp): Remove unused variable.
22873         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
22874         only.  Depend on $(common-objpfx)runtime-linker.h instead of
22875         $(elf-objpfx)runtime-linker.h.
22876         ($(elf-objpfx)runtime-linker.h): Rename to
22877         $(common-objpfx)runtime-linker.h and move ...
22878         * Makerules [$(build-shared) = yes]: ... here.
22879         * elf/interp.c: Include <runtime-linker.h> instead of
22880         <elf/runtime-linker.h>.
22882 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22884         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
22885         (__gettimeofday_syscall): Remove vsyscall fallback.
22886         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
22887         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
22888         Add syscall fallback function.
22889         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
22890         if vDSO is not present.
22891         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
22892         fallback function.
22893         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
22894         present.
22895         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
22896         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
22898 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
22900         [BZ #18497]
22901         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
22902         of wcscmp.
22903         (wcscmp): Define as weak alias of WCSCMP.
22904         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
22905         wcscoll.
22906         (USE_HIDDEN_DEF): Define.
22907         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
22908         __wcscoll.  Don't use libc_hidden_weak.
22909         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
22910         wcscmp.
22911         * sysdeps/i386/i686/multiarch/wcscmp-c.c
22912         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
22913         __GI_wcscmp.
22914         (weak_alias): Undefine and redefine.
22915         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
22916         __wcscmp and define as weak alias of __wcscmp.
22917         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
22918         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
22919         (__wcscoll): Likewise.
22920         (wcscmp): Don't use libc_hidden_proto.
22921         (wcscoll): Likewise.
22922         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
22923         wcscoll.
22924         * posix/regexec.c (check_node_accept_bytes): Likewise.
22925         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
22926         variable.
22927         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
22928         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
22930         [BZ #18507]
22931         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
22932         __fstatvfs and define as weak alias of __fstatvfs.  Use
22933         libc_hidden_weak.
22934         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
22935         and define as weak alias of __statvfs.  Use libc_hidden_weak.
22936         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
22937         Define as alias of __fstatvfs, not fstatvfs.
22938         (fstatvfs64): Likewise.
22939         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
22940         Define as alias of __statvfs, not statvfs.
22941         (statvfs64): Likewise.
22942         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
22943         Remove variable.
22945 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22948         (HAVE_GETCPU_VSYSCALL): Define.
22949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22950         (HAVE_GETCPU_VSYSCALL): Likewise.
22951         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
22952         * sysdeps/unix/sysv/linux/sched_getcpu.c
22953         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
22954         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
22955         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
22956         prototype.
22957         * sysdeps/unix/sysv/linux/x86_64/init-first.c
22958         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
22959         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
22960         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
22961         Define.
22962         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
22963         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
22964         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
22965         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22967 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
22969         * sysdeps/x86_64/fpu/Makefile: New file.
22970         * sysdeps/x86_64/fpu/Versions: New file.
22971         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
22972         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
22973         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
22974         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
22975         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
22976         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
22977         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
22978         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
22979         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
22980         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
22981         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
22982         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
22983         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
22984         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
22985         Added build of SSE, AVX2 and AVX512 IFUNC versions.
22986         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
22987         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
22988         * sysdeps/x86_64/configure.ac: Options for libmvec build.
22989         * sysdeps/x86_64/configure: Regenerated.
22990         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
22991         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
22992         * manual/install.texi (Configuring and compiling): Document
22993         --disable-mathvec.
22994         * INSTALL: Regenerated.
22995         * NEWS: Mention addition of libmvec and x86_64 vector cos.
22997         * math/Makefile: Added rules for vector tests.
22998         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
22999         declaration under condition.
23000         * math/test-double-vlen2.h: New file.
23001         * math/test-double-vlen4.h: New file.
23002         * math/test-double-vlen8.h: New file.
23003         * math/test-vec-loop.h: Added initialization macro.
23004         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
23005         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
23006         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
23007         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
23008         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
23009         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
23010         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
23011         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
23012         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
23013         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
23014         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
23016         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
23017         * sysdeps/x86_64/fpu/Versions: New versions added.
23018         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
23019         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
23020         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
23021         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
23022         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
23023         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
23024         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
23025         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
23026         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
23027         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
23028         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
23029         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
23030         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
23031         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
23032         Added build of SSE, AVX2 and AVX512 IFUNC versions.
23033         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
23034         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
23035         * NEWS: Mention addition of x86_64 vector cosf.
23037         * math/Makefile: Added CFLAGS for new tests.
23038         * math/test-float-vlen16.h: New file.
23039         * math/test-float-vlen4.h: New file.
23040         * math/test-float-vlen8.h: New file.
23041         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
23042         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
23043         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
23044         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
23045         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
23046         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
23047         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
23048         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
23049         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
23050         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
23051         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
23053 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
23055         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
23056         * locale/programs/ld-ctype.c: Likewise.
23058 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
23060         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
23061         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
23062         bit_ZMM16_31_state): New macro.
23063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23064         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
23066 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
23068         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
23070 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
23072         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
23074 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
23076         [BZ #18498]
23077         * libio/memstream.c (open_memstream): Rename to __open_memstream
23078         and define as weak alias of __open_memstream.
23079         * include/stdio.h (__open_memstream): Declare.  Use
23080         libc_hidden_proto.
23081         (open_memstream): Don't use libc_hidden_proto.
23082         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
23083         open_memstream.
23084         * posix/getopt.c (_getopt_internal_r): Likewise.
23085         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
23086         variable.
23087         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
23088         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
23089         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
23091         [BZ #18496]
23092         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
23093         instead of wcrtomb.
23095         [BZ #18483]
23096         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
23097         [__USE_XOPEN2K8].  Remove redundant #endif.
23098         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
23099         Remove redundant #if.
23100         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
23101         Remove variable.
23102         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
23103         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
23105         [BZ #18495]
23106         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
23107         (__iswlower): Likewise.
23108         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
23109         (__iswlower): Likewise.
23110         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
23111         instead of towlower.
23112         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
23113         instead of iswlower.  Call __towupper instead of towupper.
23114         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
23115         instead of iswalnum.
23117 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23119         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
23120         errors to stderr.
23122 2015-06-05  Florian Weimer  <fweimer@redhat.com>
23124         [BZ #15661]
23125         [BZ #17322]
23126         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
23127         Check for overflow properly.  Check for O_APPEND.  Ignore large
23128         file system block sizes.  Add comments about problems.
23129         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
23130         * manual/filesys.texi (Storage Allocation): New node.
23132 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23134         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
23135         cancellable syscalls.
23136         (SYS_ify): Add guard to no redefine it.
23137         (INLINE_SYSCALL): Likewise.
23138         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
23139         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
23140         SYSCALL_CANCEL instead.
23141         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
23142         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
23143         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
23144         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
23145         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
23146         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
23147         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
23148         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
23149         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
23150         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
23151         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
23152         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
23153         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
23154         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
23155         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
23156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
23157         Likewise.
23158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
23159         (__libc_pread64): Likewise.
23160         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
23161         (__libc_preadv): Likewise.
23162         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
23163         (__libc_readv64): Likewise.
23164         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
23165         (__libc_pwrite): Likewise.
23166         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
23167         (__libc_pwrite64): Likewise.
23168         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
23169         (__libc_pwritev): Likewise.
23170         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
23171         (__libc_pwritev64): Likewise.
23172         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
23173         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
23174         (sync_file_range): Likewise.
23175         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
23176         Likewise.
23177         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
23178         Likewise.
23179         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
23180         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
23181         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
23182         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
23183         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
23184         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
23185         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
23186         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
23187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
23188         Likewise.
23189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
23190         (__libc_read64): Likewise.
23191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
23192         Likewise.
23193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
23194         Likewise.
23195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
23196         Likewise.
23197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
23198         Likewise.
23199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23200         (__libc_pread64): Likewise.
23201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
23202         Likewise.
23203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23204         (__libc_pwrite64): Likewise.
23205         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
23206         (sync_file_range): Likewise.
23207         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
23208         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
23209         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
23210         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
23211         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
23212         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
23213         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
23214         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
23215         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
23216         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
23217         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
23218         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
23219         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
23220         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
23221         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
23222         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
23223         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
23224         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
23225         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
23226         Likewise.
23227         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
23228         Likewise.
23229         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
23230         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
23231         Likewise.
23232         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
23233         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
23234         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
23235         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
23236         Likewise.
23237         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
23238         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
23239         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
23240         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
23241         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
23243 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
23245         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
23246         Include dl-vdso.
23247         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
23248         Use VDSO routines for gettimeofday, clock_gettime if
23249         available.
23250         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
23251         Declare VDSO symbols.
23252         * sysdeps/unix/sysv/linux/arm/sysdep.h:
23253         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
23254         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23255         * sysdeps/unix/sysv/linux/arm/Versions: Add
23256         __vdso_clock_gettime.
23258 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23260         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
23261         be an inline implementation regardless of library is built within.
23262         (open_not_cancel_2): Likewise.
23263         (__read_nocancel): Likewise.
23264         (__write_nocancel): Likewise.
23265         (openat_not_cancel): Likewise.
23266         (openat_not_cancel_3): Likewise.
23267         (openat64_not_cancel): Likewise.
23268         (openat64_not_cancel_3): Likewise.
23269         (__close_nocancel): Likewise.
23270         (pause_not_cancel): Likewise.
23271         (nanosleep_not_cancel): Likewise.
23272         (sigsuspend_not_cancel): Likewise.
23274 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23276         [BZ #14958]
23277         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
23278         wake-up.
23279         (__pthread_rwlock_rdlock_slow): Likewise.
23280         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23281         Likewise.
23282         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23283         Likewise.
23284         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
23285         * nptl/tst-rwlock16.c: New file.
23286         * nptl/Makefile (tests): Add new test.
23288 2015-06-04  Torvald Riegel  <triegel@redhat.com>
23290         [BZ #18324]
23291         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
23292         missing wake-up of readers.
23293         * nptl/tst-rwlock15.c: New file.
23294         * nptl/Makefile (tests): Add new test.
23296 2015-06-03  Roland McGrath  <roland@hack.frob.com>
23298         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
23299         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
23300         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
23301         and __nacl_supply_interface_rtld.
23302         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
23303         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
23304         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
23305         Add __nacl_supply_interface_rtld.
23306         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
23308 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23310         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
23311         isfinite.
23312         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23313         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
23315 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
23317         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
23318         __signbit* with standard C99 macros.
23319         * math/e_exp10l.c: Likewise.
23320         * math/e_exp2l.c: Likewise.
23321         * math/e_scalb.c: Likewise.
23322         * math/e_scalbf.c: Likewise.
23323         * math/e_scalbl.c: Likewise.
23324         * math/s_ldexp.c: Likewise.
23325         * math/s_ldexpf.c: Likewise.
23326         * math/s_ldexpl.c: Likewise.
23327         * math/w_atan2.c: Likewise.
23328         * math/w_atan2f.c: Likewise.
23329         * math/w_atan2l.c: Likewise.
23330         * math/w_cosh.c: Likewise.
23331         * math/w_coshf.c: Likewise.
23332         * math/w_coshl.c: Likewise.
23333         * math/w_exp10.c: Likewise.
23334         * math/w_exp10f.c: Likewise.
23335         * math/w_exp10l.c: Likewise.
23336         * math/w_exp2.c: Likewise.
23337         * math/w_exp2f.c: Likewise.
23338         * math/w_exp2l.c: Likewise.
23339         * math/w_fmod.c: Likewise.
23340         * math/w_fmodf.c: Likewise.
23341         * math/w_fmodl.c: Likewise.
23342         * math/w_hypot.c: Likewise.
23343         * math/w_hypotf.c: Likewise.
23344         * math/w_hypotl.c: Likewise.
23345         * math/w_jnl.c: Likewise.
23346         * math/w_lgamma.c: Likewise.
23347         * math/w_lgamma_r.c: Likewise.
23348         * math/w_lgammaf.c: Likewise.
23349         * math/w_lgammaf_r.c: Likewise.
23350         * math/w_lgammal.c: Likewise.
23351         * math/w_lgammal_r.c: Likewise.
23352         * math/w_pow.c: Likewise.
23353         * math/w_powf.c: Likewise.
23354         * math/w_powl.c: Likewise.
23355         * math/w_remainder.c: Likewise.
23356         * math/w_remainderf.c: Likewise.
23357         * math/w_remainderl.c: Likewise.
23358         * math/w_scalb.c: Likewise.
23359         * math/w_scalbf.c: Likewise.
23360         * math/w_scalbl.c: Likewise.
23361         * math/w_scalbln.c: Likewise.
23362         * math/w_scalblnf.c: Likewise.
23363         * math/w_scalblnl.c: Likewise.
23364         * math/w_sinh.c: Likewise.
23365         * math/w_sinhf.c: Likewise.
23366         * math/w_sinhl.c: Likewise.
23367         * math/w_tgamma.c: Likewise.
23368         * math/w_tgammaf.c: Likewise.
23369         * math/w_tgammal.c: Likewise.
23370         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23371         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
23372         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
23373         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23374         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
23375         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23376         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23377         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
23378         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
23379         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
23380         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23381         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23382         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23383         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
23384         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
23385         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
23386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
23387         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
23388         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
23389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
23390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
23391         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23392         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
23394         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
23395         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
23396         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
23397         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
23398         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
23399         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23400         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
23401         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
23402         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
23403         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
23404         * stdio-common/printf_fp.c: Likewise.
23405         * stdio-common/printf_fphex.c: Likewise.
23406         * stdio-common/printf_size.c: Likewise.
23408 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
23410         [BZ #18470]
23411         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
23412         strnlen.
23413         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
23414         Remove variable.
23415         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
23416         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
23417         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
23418         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
23419         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
23420         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
23421         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
23422         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
23423         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
23424         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
23426         [BZ #18468]
23427         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
23428         weak alias of __wmemchr.  Use libc_hidden_weak.
23429         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
23430         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
23431         instead of wmemchr.
23433 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23435         [BZ #18383]
23436         * elf/tst-tlsalign-extern.c: New file.
23437         * elf/tst-tlsalign-extern-static.c: New file.
23438         * elf/tst-tlsalign-vars.c: New file.
23439         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
23440         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
23441         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
23442         ($(objpfx)tst-tlsalign-extern-static): Likewise.
23443         (test-xfail-tst-tlsalign-extern-static): New variable.
23445 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
23447         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
23448         Use variable name _sc_err instead of err.
23449         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
23450         instead of ret.
23451         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
23452         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
23453         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
23454         (INLINE_SYSCALL): Likewise.
23456         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
23457         * include/string.h (__strnlen): Use libc_hidden_proto.
23458         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
23459         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
23460         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
23461         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
23462         (libc_hidden_def): Undefine and redefine.
23463         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
23464         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
23465         __GI_strnlen.
23466         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
23467         libc_hidden_def.
23468         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
23470         [BZ #18469]
23471         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
23472         weak alias of __towlower.  Use libc_hidden_weak.
23473         (towupper): Rename to __towupper and define as weak alias of
23474         __towupper.  Use libc_hidden_weak.
23475         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
23476         (__towupper): Likewise.
23477         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
23478         __towlower instead of towlower.
23480 2015-06-02  Roland McGrath  <roland@hack.frob.com>
23482         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
23483         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
23485 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23487         * sysdeps/aarch64/libm-test-ulps: Update.
23489 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23491         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
23492         Define.
23493         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23494         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
23495         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23496         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23497         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
23498         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
23499         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
23501 2015-06-01  Martin Sebor  <msebor@redhat.com>
23503         [BZ #18116]
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
23505         (__setcontext): Use extended four-operand version of mtsf whenever
23506         possible.
23507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
23508         (__novec_swapcontext): Likewise.
23510 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
23512         * benchtests/scripts/compare_bench.py: New file.
23513         * benchtests/scripts/import_bench.py (mean): New function.
23514         (split_list): Likewise.
23515         (do_for_all_timings): Likewise.
23516         (compress_timings): Likewise.
23518         * benchtests/scripts/import_bench.py: New file.
23519         * benchtests/scripts/validate_benchout.py: Import import_bench
23520         instead of jsonschema.
23521         (validate_bench): Remove function.
23522         (main): Use import_bench.
23524 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
23526         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
23527         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
23529 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23533 2015-05-28  Roland McGrath  <roland@hack.frob.com>
23535         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
23536         set THREAD_SELF->tid to a magic value and futex-wake it.
23537         Pass its address to the thread_exit system call.
23538         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
23539         bit is clear.
23540         * sysdeps/nacl/lowlevellock.h: New file.
23541         * sysdeps/nacl/lll_timedwait_tid.c: New file.
23543         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
23544         Add TIMEOUT to current time, don't subtract it.
23546 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
23548         [BZ #2981]
23549         [BZ #18422]
23550         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
23551         ($(objpfx)tst-audit2.out): Also depend on
23552         $(objpfx)tst-auditmod9b.so.
23553         * elf/tst-audit2.c: Include <dlfcn.h>.
23554         (calloc_called): New.
23555         (calloc): Allow to be called more than once.
23556         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
23558 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
23560         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
23561         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
23563 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
23565         * stdlib/monetary.h: Fix comment.
23567 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
23569         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
23570         Avoid using variables in #defines that might cause shadowing.
23571         (INTERNAL_VSYSCALL_CALL): Likewise.
23573 2015-05-26  Roland McGrath  <roland@hack.frob.com>
23575         * sysdeps/nacl/lll_timedlock_wait.c: New file.
23577         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
23578         * nptl/lll_timedlock_wait.c: ... to this new file.
23579         * nptl/Makefile (libpthread-routines): Add it.
23580         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
23581         * nptl/lll_timedwait_tid.c: ... to this new file.
23582         * nptl/Makefile (libpthread-routines): Add it.
23583         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
23584         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
23585         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
23586         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
23587         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
23588         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
23589         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
23590         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
23591         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
23592         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
23594 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23596         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
23597         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
23598         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23599         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
23600         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23601         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
23602         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23603         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
23604         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23605         * sysdeps/unix/sysv/linux/tile/sysdep.h
23606         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
23607         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
23608         using vDSO syscall macro.
23610 2015-05-26  Andriy Rysin  <arysin@gmail.com>
23612         [BZ #17293]
23613         * uk_UA: Fix sorting order for Ukrainian locale
23615 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
23617         * stdlib/monetary.h: Fix comment.
23619 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23621         [BZ #18234]
23622         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
23623         st_mtim and st_ctim members.
23624         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
23625         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
23626         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
23627         (struct stat64): Likewise.
23628         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
23629         (struct stat64): Likewise.
23630         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
23631         (struct stat64): Likewise.
23633 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23635         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
23636         Define and include sysdep-vdso.h.
23637         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
23638         Likewise.
23639         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
23640         Likewise.
23641         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
23642         Define with VDSO_SYMBOL and use PTR_MANGLE.
23643         (__vdso_clock_gettime): Likewise.
23644         (__vdso_clock_getres): Likewise.
23645         (_libc_vdso_platform_setup): Likewise.
23646         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23647         Likewise.
23648         (_libc_vdso_platform_setup): Likewise.
23649         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
23650         Likewise.
23651         (__vdso_clock_gettime): Likewise.
23652         (__vdso_clock_getres): Likewise.
23653         (__vdso_get_tbfreq): Likewise.
23654         (__vdso_getcpu): Likewise.
23655         (__vdso_time): Likewise.
23656         (__vdso_sigtramp_rt64): Likewise.
23657         (__vdso_signtramp32): Likewise.
23658         (__vdso_sigtramp_rt32): Likewise.
23659         (_libc_vdso_platform_setup): Likewise.
23660         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
23661         Likewise.
23662         (__vdso_clock_gettime): Likewise.
23663         (__vdso_clock_getres): Likewise.
23664         (_libc_vdso_platform_setup): Likewise.
23665         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
23666         Likewise.
23667         (__vdso_clock_gettime): Likewise.
23668         (_libc_vdso_platform_setup): Likewise.
23669         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23670         Likewise.
23671         (__vdso_getcpu): Likewise.
23672         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
23673         Use VDSO_SYMBOL macro to define.
23674         (__vdso_clock_gettime): Likewise.
23675         (__vdso_clock_getres): Likewise.
23676         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
23677         Likewise.
23678         (__vdso_clock_gettime): Likewise.
23679         (__vdso_clock_getres): Likewise.
23680         (__vdso_get_tbfreq): Likewise.
23681         (__vdso_getcpu): Likewise.
23682         (__vdso_time): Likewise.
23683         (__vdso_sigtramp_rt64): Likewise.
23684         (__vdso_signtramp32): Likewise.
23685         (__vdso_sigtramp_rt32): Likewise.
23686         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
23687         Likewise.
23688         (__vdso_clock_gettime): Likewise.
23689         (__vdso_clock_getres): Likewise.
23690         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
23691         Likewise.
23692         (__vdso_clock_gettime): Likewise.
23693         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23694         Likewise.
23695         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
23696         macro.
23697         (INTERNAL_VSYSCALL): Likewise.
23698         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
23699         Remove macro.
23700         (INTERNAL_VSYSCALL): Likewise.
23701         (INTERNAL_VSYSCALL_NCS): Likewise.
23702         (INTERNAL_VSYSCALL_CALL): New macro.
23703         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23704         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
23705         Likewise.
23706         (INTERNAL_VSYSCALL): Likewise.
23707         (INTERNAL_VSYSCALL_NCS): Likewise.
23708         (INTERNAL_VSYSCALL_CALL): New macro.
23709         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
23710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23711         (INLINE_VSYSCALL): Remove macro.
23712         (INTERNAL_VSYSCALL): Remove macro.
23713         (INTERNAL_VSYSCALL_NCS): Remove macro.
23714         (INTERNAL_VSYSCALL_CALL): New macro.
23715         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
23716         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
23717         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23718         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
23719         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
23720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23721         (INLINE_VSYSCALL): Remove macro.
23722         (INTERNAL_VSYSCALL): Likewise.
23723         (INTERNAL_VSYSCALL_NCS): Likewise.
23724         (INTERNAL_VSYSCALL_CALL): New macro.
23725         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
23726         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
23727         PTR_DEMANGLE on vDSO pointer.
23728         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
23729         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
23730         macro.
23731         (INTERNAL_SYSCALL): Likewise.
23732         (INTERNAL_VSYSCALL_NCS): Remove macro.
23733         (INTERNAL_VSYSCALL_CALL): New macro.
23734         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
23735         Remove macro.
23736         (INTERNAL_VSYSCALL): Likewise.
23737         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
23738         sysdep-vdso.h instead of libc-vdso.h.
23739         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
23740         definition.
23741         (INLINE_VSYSCALL): Likewise.
23742         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
23743         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
23744         definition.
23745         (INLINE_VSYSCALL): Likewise.
23746         (INTERNAL_VSYSCALL): Likewise.
23747         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23748         * sysdeps/unix/sysv/linux/timespec_get.c
23749         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
23750         (timespec_get): Use ANSI prototype.
23751         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
23752         and definition for Linux.
23754 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
23756         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
23757         * include/libc-symbols.h: libmvec_hidden_* macro series added.
23759 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
23761         [BZ #2981]
23762         [BZ #18410]
23763         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
23764         for missing DT_PLTRELSZ.
23766 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
23768         Remove obsolete aliases that broke 'locale -a'
23769         [BZ #18412]
23770         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
23771         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
23772         breaking some applications that use 'locale -a' output.
23773         Change the encoding of this file from Latin-1 to ASCII to avoid
23774         other potential problems with people grepping this file.
23776 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23778         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
23779         -fasynchronous-unwind-tables.
23780         (CFLAGS-sendto.c): Likewise.
23781         (CFLAGS-sendmsg.c): Likewise.
23782         (CFLAGS-connect.c): Likewise.
23783         (CFLAGS-recvmsg.c): Likewise.
23784         (CFLAGS-recvfrom.c): Likewise.
23785         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
23786         (SOCKETCALL): New macro: non-cancellable socketcall.
23787         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
23788         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
23789         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
23790         * sysdeps/unix/sysv/linux/accept.c: New file.
23791         * sysdeps/unix/sysv/linux/bind.c: Likewise.
23792         * sysdeps/unix/sysv/linux/connect.c: Likewise.
23793         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
23794         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
23795         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
23796         * sysdeps/unix/sysv/linux/listen.c: Likewise.
23797         * sysdeps/unix/sysv/linux/recv.c: Likewise.
23798         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
23799         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
23800         * sysdeps/unix/sysv/linux/send.c: Likewise.
23801         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
23802         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
23803         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
23804         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
23805         * sysdeps/unix/sysv/linux/socket.c: Likewise.
23806         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
23807         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
23808         prototype.
23809         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
23810         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23811         instead of __internal_xxx function.
23812         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
23813         prototype.
23814         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
23815         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23816         instead of __internal_xxx function.
23817         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
23818         prototype.
23819         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
23820         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
23821         instead of __internal_xxx function.
23822         * sysdeps/unix/sysv/linux/accept.S: Remove file.
23823         * sysdeps/unix/sysv/linux/bind.S: Likewise.
23824         * sysdeps/unix/sysv/linux/connect.S: Likewise.
23825         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
23826         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
23827         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
23828         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
23829         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
23830         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
23831         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
23832         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
23833         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
23834         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
23835         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
23836         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
23837         * sysdeps/unix/sysv/linux/listen.S: Likewise.
23838         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
23839         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
23840         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
23841         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
23842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
23843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
23844         * sysdeps/unix/sysv/linux/recv.S: Likewise.
23845         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
23846         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
23847         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
23848         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
23849         * sysdeps/unix/sysv/linux/send.S: Likewise.
23850         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
23851         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
23852         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
23853         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
23854         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
23855         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
23856         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
23857         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
23858         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
23859         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
23860         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
23861         socketcall is implemented in GLIBC.
23863 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23865         * soft-fp/fmadf4.c: Include <libc-internal.h>.
23866         (__fma): Ignore uninitialized warnings around packing.
23867         * soft-fp/fmasf4.c: Include <libc-internal.h>.
23868         (__fmaf): Ignore uninitialized warnings around packing.
23869         * soft-fp/fmatf4.c: Include <libc-internal.h>.
23870         (__fmal): Ignore uninitialized warnings around packing.
23872         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
23873         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23874         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
23875         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
23877         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
23878         switch statement into default case.
23879         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
23881         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
23882         a conditional in forcing "inexact".
23883         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23884         Likewise.
23886 2015-05-22  Roland McGrath  <roland@hack.frob.com>
23888         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
23889         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
23890         for each INTERNAL_SYSCALL use.
23892 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
23894         [BZ #438]
23895         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
23896         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
23897         variable.
23899         [BZ #18444]
23900         * string/basename.c (basename): Rename to __basename and define as
23901         weak alias of __basename.  Use libc_hidden_weak.
23902         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
23903         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
23904         __basename instead of basename.
23905         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
23906         Remove variable.
23907         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
23909 2015-05-18  Florian Weimer  <fweimer@redhat.com>
23911         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
23912         (_IO_JUMPS_FILE_plus): New.
23913         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
23914         _IO_CAST_FIELD_ACCESS.
23915         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
23916         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
23917         * libio/freopen.c (freopen): Likewise.
23918         * libio/freopen64.c (freopen64): Likewise.
23919         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
23920         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
23921         * libio/iofwide.c (_IO_fwide): Likewise.
23922         * libio/memstream.c (open_memstream): Likewise.
23923         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
23924         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
23925         * libio/oldiopopen.c (_IO_old_popen): Likewise.
23927 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
23929         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
23930         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
23931         NADJ.
23932         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
23933         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
23934         NADJ.
23935         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
23936         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
23937         NADJ.
23939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
23940         (p == 4) case.
23942         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
23943         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
23944         Remove variable.
23945         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
23946         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
23947         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
23949 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23951         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
23952         Adjust jump table label generation macros.
23954 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23956         * stdio-common/vfprintf.c (vfprintf): Move local variables
23957         args_malloced, specs, specs_malloced, and the code after
23958         do_positional to the printf_positional function.
23959         (printf_positional): New function.
23961 2015-05-21  Florian Weimer  <fweimer@redhat.com>
23963         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
23964         function.
23965         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
23966         STEP4_TABLE, process_arg): Move macro definitions
23967         out of the vfprintf function.  (Cosmetic change only.)
23969 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
23971         * benchtests/Makefile (stdio-common-bench): Define.
23972         (benchset): Add stdio-common-bench.
23973         * sprintf-inputs: New file.
23974         * sprintf-source.c: New file.
23976 2015-05-21  Andreas Schwab  <schwab@suse.de>
23978         [BZ #13028]
23979         [BZ #17053]
23980         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
23981         of struct __res_state.
23982         * resolv/res_send.c (__libc_res_nsend): Likewise.
23983         (get_nsaddr): New function.
23984         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
23985         statp directly.
23987 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
23989         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
23990         -D_POSIX_C_SOURCE=199506L.
23992         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
23994         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
23995         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
23996         Do not mention otherwise.
23997         [POSIX] (_XOPEN_VERSION): Do not expect.
23998         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
23999         [POSIX] (_POSIX2_C_BIND): Likewise.
24000         [POSIX] (_POSIX2_VERSION): Likewise.
24001         [POSIX] (_XOPEN_XPG2): Likewise.
24002         [POSIX] (_XOPEN_XPG3): Likewise.
24003         [POSIX] (_XOPEN_XPG4): Likewise.
24004         [POSIX] (_XOPEN_UNIX): Likewise.
24005         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
24006         [POSIX] (_POSIX_BARRIERS): Likewise.
24007         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
24008         [POSIX] (_POSIX_CPUTIME): Likewise.
24009         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
24010         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
24011         [POSIX] (_POSIX_SHELL): Likewise.
24012         [POSIX] (_POSIX_SPAWN): Likewise.
24013         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
24014         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
24015         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
24016         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
24017         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
24018         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
24019         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
24020         [POSIX] (_XBS5_LP64_OFF64): Likewise.
24021         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
24022         [POSIX] (_POSIX_TIMEOUTS): Likewise.
24023         [POSIX] (_POSIX2_PBS): Likewise.
24024         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
24025         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
24026         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
24027         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
24028         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
24029         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
24030         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
24031         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
24032         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
24033         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
24034         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
24035         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
24036         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
24037         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
24038         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
24039         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
24040         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
24041         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
24042         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
24043         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
24044         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
24045         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
24046         [POSIX] (_SC_2_C_BIND): Likewise.
24047         [POSIX] (_SC_2_C_VERSION): Likewise.
24048         [POSIX] (_SC_2_PBS): Likewise.
24049         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
24050         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
24051         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
24052         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
24053         [POSIX] (_SC_2_PBS_TRACK): Likewise.
24054         [POSIX] (_SC_ATEXIT_MAX): Likewise.
24055         [POSIX] (_SC_BARRIERS): Likewise.
24056         [POSIX] (_SC_BASE): Likewise.
24057         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
24058         [POSIX] (_SC_DEVICE_IO): Likewise.
24059         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
24060         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
24061         [POSIX] (_SC_FD_MGMT): Likewise.
24062         [POSIX] (_SC_FIFO): Likewise.
24063         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
24064         [POSIX] (_SC_FILE_LOCKING): Likewise.
24065         [POSIX] (_SC_FILE_SYSTEM): Likewise.
24066         [POSIX] (_SC_IOV_MAX): Likewise.
24067         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
24068         [POSIX] (_SC_NETWORKING): Likewise.
24069         [POSIX] (_SC_PAGE_SIZE): Likewise.
24070         [POSIX] (_SC_PASS_MAX): Likewise.
24071         [POSIX] (_SC_PIPE): Likewise.
24072         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
24073         [POSIX] (_SC_REGEXP): Likewise.
24074         [POSIX] (_SC_SHELL): Likewise.
24075         [POSIX] (_SC_SIGNALS): Likewise.
24076         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
24077         [POSIX] (_SC_SPIN_LOCKS): Likewise.
24078         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
24079         [POSIX] (_SC_USER_GROUPS): Likewise.
24080         [POSIX] (_SC_USER_GROUPS_R): Likewise.
24081         [POSIX] (_SC_STREAMS): Likewise.
24082         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
24083         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
24084         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
24085         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
24086         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
24087         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
24088         [POSIX] (_PC_FILESIZEBITS): Likewise.
24089         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
24090         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
24091         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
24092         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
24093         [POSIX] (uid_t): Likewise.
24094         [POSIX] (gid_t): Likewise.
24095         [POSIX] (off_t): Likewise.
24096         [POSIX] (pid_t): Likewise.
24097         [POSIX] (cuserid): Allow.
24098         (_SC_2_CHAR_TERM): Require constant.
24099         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
24100         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
24101         variable.
24103 2015-05-20  Roland McGrath  <roland@hack.frob.com>
24105         * sysdeps/nacl/pthread-pids.h: New file.
24106         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
24107         (create_thread): Use __nacl_get_tid to initialize PD->tid.
24109         * nptl/pthread-pids.h: New file.
24110         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
24111         * nptl/nptl-init.c: Include <pthread-pids.h>.
24112         (__pthread_initialize_minimal_internal):
24113         Call __pthread_initialize_pids instead of set_tid_address syscall.
24115         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
24116         * sysdeps/posix/usleep.c: ... here.
24118 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24120         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
24121         call_pselect6 object.
24122         [$(subdir) = io]: Remove call_sync_file_range object.
24123         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
24124         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
24125         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
24126         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
24128 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
24130         * math/s_cproj.c: Add include "math_private.h".
24131         * math/s_cprojf.c: Likewise.
24132         * math/s_cprojl.c: Likewise.
24134 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
24136         [BZ #18244]
24137         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
24138         high mantissa bit when testing whether P is a NaN.
24139         * math/libm-test.inc (remainder_test_data): Add more tests.
24140         (remquo_test_data): Likewise.
24142         [BZ #18049]
24143         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
24144         below -32, return the argument, with underflow if subnormal.
24145         * math/auto-libm-test-in: Add more tests of atanh.
24146         * math/auto-libm-test-out: Regenerated.
24148 2015-05-19  Roland McGrath  <roland@hack.frob.com>
24150         [BZ #18434]
24151         * nptl/tst-sem15.c: New file.
24152         * nptl/Makefile (tests): Add it.
24153         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
24154         s/<</>>/ to fix typo in EOVERFLOW check.
24155         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
24157 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24159         * manual/strings.texi (envz_remove): Fix typo in safety
24160         annotations.
24162 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
24163             Steve Ellcey  <sellcey@imgtec.com>
24165         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
24166         in order to avoid strict alias warnings.
24167         (iruserok_af): Ditto for ra.
24169 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
24171         [BZ #17581]
24172         * malloc/hooks.c
24173         (magicbyte): Convert to a function and avoid returning 0x01.
24174         (mem2mem_check): Avoid using a length byte equal to the magic byte.
24175         (mem2chunk_check): Fix unsigned comparisons to zero.
24176         Hoist defs of sz and magic.
24178 2015-05-19  Richard Henderson  <rth@redhat.com>
24180         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
24182         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24184 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24186         [BZ #16159]
24187         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
24188         * malloc/arena.c (arena_lock): Check if arena is corrupt.
24189         (reused_arena): Find a non-corrupt arena.
24190         (heap_trim): Pass arena to unlink.
24191         * malloc/hooks.c (malloc_check_get_size): Pass arena to
24192         malloc_printerr.
24193         (top_check): Likewise.
24194         (free_check): Likewise.
24195         (realloc_check): Likewise.
24196         * malloc/malloc.c (malloc_printerr): Add arena argument.
24197         (unlink): Likewise.
24198         (munmap_chunk): Adjust.
24199         (ARENA_CORRUPTION_BIT): New macro.
24200         (arena_is_corrupt): Likewise.
24201         (set_arena_corrupt): Likewise.
24202         (sysmalloc): Use mmap if there are no usable arenas.
24203         (_int_malloc): Likewise.
24204         (__libc_malloc): Don't fail if arena_get returns NULL.
24205         (_mid_memalign): Likewise.
24206         (__libc_calloc): Likewise.
24207         (__libc_realloc): Adjust for additional argument to
24208         malloc_printerr.
24209         (_int_free): Likewise.
24210         (malloc_consolidate): Likewise.
24211         (_int_realloc): Likewise.
24212         (_int_memalign): Don't touch corrupt arenas.
24213         * malloc/tst-malloc-backtrace.c: New test case.
24215         * Makefile (summarize-tests): Fix return value on success.
24217         * manual/string.texi (Envz Functions): Add envz_remove.
24219 2015-05-18  Roland McGrath  <roland@hack.frob.com>
24221         * sysdeps/posix/opendir.c: Include <stdbool.h>.
24222         (invalid_name): New function, broken out of ...
24223         (__opendirat): ... here.  Call it.
24224         (need_isdir_precheck): New function, broken out of ...
24225         (__opendirat): ... here.  Call it.
24226         Use __fxstatat64, not __xstatat64.
24227         (opendir_oflags): New function, broken out of ...
24228         (__opendirat): ... here.  Call it.
24229         (opendir_tail): New function, broken out of ...
24230         (__opendirat): ... here.  Call it.
24231         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
24232         opendir_tail, rather than punting to __opendirat.
24233         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
24235 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24237         * .gitignore: Ignore generated *.pyc.
24239 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
24241         * include/stdio.h: Define __need_wint_t.
24242         * test-skeleton.c: Avoid `for' loop initial declaration.
24243         * nptl/tst-initializers1.c: Use test-skeleton.c.
24245 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24247         [BZ #18418]
24248         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
24250 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24252         [BZ #16352]
24253         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
24254         (__ieee754_atanh): Force underflow exception for results with
24255         small absolute value.
24256         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
24257         (__ieee754_atanhf): Force underflow exception for results with
24258         small absolute value.
24259         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
24260         (__ieee754_atanh): Force underflow exception for results with
24261         small absolute value.
24262         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
24263         (__ieee754_atanhf): Force underflow exception for results with
24264         small absolute value.
24265         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
24266         (__ieee754_atanhl): Force underflow exception for results with
24267         small absolute value.
24268         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
24269         (__ieee754_atanhl): Force underflow exception for results with
24270         small absolute value.
24271         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
24272         (__ieee754_atanhl): Force underflow exception for results with
24273         small absolute value.
24274         * math/auto-libm-test-in: Do not allow missing underflow
24275         exceptions from atanh.
24276         * math/auto-libm-test-out: Regenerated.
24278         [BZ #18221]
24279         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
24280         2**-28 as threshold for returning x or +/- 1/x.
24281         * math/auto-libm-test-in: Add more tests of tan.
24282         * math/auto-libm-test-out: Regenerated.
24284         [BZ #18220]
24285         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24286         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
24287         * math/auto-libm-test-in: Add another test of lgamma.
24288         * math/auto-libm-test-out: Regenerated.
24290 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
24292         * stdio-common/printf_fp.c (___printf_fp): Use abs.
24293         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
24294         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
24295         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
24296         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
24297         (ADD2A): Use fabs.  (SUB2A): Use fabs.
24298         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
24299         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
24300         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
24301         (log1): Use fabs.  (my_log2): Use fabs.
24302         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
24303         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
24304         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
24305         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
24306         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
24307         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
24308         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
24309         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
24310         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
24311         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
24312         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
24314 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
24316         [BZ #18217]
24317         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
24318         as threshold for returning 1 - x.
24319         * math/auto-libm-test-in: Add more tests of erfc.
24320         * math/auto-libm-test-out: Regenerated.
24322 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
24324         [BZ #18196]
24325         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
24326         threshold for large arguments.
24327         * math/auto-libm-test-in: Add another test of atan.
24328         * math/auto-libm-test-out: Regenerated.
24330         [BZ #16339]
24331         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
24332         (__log1p): Force underflow exception for results with small
24333         absolute value.
24334         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
24335         (__log1pf): Force underflow exception for results with small
24336         absolute value.
24337         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
24338         (__log1p): Force underflow exception for results with small
24339         absolute value.
24340         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
24341         (__log1pf): Force underflow exception for results with small
24342         absolute value.
24343         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
24344         (__log1pl): Force underflow exception for results with small
24345         absolute value.
24346         * math/auto-libm-test-in: Do not allow missing underflow
24347         exceptions from log1p.
24348         * math/auto-libm-test-out: Regenerated.
24350 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
24351             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24353         [BZ #16704]
24354         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
24356 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
24358         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
24359         (libmvec): New variable.
24360         * configure.ac: Added option for mathvec build.
24361         * configure: Regenerated.
24362         * mathvec/Depend: New file.
24363         * mathvec/Makefile: New file.
24364         * shlib-versions: Added libmvec.
24365         * math/Makefile: Added rule for libm.so installation.
24367         * bits/math-vector.h: New file.
24368         * bits/libm-simd-decl-stubs.h: New header.
24369         * math/Makefile (headers): Added new header
24370         libm-simd-decl-stubs.h.
24371         * math/math.h (__MATHCALL_VEC): New macro.
24373         * math/gen-libm-have-vector-test.sh: Script generates series of macros
24374         for conditions in testing functions.
24375         * math/Makefile: Added call of libm-have-vector-test.sh.
24376         * math/libm-test.inc (HAVE_VECTOR): New macros.
24378         * math/libm-test.inc: START refactored.
24379         * math/test-double.c (TEST_MATHVEC): Add define.
24380         * math/test-float.c: Likewise.
24381         * math/test-idouble.c: Likewise.
24382         * math/test-ifloat.c: Likewise.
24383         * math/test-ildoubl.c: Likewise.
24384         * math/test-ldouble.c: Likewise.
24385         * sysdeps/generic/math-tests-arch.h
24386         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
24387         architecture check.
24389         * math/test-double.c (FUNC_TEST): New macro.
24390         * math/test-float.c: Likewise.
24391         * math/test-idouble.c: Likewise.
24392         * math/test-ifloat.c: Likewise.
24393         * math/test-ildoubl.c: Likewise.
24394         * math/test-ldouble.c: Likewise.
24395         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
24397 2015-05-13  Roland McGrath  <roland@hack.frob.com>
24399         * sysdeps/nacl/fdopendir.c: New file.
24401         * dirent/scandir-tail.c: New file.
24402         * dirent/scandir64-tail.c: New file.
24403         * dirent/Makefile (routines): Add them.
24404         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
24405         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
24406         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
24407         [!SCANDIR] (SCANDIR_TAIL): New macro.
24408         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
24409         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
24410         (SCANDIRAT): Macro removed.
24411         (SCANDIR_TAIL): New macro.
24412         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
24413         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
24414         (SCANDIRAT): Just call __opendirat and __scandir_tail.
24415         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
24416         (READDIR): Macro removed.
24417         (SCANDIR_TAIL): New macro.
24418         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
24419         (SCANDIR_TAIL): New macro.
24421         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
24422         * dirent/scandir-cancel.c: ... to this new file.
24423         * dirent/Makefile (routines): Add it.
24424         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
24425         * sysdeps/unix/sysv/linux/i386/scandir64.c
24426         (SKIP_SCANDIR_CANCEL): Macro removed.
24427         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
24429         * dirent/tst-scandir.c: New file.
24430         * dirent/tst-scandir64.c: New file.
24431         * dirent/Makefile (tests): Add them.
24433 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
24435         [BZ #18409]
24436         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
24438 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24440         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
24441         list.
24443 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
24445         * benchtests/bench-strcoll.c: New benchmark.
24446         * benchtests/Makefile: Generate locales and run benchmark.
24447         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
24448         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
24449         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
24450         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
24451         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
24452         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
24453         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
24454         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
24455         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
24456         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
24457         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
24458         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
24459         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
24460         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
24461         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
24462         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
24463         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
24464         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
24465         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
24466         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
24467         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
24468         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
24469         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
24470         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
24472 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
24474         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
24475         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24477 2015-05-12  Roland McGrath  <roland@hack.frob.com>
24479         * posix/uname-values.h: New file.
24480         * posix/uname.c: Include that instead of <config-name.h>.
24481         * sysdeps/nacl/uname-values.h: New file.
24482         * sysdeps/arm/nacl/uname-values.h: New file.
24484 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
24486         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
24487         splitting into fields.
24489 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
24491         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
24492         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
24493         * locale/localeinfo.h: Add enum collation_encoding_type.
24494         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
24495         * programs/ld-collate.c (collate_output): Add encoding type info.
24496         * string/strcoll_l.c (STRDIFF): New function.
24497         * (STRCOLL): Use STRDIFF to skip over equal prefix.
24498         * wcsmbs/wcscoll_l.c: Define STRDIFF.
24500 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
24502         [BZ #18397]
24503         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
24504         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
24505         <fpu_control.h> instead of <math/fpu_control.c>.
24506         * sysdeps/mips/mips32/fpu/Makefile: New file.
24508 2015-05-11  Andreas Schwab  <schwab@suse.de>
24510         [BZ #18007]
24511         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
24512         nss_endgrent.
24513         (_nss_compat_endgrent): Call nss_endgrent.
24514         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
24515         nss_endpwent.
24516         (_nss_compat_endpwent): Call nss_endpwent.
24517         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
24518         needent, call nss_setspent only if non-zero.
24519         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
24520         (internal_endspent): Don't call nss_endspent.
24521         (_nss_compat_endspent): Call nss_endspent.
24522         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
24523         Remove.  All uses removed.
24524         (internal_setent): Remove parameter stayopen, add parameter
24525         stream.  Use it instead of global variable.
24526         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
24527         (internal_endent, internal_getent): Add parameter stream.  Use it
24528         instead of global variable.
24529         (CONCAT(_nss_files_end,ENTNAME))
24530         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
24531         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
24532         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
24533         uses removed.
24534         (internal_setent, internal_endent): Add parameter stream.  Use it
24535         instead of global variable.
24536         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
24537         stream.
24538         (get_next_alias): Add parameter stream.
24539         (_nss_files_getaliasent_r): Pass global stream.
24540         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
24541         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
24542         (_nss_files_gethostbyname4_r): Pass local stream to
24543         internal_setent, internal_getent and internal_endent.  Remove
24544         locking.
24546 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
24548         * tst-strfmon1.c (tests): Update expected currency symbol.
24550 2015-05-08  Roland McGrath  <roland@hack.frob.com>
24552         * sysdeps/nacl/gethostname.c: New file.
24554 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
24556         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
24557         and sinh.
24558         * math/auto-libm-test-out: Regenerated.
24559         * sysdeps/i386/fpu/libm-test-ulps: Update.
24560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24562 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
24564         [BZ #18125]
24565         * stdlib/tst-setcontext3.c: New file.
24566         * stdlib/tst-setcontext3.sh: New file.
24567         * stdlib/Makefile (tests): Add tst-setcontext3.
24568         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
24569         to verify test program created output file.
24570         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
24571         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
24572         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
24573         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
24575 2015-05-06  Roland McGrath  <roland@hack.frob.com>
24577         [BZ #18383]
24578         * elf/tst-tlsalign.c: New file.
24579         * elf/tst-tlsalign-static.c: New file.
24580         * elf/tst-tlsalign-lib.c: New file.
24581         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
24582         (tests-static): Add tst-tlsalign-static.
24583         (modules-names): Add tst-tlsalign-lib.
24584         (test-xfail-tst-tlsalign): New variable.
24585         (test-xfail-tst-tlsalign-static): New variable.
24587         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
24588         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
24590 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
24592         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
24593         csqrt, erfc, sin and sincos.
24594         * math/auto-libm-test-out: Regenerated.
24595         * sysdeps/i386/fpu/libm-test-ulps: Update.
24596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24598 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24600         * sysdeps/aarch64/libm-test-ulps: Update.
24602 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
24604         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
24605         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
24606         * math/auto-libm-test-out: Regenerated.
24607         * sysdeps/i386/fpu/libm-test-ulps: Update.
24608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24610 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
24612         [BZ #18265]
24613         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
24614         (wcsncpy): Likewise.
24616 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24618         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
24619         Assume __ASSUME_FALLOCATE is always true.
24620         * sysdeps/unix/sysv/linux/posix_fallocate64.c
24621         (__posix_fallocate64_l64): Likweise.
24622         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
24623         (posix_fallocate): Likewise.
24624         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
24625         (__posix_fallocate64_l64): Likewise.
24626         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24627         [!__ASSUME_FALLOCATE]: Add comment.
24629 2015-05-05  Florian Weimer  <fweimer@redhat.com>
24631         * sysdeps/unix/sysv/linux/i386/Makefile
24632         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24633         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
24634         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
24635         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
24636         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
24637         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
24638         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
24640 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
24642         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
24643         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
24644         tgamma.
24645         * math/auto-libm-test-out: Regenerated.
24646         * sysdeps/i386/fpu/libm-test-ulps: Update.
24647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24649 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24651         * math/auto-libm-test-in: Add more tests of tgamma.
24652         * math/auto-libm-test-out: Regenerated.
24653         * sysdeps/i386/fpu/libm-test-ulps: Update.
24654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24656         * math/auto-libm-test-in: Add more tests of tanh.
24657         * math/auto-libm-test-out: Regenerated.
24658         * sysdeps/i386/fpu/libm-test-ulps: Update.
24659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24661         * math/auto-libm-test-in: Add more tests of tan.
24662         * math/auto-libm-test-out: Regenerated.
24663         * sysdeps/i386/fpu/libm-test-ulps: Update.
24664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24666         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
24667         * math/auto-libm-test-out: Regenerated.
24668         * sysdeps/i386/fpu/libm-test-ulps: Update.
24669         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24671         * math/auto-libm-test-in: Add another test of pow.
24672         * math/auto-libm-test-out: Regenerated.
24673         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24675         * math/auto-libm-test-in: Add more tests of lgamma.
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         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
24681         log1p.
24682         * math/auto-libm-test-out: Regenerated.
24683         * sysdeps/i386/fpu/libm-test-ulps: Update.
24684         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24686 2015-05-01  Mark Wielaard  <mjw@redhat.com>
24688         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
24689         Elf64_Chdr structs and ELFCOMPRESS constants.
24691 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
24693         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
24694         expm1.
24695         * math/auto-libm-test-out: Regenerated.
24696         * sysdeps/i386/fpu/libm-test-ulps: Update.
24697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24699         * math/auto-libm-test-in: Add more tests of erf and erfc.
24700         * math/auto-libm-test-out: Regenerated.
24701         * sysdeps/i386/fpu/libm-test-ulps: Update.
24702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24704 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24706         * config.h.in (HAVE_AARCH64_BE): Add.
24708 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
24710         * math/auto-libm-test-in: Add more tests of csqrt.
24711         * math/auto-libm-test-out: Regenerated.
24712         * sysdeps/i386/fpu/libm-test-ulps: Update.
24713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24715         * math/auto-libm-test-in: Add more tests of cosh and sinh.
24716         * math/auto-libm-test-out: Regenerated.
24717         * sysdeps/i386/fpu/libm-test-ulps: Update.
24718         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24720         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
24722 2015-04-29  Roland McGrath  <roland@hack.frob.com>
24724         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
24725         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
24727         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
24728         (euidaccess, eaccess): Define as weak aliases.
24730         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
24731         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
24732         but __suseconds_t is often 'long int' so some sources assume that
24733         type is being used (e.g. they use %ld to print tv_usec).
24735 2015-04-29  Florian Weimer  <fweimer@redhat.com>
24737         [BZ #18007]
24738         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
24739         (CVE-2014-8121)
24740         * nss/tst-nss-getpwent.c: New file.
24741         * nss/Makefile (tests): Add new test.
24743 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
24745         [BZ #18346]
24746         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
24747         exponents less than 48 as cases where high part of mantissa needs
24748         examining to determine whether argument is integral.
24749         * math/libm-test.inc (round_test_data): Add more tests.
24751 2015-04-28  Mark Wielaard  <mjw@redhat.com>
24753         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
24755 2015-04-27  David S. Miller  <davem@davemloft.net>
24757         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
24758         __tls_get_addr.
24759         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
24761 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
24763         [BZ#18333]
24764         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
24766 2015-04-27  Florian Weimer  <fweimer@redhat.com>
24768         [BZ#18333]
24769         * time/tzset.c (parse_tzname): Return error on memory allocation
24770         failure.
24771         * test-skeleton.c (struct temp_name_list): Change type of name
24772         member to non-const.
24773         (add_temp_file): Create a copy of the file name.
24774         (delete_temp_files): Deallocate memory.
24775         (create_temp_file): Add comment.
24777 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24779         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
24780         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
24782 2015-04-24  Roland McGrath  <roland@hack.frob.com>
24784         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
24785         * sysdeps/arm/configure: Regenerated.
24787 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24789         [BZ #17715]
24790         * time/tzfile.c (__tzfile_read): Check for large values of
24791         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
24792         * time/tzset.c (__tzstring_len): New function, based on the old
24793         __tzstring function.
24794         (__tzstring): Call __tzstring_len.
24795         (parse_tzname): New helper function extracted from
24796         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
24797         the input string.
24798         (parse_offset): New helper function extracted from
24799         __tzset_parse_tz.  Replace switch with fallthrough with
24800         initialization before sscanf.
24801         (parse_rule): Likewise.
24802         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
24803         new-style function definition.
24804         * timezone/Makefile (tests): Add tst-tzset.
24805         (tst-tzset.out): Dependencies on time zone files.
24806         (tst-tzset-ENV): Set TZDIR.
24807         (testdata/XT%): Copy crafted time zone files.
24808         * timezone/README: Mention crafted time zone files.
24809         * timezone/testdata/XT1, timezone/testdata/XT2,
24810         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
24811         files.
24812         * timezone/tst-tzset.c: New test.
24814 2015-04-24  Florian Weimer  <fweimer@redhat.com>
24816         * Makeconfig (+gccwarn): Remove -Winline.
24818 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24820         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
24822 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
24824         * NEWS: Mention sysconf() cache information support for s390.
24825         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
24827 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
24829         * math/k_casinh.c (__kernel_casinh): Use __copysign.
24830         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
24831         (__nearbyint): Likewise.
24832         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
24833         (copysignl): Likewise.
24835 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
24837         [BZ #18287]
24838         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
24839         based on padding.  (CVE-2015-1781)
24841 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24843         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
24844         libc-vdso.h.
24845         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
24846         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
24847         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
24848         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
24849         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
24850         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
24851         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
24852         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
24853         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24854         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
24855         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
24856         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24857         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
24858         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
24859         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
24860         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
24861         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
24862         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
24863         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
24864         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
24865         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
24866         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
24867         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
24869 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
24871         * stdlib/setenv.c (__add_to_environ):
24872         Dump core quickly if setenv (..., NULL, ...) is called.
24873         This time, do it the right way, and pacify GCC with a pragma.
24875 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24877         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
24878         IMAP->l_prev cannot be null, and #if out the code for the contrary
24879         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
24880         believe that NS (&_dl_ns[NSID]) could point outside the array.
24882         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
24883         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
24884         before using NSID as an index.
24886 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
24888         [BZ #17825]
24889         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
24890         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
24891         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24893 2015-04-17  Roland McGrath  <roland@hack.frob.com>
24895         Add preliminary port to Google Native Client on ARM.
24896         * abi-tags (.*-.*-nacl.*): New entry.
24897         * sysdeps/arm/nacl: New directory.
24898         * sysdeps/nacl: New directory.
24900 2015-04-16  David S. Miller  <davem@davemloft.net>
24902         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
24903         lowlevellock-futex.h
24905 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
24907         * sysdeps/tile/configure.ac: New file.
24908         * sysdeps/tile/configure: Regenerated.
24910 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24912         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
24913         conditionals for weak_alias and libc_hidden_weak.
24914         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
24915         libc_hidden_weak and weak_alias.
24916         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
24917         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
24918         and weak_alias for static one.
24920 2015-04-15  David S. Miller  <davem@davemloft.net>
24922         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24924 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24926         [BZ #18206]
24927         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
24928           Use signed comparision instead of substraction to avoid
24929           overflow bug.
24930         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
24931           Take the sign of ret.
24932         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
24933           Do not expect precise return values. Only the sign matters.
24934         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
24935         * wcsmbs/test-wcsncmp.c: New File.
24936         * string/test-strncmp.c: Add wcsncmp support.
24938 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
24940         [BZ #6792]
24941         * math/w_log1p.c: New file.
24942         * math/w_log1pf.c: Likewise.
24943         * math/w_log1pl.c: Likewise.
24944         * math/Makefile (libm-calls): Add w_log1p.
24945         * math/s_log1pl.c (log1pl): Remove weak_alias.
24946         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
24947         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
24948         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
24949         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
24950         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
24951         [NO_LONG_DOUBLE] (log1pl): Likewise.
24952         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
24953         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
24954         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
24955         (log1p): Remove long_double_symbol.
24956         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
24957         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
24958         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
24959         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
24960         remove weak_alias for corresponding log1p function.
24961         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
24962         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
24963         * sysdeps/ia64/fpu/w_log1p.c: New file.
24964         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
24965         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
24966         * math/libm-test.inc (log1p_test_data): Add errno expectations.
24968 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
24970         [BZ #18247]
24971         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
24972         decimal exponent by 1.
24973         * stdlib/tst-strtod-round-data: Add more tests.
24974         * stdlib/tst-strtod-round.c (tests): Regenerated.
24976 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
24978         * math/auto-libm-test-in: Add more tests of clog and clog10.
24979         * math/auto-libm-test-out: Regenerated.
24980         * sysdeps/i386/fpu/libm-test-ulps: Update.
24981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24983 2015-04-09  Roland McGrath  <roland@hack.frob.com>
24985         * Makeconfig (module-cppflags): Exclude all .v.i files.
24986         (skip-module-cppflags): Variable removed.
24988         * configure.ac (libc_config_ok): Initialize before reading
24989         preconfigure scripts, not after.
24990         * configure: Regenerated.
24992         * test-skeleton.c (TIMEOUT): Move #define to top level.
24993         (main): Grok environment variable TEST_DIRECT.  If set, print
24994         test expectation details into that file and then behave as if
24995         given --direct.
24997 2015-04-09  Florian Weimer  <fweimer@redhat.com>
24999         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
25000         warning on 32-bit.
25002 2015-04-08  David S. Miller  <davem@davemloft.net>
25004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25006 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25008         * math/auto-libm-test-in: Add more tests of atanh.
25009         * math/auto-libm-test-out: Regenerated.
25010         * sysdeps/i386/fpu/libm-test-ulps: Update.
25011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25013         * math/auto-libm-test-in: Add more tests of atan.
25014         * math/auto-libm-test-out: Regenerated.
25015         * sysdeps/i386/fpu/libm-test-ulps: Update.
25016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25018 2015-04-08  Florian Weimer  <fweimer@redhat.com>
25020         * elf/pldd.c (main): Rewrite to use struct
25021         scratch_buffer instead of extend_alloca.
25022         * elf/pldd-xx.c (find_maps): Likewise.
25023         * grp/initgroups.c: Include <scratch_buffer.h> instead of
25024         <alloca.h>.
25025         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
25026         scratch_buffer instead of extend_alloca.
25027         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
25028         grp/compat-initgroups.c.
25029         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
25030         Rewrite to use struct scratch_buffer instead of extend_alloca.
25031         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
25032         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
25034 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
25036         * math/auto-libm-test-in: Add more tests of cbrt.
25037         * math/auto-libm-test-out: Regenerated.
25038         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25040         * math/auto-libm-test-in: Add more tests of cabs.
25041         * math/auto-libm-test-out: Regenerated.
25042         * sysdeps/i386/fpu/libm-test-ulps: Update.
25043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25045         [BZ #18210]
25046         [BZ #18211]
25047         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
25048         (__ieee754_atan2): Set FE_TONEAREST mode for internal
25049         computations.
25050         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
25051         clog10.
25052         * math/auto-libm-test-out: Regenerated.
25053         * sysdeps/i386/fpu/libm-test-ulps: Update.
25054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25056         [BZ #18197]
25057         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
25058         (atan): Set FE_TONEAREST mode for internal computations.
25059         * math/auto-libm-test-in: Add more tests of atan.
25060         * math/auto-libm-test-out: Regenerated.
25062 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
25064         [BZ #17930]
25065         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
25067 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25069         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
25071 2015-04-07  Florian Weimer  <fweimer@redhat.com>
25073         * include/scratch_buffer.h: New file.
25074         * malloc/scratch_buffer_grow.c: Likewise.
25075         * malloc/scratch_buffer_grow_preserve.c: Likewise.
25076         * malloc/scratch_buffer_set_array_size.c: Likewise.
25077         * malloc/tst-scratch_buffer.c: Likewise.
25078         * malloc/Makefile (routines): Add scratch_buffer_grow.
25079         (tests): Add test case.
25080         * malloc/Versions (GLIBC_PRIVATE): Export
25081         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
25082         __libc_scratch_buffer_set_array_size.
25084 2015-04-06  Richard Henderson  <rth@redhat.com>
25086         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
25087         * sysdeps/alpha/fpu/libm-test-ulps: Update.
25089         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
25090         unsigned int before printing.
25092 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25094         [BZ #17596]
25095         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
25096         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
25098 2015-04-02  Florian Weimer  <fweimer@redhat.com>
25100         * include/libc-internal.h (libc_max_align_t): Define.
25102 2015-04-02  Andreas Schwab  <schwab@suse.de>
25104         [BZ #16850]
25105         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
25107 2015-04-02  Mel Gorman  <mgorman@suse.de>
25109         [BZ #17195]
25110         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
25111         as well as the main arena.
25113 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25115         [BZ #18185]
25116         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
25117         sharing L2 cache to 2 for Silvermont/Knights Landing.
25119 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25121         [BZ #17711]
25122         * config.make.in (have-protected-data): New.
25123         * configure.ac: Check linker support for protected data symbol.
25124         * configure: Regenerated.
25125         * elf/Makefile (modules-names): Add tst-protected1moda and
25126         tst-protected1modb if $(have-protected-data) is yes.
25127         (tests): Add tst-protected1a and tst-protected1b if
25128         $(have-protected-data) is yes.
25129         ($(objpfx)tst-protected1a): New.
25130         ($(objpfx)tst-protected1b): Likewise.
25131         (tst-protected1modb.so-no-z-defs): Likewise.
25132         * elf/tst-protected1a.c: New file.
25133         * elf/tst-protected1b.c: Likewise.
25134         * elf/tst-protected1mod.h: Likewise.
25135         * elf/tst-protected1moda.c: Likewise.
25136         * elf/tst-protected1modb.c: Likewise.
25138 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
25140         [BZ #17711]
25141         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
25142         indicates it is called from do_lookup_x on relocation against
25143         protected data, skip the data definion in the executable from
25144         copy reloc.
25145         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
25146         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
25147         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
25148         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
25149         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
25150         otherwise to 0.
25151         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25152         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
25153         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
25154         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
25155         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
25156         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
25158 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
25160         * sysdeps/nptl/pthread.h: Remove duplicate definition of
25161         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
25163 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
25165         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
25166         THREAD_SETMEM_NC.
25167         * sysdeps/x86_64/nptl/tls.h: Ditto.
25169 2015-03-27  Roland McGrath  <roland@hack.frob.com>
25171         * dlfcn/tststatic.c (main): Converted to ...
25172         (do_test): ... this.
25173         (TEST_FUNCTION): New macro.
25174         Include test-skeleton.c.
25176 2015-03-26  Alan Modra  <amodra@gmail.com>
25178         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
25179         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
25180         zero for undefined weak.
25181         (elf_machine_plt_conflict): Similarly.
25183 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25185         * math/auto-libm-test-in: Add more tests of acosh, asinh and
25186         atanh.
25187         * math/auto-libm-test-out: Regenerated.
25188         * sysdeps/i386/fpu/libm-test-ulps: Update.
25189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25191         * math/auto-libm-test-in: Add another test of asin.
25192         * math/auto-libm-test-out: Regenerated.
25193         * sysdeps/i386/fpu/libm-test-ulps: Update.
25194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25196         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
25197         Remove macro.
25198         (LLL_EBX_REG): Likewise.
25199         (LLL_ENTER_KERNEL): Likewise.
25201         * math/auto-libm-test-in: Add more tests of asin.
25202         * math/auto-libm-test-out: Regenerated.
25203         * sysdeps/i386/fpu/libm-test-ulps: Update.
25204         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25206         [BZ #18138]
25207         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
25208         libc_do_syscall_args): New structure.
25209         (INTERNAL_SYSCALL_MAIN_0): New macro.
25210         (INTERNAL_SYSCALL_MAIN_1): Likewise.
25211         (INTERNAL_SYSCALL_MAIN_2): Likewise.
25212         (INTERNAL_SYSCALL_MAIN_3): Likewise.
25213         (INTERNAL_SYSCALL_MAIN_4): Likewise.
25214         (INTERNAL_SYSCALL_MAIN_5): Likewise.
25215         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
25216         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
25217         Replace conditional definitions by conditional definitions of ....
25218         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
25219         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
25220         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
25221         (libpthread-sysdep_routines): Add libc-do-syscall.
25222         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
25223         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
25224         to __NR_futex not 240.
25226 2015-03-25  Alan Modra  <amodra@gmail.com>
25228         * NEWS: Advertise TLS optimization.
25229         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
25230         (DT_PPC_NUM): Increment.
25231         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
25232         (CHECK_STATIC_TLS): Use here.
25233         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
25234         TLS descriptors.
25235         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
25236         * sysdeps/powerpc/dl-tls.c: New file.
25237         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
25238         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
25239         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
25240         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
25241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
25242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
25243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
25245 2015-03-25  Alan Modra  <amodra@gmail.com>
25247         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
25248         for overlapping .opd entries" to "support...".
25249         * sysdeps/powerpc/powerpc64/configure: Regenerate
25251 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
25253         * math/auto-libm-test-in: Add more tests of acos.
25254         * math/auto-libm-test-out: Regenerated.
25255         * sysdeps/i386/fpu/libm-test-ulps: Update.
25256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25258         * math/auto-libm-test-in: Add more tests of expm1.
25259         * math/auto-libm-test-out: Regenerated.
25260         * sysdeps/i386/fpu/libm-test-ulps: Update.
25261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25263 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
25265         * math/auto-libm-test-in: Add more tests of cosh and sinh.
25266         * math/auto-libm-test-out: Regenerated.
25267         * sysdeps/i386/fpu/libm-test-ulps: Update.
25268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25270         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25273         * math/auto-libm-test-in: Add more tests of log2.
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 2015-03-23  Roland McGrath  <roland@hack.frob.com>
25280         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
25281         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
25282         _IO_IS_APPENDING bit in READ_WRITE instead.
25284 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25286         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25287         (__determine_cpumask_size): Replace extend_alloca with a
25288         variable-length array.  Do not treat res == 0 as an error.
25290 2015-03-23  Florian Weimer  <fweimer@redhat.com>
25292         [BZ #18100]
25293         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
25294         and integer overflow.
25295         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
25296         (main): Add integer overflow tests.
25297         * manual/pattern.texi (Calling Wordexp): Document additional use
25298         for WRDE_SYNTAX.
25300 2015-03-23  Alan Modra  <amodra@gmail.com>
25302         * config.h.in: Remove HAVE_ASM_PPC_REL16.
25303         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
25304         and false branch of conditional.
25305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
25306         Likewise.
25308 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
25310         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
25311         libc-modules.h
25312         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
25313         unused declaration of _hurd_intr_rpc_msg_in_trap.
25314         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
25315         defined instead of whether it is non-zero.
25316         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
25317         input constraint instead of both input and output constraint.  Use ecx
25318         clobber instead of %ecx.
25319         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
25320         mutex_unlock): Use a statement expression instead of an expression list.
25321         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
25322         type to vm_size_t instead of vm_address_t.
25323         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
25324         defined instead of whether it is non-zero.
25325         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
25326         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
25327         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
25328         comparisons with mapaddr.
25329         * nscd/nscd-client.h: Include <time.h>.
25330         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
25331         9th parameter to __vm_region instead of int.
25332         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
25333         * scripts/check-local-headers.sh (exclude): Add device/,
25334         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
25335         cthreads.h.
25337 2015-03-19  Roland McGrath  <roland@hack.frob.com>
25339         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
25340         to account for alignment padding.
25341         * sysdeps/arm/memmove.S: Likewise.
25343 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
25345         * sysdeps/unix/sysv/linux/generic/README: New file.
25347 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
25349         [BZ #18138]
25350         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
25351         (futex_abstimed_wait)
25352         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
25353         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
25354         of lll_futex_timed_wait.
25356 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
25358         [BZ #17542]
25359         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
25361 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
25363         [BZ #17090]
25364         [BZ #17620]
25365         [BZ #17621]
25366         [BZ #17628]
25367         * NEWS: Update.
25368         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
25369         entries with Static TLS too.  Skip entries past the end of the
25370         allocated DTV, from Alan Modra.
25371         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
25372         Static TLS DTV entry set up from...
25373         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
25374         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
25375         * nptl/allocatestack.c (init_one_static_tls): ... and here...
25376         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
25377         for Static TLS.
25378         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
25379         that the slot we find is associated with the given map before
25380         using its generation count.
25381         * nptl_db/db_info.c: Include ldsodefs.h.
25382         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
25383         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
25384         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
25385         (link_map::l_tls_offset): New struct field.
25386         (dtv_t::counter): Likewise.
25387         (rtld_global): New struct.
25388         (_rtld_global): New rtld variable.
25389         (dl_tls_dtv_slotinfo_list): New rtld global field.
25390         (dtv_slotinfo_list): New struct.
25391         (dtv_slotinfo): Likewise.
25392         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
25393         (td_lookup): Rename to...
25394         (td_mod_lookup): ... this.  Use new mod parameter instead of
25395         LIBPTHREAD_SO.
25396         * nptl_db/td_thr_tlsbase.c: Include link.h.
25397         (dtv_slotinfo_list, dtv_slotinfo): New functions.
25398         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
25399         addresses even if the DTV is out of date or missing them.
25400         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
25401         index zero-length arrays.
25402         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
25403         (td_lookup): Make it a macro implemented in terms of...
25404         (td_mod_lookup): ... this declaration.
25405         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
25406         (DB_MAIN_VARIABLE): Likewise.
25408 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
25410         [BZ #18134]
25411         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
25413 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
25415         * stdlib/setenv.c (__add_to_environ): Revert previous change.
25417 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
25419         [BZ #18128]
25420         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
25421         (atomic_add, atomic_increment_and_test)
25422         (atomic_decrement_and_test): Fix 64-bit arithmetic.
25424 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
25426         * stdlib/setenv.c (__add_to_environ):
25427         Dump core quickly if setenv (..., NULL, ...) is called.
25429 2015-03-13  Roland McGrath  <roland@hack.frob.com>
25431         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
25432         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
25433         all the necessary asm magic in one place.
25434         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
25435         using those.
25437 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
25439         [BZ #14906]
25440         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
25441         traced file mtime. Use consistent log message.
25442         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
25443         (register_traced_file): Call install_watches. Always set mtime.
25444         (invalidate_cache): Iterate over all trace files. Call install_watches.
25445         (inotify_check_files): Don't inline. Handle watching parent
25446         directories and configuration file movement in and out.
25447         (handle_inotify_events): New function.
25448         (main_loop_poll): Call handle_inotify_events.
25449         (main_loop_epoll): Likewise.
25450         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
25451         (struct traced_file): Use array of inotify fds. Add parent directory,
25452         and basename.
25453         (struct database_dyn): Remove unused file_mtime.
25454         (init_traced_file): New inline function.
25455         (define_traced_file): New macro.
25456         * nss/nss_db/db-init.c: Use define_traced_file.
25457         (_nss_db_init): Use init_traced_file.
25458         * nss/nss_files/files-init.c: Use define_traced_file.
25459         (_nss_files_init): Use init_traced_file.
25461 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
25463         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
25464         [_LIBC]: Do not include <stdlib.h>.
25465         [!_LIBC] (abort): Remove declaration.
25466         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
25467         _FP_STATIC_ASSERT instead of conditionally calling abort.
25468         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
25469         (_FP_EXTEND_CNAN): Likewise.
25470         (FP_TRUNC): Likewise.
25471         (__FP_CLZ): Likewise.
25472         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
25474 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
25476         * manual/string.texi (XPG basename): Fix prototype.
25478 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25480         [BZ #18080]
25481         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
25482         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25483         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
25484         (__setcontext): Likewise.
25485         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
25486         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
25487         Call rt_sigprocmask syscall one time to set new signal mask
25488         and retrieve the current signal mask instead of two calls.
25489         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
25490         (__swapcontext): Likewise.
25491         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
25492         * stdlib/tst-setcontext2.c: New file.
25494 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25496         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
25498 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
25500         [BZ #18093]
25501         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
25502         the wrong size.
25504 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
25506         [BZ #18043]
25507         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
25509 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25511         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
25512         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
25513         Remove define.
25514         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
25515         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
25516         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
25517         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
25518         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
25519         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
25520         define.
25521         * nptl_db/td_symbol_list.c (td_lookup): Remove
25522         HAVE_ASM_GLOBAL_DOT_NAME code.
25523         * sysdeps/powerpc/powerpc64/configure.ac: Remove
25524         HAVE_ASM_GLOBAL_DOT_NAME check.
25525         * sysdeps/powerpc/powerpc64/configure: Regenerate.
25526         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
25527         (DOT_LABEL): Remove define.
25528         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
25529         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
25530         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
25531         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
25532         (__TLS_GET_ADDR): Likewise.
25533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
25534         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
25536 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
25538         [BZ #18111]
25539         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
25540         (_FPU_SETCW): Initialize cw from fpsr before storing.
25541         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
25542         (fesetexceptflag): Rewrite using fpu_control.h.
25543         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
25545 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
25547         [BZ #18110]
25548         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
25549         asms.
25550         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
25552 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
25554         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
25555         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
25556         abort.
25557         (_FP_FMA): Likewise.
25558         (_FP_DIV): Likewise.
25560 2015-03-10  Roland McGrath  <roland@hack.frob.com>
25562         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
25563         with 0 in that case.
25564         * Makefile (summarize-tests): New canned sequence, factored out of
25565         commands for targets tests and xtests.  Display summary lines that
25566         don't start with PASS: or XFAIL: rather than ones that do start with
25567         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
25568         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
25569         do start with ERROR: or FAIL:.
25570         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
25571         (except for [$(build-shared) = yes]).
25572         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
25573         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
25574         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
25575         * nptl/Makefile: Revert 2015-03-04 changes.
25576         [$(CXX) empty] (tests-unsupported): New variable.
25577         * debug/Makefile: Likewise.
25579         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
25580         gnulib file.  Replace __attribute with __attribute__ throughout.
25582 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
25584         * sysdeps/hppa/fpu/libm-test-ulps: Update.
25586 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25588         [BZ #18104]
25589         * math/auto-libm-test-in: Add another test of pow.
25590         * math/auto-libm-test-out: Regenerated.
25592 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25594         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
25595         $(config-cflags-nofma).
25597 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
25599         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
25600         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
25601         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
25602         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
25603         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
25604         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
25605         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
25606         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
25607         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
25608         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
25609         Add comment on closing #endif.
25611 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25613         * posix/wordexp.c (CHAR_IN_SET): New macro.
25614         (parse_param): Use it.
25616 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25618         * sysdeps/powerpc/fpu/libm-test-ulps: update.
25620 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25622         [BZ #18043]
25623         * posix/wordexp.c (parse_param): Fix buffer overflow.
25624         * posix/wordexp-test.c (test_case): Add test case.
25626 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25628         [BZ #18042]
25629         * posix/wordexp.c (parse_backtick): Fix off-by-one.
25630         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
25632 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
25634         [BZ #18043]
25635         * posix/wordexp-test.c (test_case): Add test for BZ #18043
25636         (do_bz18043): Delete.
25637         (at_page_end): New.
25638         (testit): Refactor to have words at the edge of unreadable page.
25640 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
25642         [BZ #16734]
25643         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
25644         Cleanup read-only streams as well.
25645         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
25647 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25649         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
25650         <bits/libc-lockP.h>
25652 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
25654         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
25655         on [__KERNEL__].
25656         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
25657         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
25658         * soft-fp/op-common.h (_FP_DECL): Likewise.
25660 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
25662         * elf/ifuncdep2.c (global): Replace
25663         __attribute__((visibility("protected"))) with
25664         asm (".protected global").
25665         * elf/ifuncmod1.c (global): Likewise.
25666         * elf/ifuncmod5.c (global): Likewise.
25668 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
25670         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
25671         <asm/sfp-machine.h> instead of <sfp-machine.h>.
25673 2015-03-06  Roland McGrath  <roland@hack.frob.com>
25675         * manual/install.texi (Configuring and compiling):
25676         Document test-wrapper-env-only.
25677         * INSTALL: Regenerated.
25679 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25681         [BZ #18043]
25682         * posix/wordexp.c (parse_param): Fix buffer overflow.
25683         * posix/wordexp-test.c (do_bz18043): Add test case.
25685 2015-03-06  Vincent Bernat  <vincent@bernat.im>
25687         * time/tst-strptime2.c (do_test): Ensure failing tests are
25688         reported correctly.
25689         * time/tst-strptime3.c (do_test): Likewise.
25691 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
25693         Fix aio_error thread-safety.
25694         * sysdeps/pthread/aio_error.c: New file
25695         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
25696         synchronization.
25698 2015-03-06  Florian Weimer  <fweimer@redhat.com>
25700         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
25701         (group_number, vfprintf): Use it.
25702         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
25703         (JUMP, REF): Use it.
25704         (WORK_BUFFER_SIZE): New enum constant.
25705         (process_arg, vfprintf): Use it.
25707 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
25709         * manual/errno.texi (Error Messages): Complete example function
25710         by adding missing #define.
25711         (program_invocation_name): Add statement indicating GNU
25712         extension and reference which header file declares the variable.
25713         (program_invocation_short_name): Likewise.
25715 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
25717         * manual/errno.texi (Error Messages): Delete strerror ISO C89
25718         compatibility note.
25720 2015-03-05  Roland McGrath  <roland@hack.frob.com>
25722         * Makeconfig (test-wrapper-env-only): New variable.
25723         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
25724         then use that with $(test-wrapper-env-only) rather than using
25725         $(test-wrapper-env) $(run-program-env) $($*-ENV).
25727 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
25729         [BZ #18082]
25730         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
25731         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
25732         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
25733         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
25734         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
25735         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
25736         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
25737         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
25738         Likewise.
25739         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
25740         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
25741         Likewise.
25742         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
25743         Likewise.
25744         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
25745         Likewise.
25746         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
25747         Likewise.
25748         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
25749         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
25750         Likewise.
25751         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
25752         Likewise.
25753         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
25754         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
25756 2015-03-04  Roland McGrath  <roland@hack.frob.com>
25758         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
25759         (ETH_ALEN): New macro.
25760         (struct ether_addr): Use it for length of ether_addr_octet.
25762         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
25763         (setdb): Don't call __nss_configure_lookup for "rpc".
25764         (do_test): Don't call test_rpc.
25765         (output_rpcent, test_rpc): Functions moved ...
25766         * sunrpc/test-rpcent.c: ... to this new file.
25767         * sunrpc/Makefile (tests): Add it.
25769         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
25770         __xpg_sigpause.
25771         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
25772         * nptl/tst-signal6.c: Likewise.
25773         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
25774         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
25776         * configure.ac (libc_cv_cxx_link_ok): New check.
25777         Reset CXX to empty if it fails to link.
25778         * configure: Regenerated.
25779         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
25780         bug-atexit3-lib only if $(CXX) is nonempty.
25781         * nptl/Makefile (tests): Likewise for tst-cancel24.
25782         (tests, tests-static): Likewise for tst-cancel24-static.
25783         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
25784         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
25785         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
25786         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
25788 2015-03-04  Andreas Schwab  <schwab@suse.de>
25790         [BZ #17631]
25791         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
25792         for non-GCC compilers.
25793         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
25794         Likewise.
25796 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25798         [BZ #17776]
25799         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
25800         integer before bitwise and assembly operations.
25801         (feclearexcept): Likewise.
25802         * math/test-fenvinline.c: New file.
25803         * math/Makefile: Add test-fenvinline test.
25805 2015-03-03  Alan Modra  <amodra@gmail.com>
25807         [BZ #16512]
25808         * scripts/localplt.awk: Strip off symbol version.
25809         * NEWS: Mention bug fix.
25811 2015-03-02  Roland McGrath  <roland@hack.frob.com>
25813         * sysdeps/pthread/timer_routines.c
25814         (timer_free_list, thread_free_list, thread_active_list): Make static.
25816 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
25818         [BZ #17779]
25819         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25820         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25821         Undefine.
25822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25823         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25824         Likewise.
25825         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25826         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
25827         Likewise.
25829 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
25831         [BZ #18036]
25832         * posix/fnmatch_loop.c (END): Detect invalid pattern.
25833         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
25835 2015-03-02  Andreas Schwab  <schwab@suse.de>
25837         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
25838         variable name.
25840 2015-03-02  Florian Weimer  <fweimer@redhat.com>
25842         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
25843         Return error status.
25845 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
25847         [BZ #15969]
25848         * locale/findlocale.c (_nl_find_locale): Introduce const
25849         version of loc_name and drop unsafe type casts.
25851 2015-02-27  Roland McGrath  <roland@hack.frob.com>
25853         * dlfcn/tststatic2.c (main): Converted to ...
25854         (do_test): ... this.
25855         (TEST_FUNCTION): New macro.
25856         Include test-skeleton.c.
25858 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
25860         [BZ #17711]
25861         * elf/Makefile (tests): Add vismain only if PIE is enabled.
25862         (tests-pie): Add vismain.
25863         (CFLAGS-vismain.c): New.
25864         * elf/vismain.c: Add comments for PIE requirement.
25866 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25868         [BZ #18046]
25869         [BZ #18047]
25870         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
25871         0x1p-56L as threshold for just returning the argument.
25872         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
25873         0x1p-32L as threshold for just returning the argument.
25874         * math/auto-libm-test-in: Add more tests of atanh.
25875         * math/auto-libm-test-out: Regenerated.
25876         * sysdeps/i386/fpu/libm-test-ulps: Update.
25877         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
25879 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25881         * string/bcopy.c (bcopy): Call memmove for performance.
25883 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
25885         * string/bzero.c (__bzero): Call memset for performance.
25887 2015-02-27  John David Anglin  <dave.anglin@bell.net>
25889         [BZ #18068]
25890         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
25891         to 00100000.
25893 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
25895         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
25897 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25899         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
25900         (__kernel_standard): Use CSTR macro when setting exc.name.
25901         * sysdeps/ieee754/Makefile [$(subdir) = math]
25902         (CFLAGS-k_standard.c): Remove variable.
25904         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
25905         setting p and q from "else if" to "else".
25906         (qzero): Likewise.
25907         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
25908         (qone): Likewise.
25909         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
25910         (qzerof): Likewise.
25911         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
25912         (qonef): Likewise.
25913         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
25914         (qzero): Likewise.
25915         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
25916         (qone): Likewise.
25918         [BZ #18038]
25919         [BZ #18039]
25920         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
25921         return pi/2 for arguments below 0x1p-113L.
25922         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
25923         return pi/2 for arguments below 0x1p-106L.
25924         * math/auto-libm-test-in: Add more tests of acos.
25925         * math/auto-libm-test-out: Regenerated.
25927         [BZ #16351]
25928         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
25929         (MO): New macro.
25930         (__ieee754_asin): Force underflow exception for results with small
25931         absolute value.
25932         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
25933         (MO): New macro.
25934         (__ieee754_asinf): Force underflow exception for results with
25935         small absolute value.
25936         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
25937         (__ieee754_asin): Force underflow exception for results with small
25938         absolute value.
25939         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
25940         (__ieee754_asinf): Force underflow exception for results with
25941         small absolute value.
25942         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
25943         (__ieee754_asinl): Force underflow exception for results with
25944         small absolute value.
25945         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
25946         (__ieee754_asinl): Force underflow exception for results with
25947         small absolute value.
25948         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
25949         (__ieee754_asinl): Force underflow exception for results with
25950         small absolute value.
25951         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
25952         Include <math.h>.
25953         * math/auto-libm-test-in: Do not mark underflow exceptions as
25954         possibly missing for bug 16351.
25955         * math/auto-libm-test-out: Regenerated.
25957         [BZ #18030]
25958         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
25959         of power of 2 down when low part has opposite sign.
25960         * math/libm-test.inc (logb_test_data): Add more tests.
25962 2015-02-26  Andreas Schwab  <schwab@suse.de>
25964         [BZ #18032]
25965         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
25966         over collating symbol inside a bracket expression.  Minor cleanup.
25967         * posix/tst-fnmatch3.c (do_test): Add test case.
25969 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
25971         [BZ #18029]
25972         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
25973         Adjust exponent of power of 2 down when low part has opposite
25974         sign.
25975         * math/libm-test.inc (ilogb_test_data): Add more tests.
25977 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
25979         [BZ #15969]
25980         * locale/findlocale.c (_nl_find_locale): Fix constness error in
25981         the previous change.
25983         [BZ #15969]
25984         * locale/findlocale.c (_nl_find_locale): Retry archive search
25985         after alias expansion.
25987 2015-02-25  Roland McGrath  <roland@hack.frob.com>
25989         * iconv/tst-iconv3.c (main): Converted to ...
25990         (do_test): ... this.
25991         (TEST_FUNCTION): New macro.
25992         Include test-skeleton.c.
25994         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
25995         (convert): Make function static.
25996         (test_unalign): Likewise.  Add const to argument pointee types.
25997         (main): Replace with static function do_test.
25998         Print "Succeeded." only if RET is zero.
25999         (TEST_FUNCTION): New macro.
26000         Include test-skeleton.c.
26002         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
26003         returns a null pointer.
26005 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26007         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
26008         to __memcpy_ppc only for static builds.
26010 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
26012         [BZ #18020]
26013         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
26014         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
26015         * math/auto-libm-test-in: Add more tests of asinh.
26016         * math/auto-libm-test-out: Regenerated.
26017         * sysdeps/i386/fpu/libm-test-ulps: Update.
26018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26020 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
26022         [BZ #15850]
26023         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
26024         and ip6_mtuinfo definitions here.
26025         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
26026         in this define too.  Update comment.
26028 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
26030         * elf/sprof.c (load_shobj): Tweak error message to match others.
26032 2015-02-24  Kevin Easton  <kevin@guarana.org>
26034         [BZ #16145] (partial fix)
26035         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
26036         to reduce lock contention.
26038 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
26040         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
26041         (struct timex): Update time comment.
26042         (ADJ_SETOFFSET): Define.
26044 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26046         [BZ #18019]
26047         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26048         2**56 not 2**28 as threshold for log (2x) formula.
26049         * math/auto-libm-test-in: Add more tests of acosh.
26050         * math/auto-libm-test-out: Regenerated.
26051         * sysdeps/i386/fpu/libm-test-ulps: Update.
26052         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26054 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26056         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
26057         parenthesis around the buf assignment.
26058         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
26060 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
26062         [BZ #16783]
26063         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
26064         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
26065         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
26066         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26067         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
26068         * math/libm-test.inc (scalb_test_data): Add more tests.
26070 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
26072         [BZ #17916]
26073         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
26074         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
26076 2015-02-24  Eric Rannaud  <e@nanocritical.com>
26078         [BZ #17523]
26079         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
26080         * io/bits/fcntl2.h (open): Use it.
26081         (openat): Likewise.
26082         * io/open.c (__libc_open): Likewise.
26083         * io/open64.c (__libc_open64): Likewise.
26084         * io/open64_2.c (__open64_2): Likewise.
26085         * io/open_2.c (__open_2): Likewise.
26086         * io/openat.c (__openat): Likewise.
26087         * io/openat64.c (__openat64): Likewise.
26088         * io/openat64_2.c (__openat64_2): Likewise.
26089         * io/openat_2.c (__openat_2): Likewise.
26090         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
26091         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
26092         * sysdeps/posix/open64.c (__libc_open64): Likewise.
26093         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26094         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26095         (__open_nocancel): Likewise.
26096         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26097         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26098         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
26100 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26102         [BZ #14841]
26103         * resolv/gethnamaddr.c (getanswer): Skip logging if
26104         RES_USE_DNSSEC is set.
26105         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26107 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
26109         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
26111 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
26113         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
26114         201304L, for Unicode 7.
26116 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
26118         [BZ #17836]
26119         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
26120         shared library.  Add gmon-start.os otherwise.
26121         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
26122         $(objpfx)gmon-start.os if builing shared library.
26123         ($(objpfx)g$(static-start-installed-name)): Likewise.
26125 2015-02-23  Andreas Schwab  <schwab@suse.de>
26127         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
26129 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
26131         [BZ #17269]
26132         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
26133         (enlarge_userbuf): Likewise.
26135 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
26137         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
26138         * math/atest-exp.c (TIMEOUT): Adjust to 200.
26139         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
26140         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
26142 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
26144         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
26145         expression inside statement expression.
26147 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26149         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
26150         <sysdeps/nptl/lowlevellock.h> and remove macros and
26151         functions that are now defined there.
26152         (SYS_futex): Remove.
26153         (lll_compare_and_swap): Remove.
26154         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
26156 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
26158         [BZ #17999]
26159         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
26160         instead of scandirat.
26161         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
26162         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
26163         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
26164         __scandirat.
26165         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
26166         (__scandirat): Declare.  Use libc_hidden_proto.
26167         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
26168         Remove variable.
26169         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
26171 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26173         [BZ #15319]
26174         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
26175         (MO): New macro.
26176         (__ieee754_atan2): For results with small absolute value, force
26177         underflow exception and remove excess range and precision from
26178         return value.
26179         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
26180         (MO): New macro.
26181         (__ieee754_atan2f): For results with small absolute value, force
26182         underflow exception and remove excess range and precision from
26183         return value.
26184         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
26185         (MO): New macro.
26186         (__atan): For results with small absolute value, force underflow
26187         exception and remove excess range and precision from return value.
26188         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
26189         (MO): New macro.
26190         (__atanf): For results with small absolute value, force underflow
26191         exception and remove excess range and precision from return value.
26192         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
26193         <math.h>.
26194         (__ieee754_atan2): Force underflow exception for results with
26195         small absolute value.
26196         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
26197         <math_private.h>.
26198         (atan): Force underflow exception for results with small absolute
26199         value.
26200         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
26201         (__atanf): Force underflow exception for results with small
26202         absolute value.
26203         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
26204         <math.h>.
26205         (__atanl): Force underflow exception for results with small
26206         absolute value.
26207         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
26208         (__atanl): Force underflow exception for results with small
26209         absolute value.
26210         * sysdeps/x86/fpu/bits/mathinline.h
26211         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
26212         (__ieee754_atan2): Only define inline for long double.
26213         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26214         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
26215         * math/auto-libm-test-in: Do not mark underflow exceptions as
26216         possibly missing for bug 15319.  Add more tests of atan2.
26217         * math/auto-libm-test-out: Regenerated.
26218         * math/libm-test.inc (casin_test_data): Do not mark underflow
26219         exceptions as possibly missing for bug 15319.
26220         (casinh_test_data): Likewise.
26221         * sysdeps/i386/fpu/libm-test-ulps: Update.
26223 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
26225         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
26226         * sysdeps/mips/bits/endian.h: Fix comments.
26228 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
26230         [BZ #17996]
26231         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
26232         (hdestroy_r): Likewise.
26233         (hsearch_r): Likewise.
26234         (__hcreate_r): Declare and use libc_hidden_proto.
26235         (__hdestroy_r): Likewise.
26236         (__hsearch_r): Likewise.
26237         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
26238         (hcreate): Call __hcreate_r instead of hcreate_r.
26239         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
26240         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
26241         as weak alias of __hcreate_r.
26242         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
26243         __hdestroy_r.
26244         (hsearch_r): Rename to __hsearch_r and define as weak alias of
26245         __hsearch_r.
26246         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
26247         Remove variable.
26248         (test-xfail-XPG4/search.h/linknamespace): Likewise.
26249         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
26250         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
26251         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
26253 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26255         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
26256         arena_lock into a single arena_get.
26258 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
26260         * dl-reloc.c: Inlucde libc-internal.h.
26261         (_dl_try_allocate_static_tls): Call ALIGN_UP.
26262         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
26263         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
26264         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
26265         (grow_heap): Likewise.
26266         * malloc/malloc.c: Include libc-internal.h.
26267         (do_check_malloc): Call powerof2.
26268         (sysmalloc): Use pagesize. Call ALIGN_UP.
26269         (systrim): Use pagesize.
26270         (mremap_chunk): Use pagesize. Call ALIGN_UP.
26271         (__libc_valloc): Use pagesize.
26272         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
26274 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26276         [BZ #17991]
26277         * include/sys/resource.h (__getrlimit64): Declare.  Use
26278         libc_hidden_proto.
26279         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
26280         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
26281         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
26282         getrlimit64.
26283         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
26284         __getrlimit64.
26285         [!getrlimit64] (getrlimit64): Define as weak alias of
26286         __getrlimit64.  Use libc_hidden_weak.
26287         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
26288         using __getrlimit64 not __new_getrlimit64.
26289         (__GI_getrlimit64): Likewise.
26290         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
26291         Likewise.
26292         (__GI_getrlimit64): Likewise.
26293         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
26294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
26295         (getrlimit): Add __getrlimit64 alias.
26296         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
26297         Likewise.
26298         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
26299         Remove variable.
26300         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
26301         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
26303 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
26305         * libio/fileops.c: Add missing sys/mman.h
26306         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
26308 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
26310         * manual/math.texi (Errors in Math Functions): Clarify goals
26311         regarding inexact and underflow exceptions.
26313 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26315         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
26316         * sysdeps/mips/memset.S: Ditto.
26318 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
26320         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
26322 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
26324         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
26325         (__v1longjmp): Remove versioned symbol.
26326         (__v1siglongjmp): Remove alias and versioned symbol.
26327         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
26328         (__v2siglongjmp): Likewise.
26330 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26332         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
26334 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
26336         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
26338 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26340         [BZ #17987]
26341         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
26342         zero result does not depend on the sign resulting from
26343         subtraction.
26344         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26345         Likewise.
26346         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26347         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26348         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26349         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26350         * math/libm-test.inc (remquo_test_data): Add more tests.
26352 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
26354         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
26355         Problem reported by J William Piggott.
26357 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
26359         [BZ #17978]
26360         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
26361         products 4 * y and 2 * y where those would overflow.
26362         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26363         Likewise.
26364         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
26365         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
26366         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
26367         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
26368         * math/libm-test.inc (remquo_test_data): Add more tests.
26370         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
26372         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
26373         [defined _COMPILING_NEWLIB].
26374         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
26375         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
26377         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
26378         [!defined __mips_isa_rev || __mips_isa_rev < 6].
26380 2015-02-16  Torvald Riegel  <triegel@redhat.com>
26382         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
26383         acquired.
26385 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
26387         [BZ #17792]
26388         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
26389         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
26390         HOST_STACK_END_ADDR): Likewise.
26392 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
26394         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
26395         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
26396         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
26398 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26400         * sysdeps/generic/c++-types.data: New file.
26401         * sysdeps/generic/ld.abilist: New file.
26402         * sysdeps/generic/libBrokenLocale.abilist: New file.
26403         * sysdeps/generic/libanl.abilist: New file.
26404         * sysdeps/generic/libc.abilist: New file.
26405         * sysdeps/generic/libcrypt.abilist: New file.
26406         * sysdeps/generic/libdl.abilist: New file.
26407         * sysdeps/generic/libm.abilist: New file.
26408         * sysdeps/generic/libpthread.abilist: New file.
26409         * sysdeps/generic/libresolv.abilist: New file.
26410         * sysdeps/generic/librt.abilist: New file.
26412 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26414         [BZ #17569]
26415         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
26416         Compute absolute value of x as modified by fmod, not original
26417         value of x.
26418         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
26419         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
26420         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
26421         RUN_TEST_ffI_f1_mod8.
26422         (remquo_test_data): Add more tests.
26424 2015-02-13  Roland McGrath  <roland@hack.frob.com>
26426         * sysdeps/init_array/pt-crti.S: New file.
26428 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
26430         [BZ #17967]
26431         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
26432         __builtin_fmaf instead of relying on contraction of a * b + c.
26434 2015-02-12  J William Piggott  <elseifthen@gmx.com>
26436         [BZ #17969]
26437         * manual/time.texi: correct the zoneinfo path in the TZ Variable
26438         node.
26440 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26442         [BZ #17964]
26443         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
26444         __builtin_fma instead of relying on contraction of a * b + c.
26446 2015-02-12  Roland McGrath  <roland@hack.frob.com>
26448         * Makeconfig (ASFLAGS): Add -Werror=undef.
26449         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
26450         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
26451         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
26453         * Makeconfig (after-link): New variable.
26454         (+link-pie, +link-pie-tests): Use it.
26455         (+link-static, +link-static-tests): Likewise.
26456         (+link, +link-tests): Likewise.
26457         * Makerules (build-module, build-module-asneeded): Likewise.
26458         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
26459         Likewise.
26460         * elf/Makefile ($(objpfx)ld.so): Likewise.
26462 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
26464         [BZ #17965]
26465         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
26466         both struct timeval and struct timespec.
26468 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
26470         [BZ #16560]
26471         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26472         and redefine.
26473         (__ieee754_exp2l): Do not multiply small fractional parts by
26474         M_LN2l.
26475         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
26476         small argument.
26477         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
26478         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
26479         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
26480         * math/auto-libm-test-in: Add more tests of exp2.
26481         * math/auto-libm-test-out: Regenerated.
26483 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26485         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
26486         unaligned path.
26488 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26490         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
26491         little endian.
26493 2015-02-12  Andreas Schwab  <schwab@suse.de>
26495         [BZ #15790]
26496         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
26497         Filter out elision flags from value returned in kind.
26498         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
26499         * nptl/tst-pthread-mutexattr.c: New file.
26501 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26503         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
26504         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
26505         into gnu-gnu, and update comment to refer to abi-tags.
26507 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
26509         [BZ #15467]
26510         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
26511         (__sincos): Set errno to EDOM for infinite argument.
26512         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
26513         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
26514         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
26515         (__sincosl): Set errno to EDOM for infinite argument.
26516         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
26517         (__sincosl): Set errno to EDOM for infinite argument.
26518         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
26519         (__sincosl): Set errno to EDOM for infinite argument.
26520         * math/libm-test.inc (sincos_test_data): Test errno setting.
26522 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
26524         * string/strxfrm_l.c: Remove #define STRCMP.
26525         * string/strcoll_l.c: Remove #define STRLEN.
26526         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
26527         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
26529 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
26531         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26532         * sysdeps/mips/mips32/sfp-machine.h: ... here.
26533         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
26534         * sysdeps/mips/mips64/Makefile: ... here.
26535         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
26536         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
26537         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
26538         * sysdeps/mips/mips64/sfp-machine.h: ... here.
26539         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
26540         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
26541         * sysdeps/mips/mips64/n64/Implies: Likewise.
26543 2015-02-10  Roland McGrath  <roland@hack.frob.com>
26545         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
26546         <sys/time.h>, <string.h>, and <errno.h>.
26547         (dest_offset, dest_address, value, zero): Remove unused variables.
26548         (ldouble): Remove typedef.
26549         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
26550         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
26551         1).  Fix code style.
26552         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
26553         (check): Function removed.
26554         (CHECK): New macro.
26555         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
26556         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
26557         Don't call set_sigaction_FP and remove_sigaction_FP here.
26558         (ldouble_test): Just use 'long double' as macro argument, no need for
26559         the 'ldouble' typedef.
26560         (do_test): Set up SIGFPE handler at start, using plain signal rather
26561         than sigaction.  Fix code style.
26563 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
26565         [BZ #17949]
26566         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
26567         jump label.
26569 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
26571         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
26572         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26574         * sysdeps/powerpc/configure.ac: Remove file.
26575         * sysdeps/powerpc/configure: Likewise.
26577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26578         [sysdep_routines]: Remove wordcopy-power6 object.
26579         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
26580         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
26581         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
26582         (__memmove_ppc32): Likewise.
26583         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
26584         file.
26585         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
26586         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
26587         Remove preprocessor.
26589         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
26590         [sysdep_routines]: Remove wide chars objects.
26591         [wcsmbs]: New rule for wide char objects.
26593         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26594         Remove wordcopy-power6 obejct.
26595         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
26596         Use local call for wordcopy and memcpy symbols.
26597         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
26598         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
26599         implementation for loader.
26600         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
26602         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26603         Remove wordcopy-power7 object.
26604         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
26605         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
26606         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
26607         (_wordcopy_fwd_dest_aligned): Likewise.
26608         (_wordcopy_bwd_aligned): Likewise.
26609         (_wordcopy_bwd_dest_aligned): Likewise.
26611         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
26612         Rewrite to call __memmove_ppc instead of include default
26613         implementation.
26615         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26616         Remove wide chars objects.
26617         [wcsmbs]: New rule for wide char objects.
26619 2015-02-09  Andreas Schwab  <schwab@suse.de>
26621         [BZ #17912]
26622         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
26623         in terms of __O_DIRECTORY.
26625 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26627         * time/getdate.c: Include <stdbool.h>.
26628         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
26629         call PTR_MANGLE.
26630         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
26631         PTR_DEMANGLE.
26633 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
26635         Add ersatz _Static_assert on older C hosts
26636         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
26637         pre-C11 C platform that is not known to support _Static_assert.
26639 2015-02-07  Richard Braun  <rbraun@sceen.net>
26641         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
26642         sigstate.
26643         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
26645 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26647         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
26648         priority against unexistent AIO_PRIO_DELTA_MAX.
26649         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
26650         instead of int.
26651         * misc/fchflags.c (fchflags): Likewise.
26652         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
26653         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
26654         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
26655         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
26656         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
26657         Declare macros.
26658         [__USE_MISC] (chflags, fchflags): Declare functions.
26659         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
26660         EINVAL when nfds is greater than FD_SETSIZE.
26661         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
26662         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
26663         45.
26664         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
26665         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
26666         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
26667         MACH_RCV_TIMED_OUT.
26668         * hurd/hurd/signal.h (_hurd_self_sigstate,
26669         _hurd_critical_section_lock, _hurd_critical_section_unlock):
26670         Explicit casts from void *.
26671         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
26672         * abi-tags: Rename gnu-gnu os into gnu.
26674         [BZ #4719]
26675         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
26676         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
26677         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
26678         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
26679         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
26680         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
26682         [BZ #17944]
26683         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
26684         duplicates ADDR->sun_path with sockaddr LEN limitation.
26685         * sysdeps/mach/hurd/connect.c: Include <string.h>
26686         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
26687         * sysdeps/mach/hurd/sendmsg.c: Likewise.
26688         * sysdeps/mach/hurd/sendto.c: Likewise.
26689         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
26690         implementing it by hand.
26692 2015-02-06  Roland McGrath  <roland@hack.frob.com>
26694         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
26695         Use sfi_breg on ldr.
26696         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
26697         Likewise.
26699         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
26700         it's defined.
26701         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
26702         Test SIGSETXID only if it's defined.
26704         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
26706         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
26707         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
26709         * nptl/tst-align2.c: Moved ...
26710         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
26711         * nptl/Makefile (tests): Remove tst-align2.
26712         * sysdeps/unix/sysv/linux/Makefile
26713         [$(subdir) = nptl] (tests): Add tst-align-clone.
26714         * nptl/tst-getpid1.c: Moved ...
26715         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
26716         * nptl/tst-getpid2.c: Moved ...
26717         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
26718         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
26719         * sysdeps/unix/sysv/linux/Makefile
26720         [$(subdir) = nptl] (tests): ... here.
26721         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
26722         * sysdeps/unix/sysv/linux/Makefile
26723         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
26725         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
26726         Drop trailing \n from perror argument.  Use return rather than exit.
26728         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
26729         on [SA_SIGINFO].
26730         * nptl/tst-cancel21.c (do_test): Likewise.
26731         * debug/tst-backtrace6.c: Include <signal.h> first thing.
26732         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
26733         [!SA_SIGINFO]: Make it a stub test.
26735         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
26736         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
26738         * posix/tst-getlogin.c: Move to ...
26739         * login/tst-getlogin.c: ... here.
26740         * posix/Makefile (tests): Move tst-getlogin to ...
26741         * login/Makefile (tests): ... here.
26743         * libio/tst-atime.c (do_test): Move local variables SV and E
26744         inside [ST_NOATIME] conditional.
26746         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
26748         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
26750         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
26751         (wait_code): New function replaces macro.
26752         Call nanosleep rather than syscall.
26754         * nptl/pt-system.c: Rewritten.  Put everything under
26755         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26756         Use IFUNC to redirect when possible.
26758         * nptl/pt-longjmp.c: Rewritten.  Put everything under
26759         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26760         Use IFUNC to redirect when possible.
26762         * nptl/pt-fork.c: Rewritten.  Put everything under
26763         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
26764         Use IFUNC to redirect when possible.
26765         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
26767         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
26768         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
26769         unconditionally nowadays.  This included the only reference to
26770         __vdso_clock_gettime that appears outside libc proper.
26771         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
26772         Remove version set (containing only __vdso_clock_gettime).
26773         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26774         Add attribute_hidden.
26775         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26776         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
26777         libc_hidden_data_def.
26778         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
26779         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26781         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
26782         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
26783         setrpcent, and getrpcport to ...
26784         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
26785         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
26786         getrpcbynumber_r, and getrpcent_r to ...
26787         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
26788         * inet/getrpcbyname.c: Moved ...
26789         * sunrpc/getrpcbyname.c: ... here.
26790         * inet/getrpcbyname_r.c: Moved ...
26791         * sunrpc/getrpcbyname_r.c: ... here.
26792         * inet/getrpcbynumber.c: Moved ...
26793         * sunrpc/getrpcbynumber.c: ... here.
26794         * inet/getrpcbynumber_r.c: Moved ...
26795         * sunrpc/getrpcbynumber_r.c: ... here.
26796         * inet/getrpcent.c: Moved ...
26797         * sunrpc/getrpcent.c: ... here.
26798         * inet/getrpcent_r.c: Moved ...
26799         * sunrpc/getrpcent_r.c: ... here.
26800         * inet/Makefile (routines): Move those to ...
26801         * sunrpc/Makefile (routines): ... here.
26802         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
26803         the $(subdirs) list.
26804         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
26805         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
26806         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
26807         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
26809         * elf/Makefile (routines): Include $(all-dl-routines), not just
26810         $(dl-routines).
26811         (rtld-routines): Likewise.  Use = rather than :=.
26812         * sysdeps/aarch64/Makefile [$(subdir) = elf]
26813         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
26814         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
26815         * sysdeps/arm/Makefile: Likewise.
26816         * sysdeps/i386/Makefile: Likewise.
26817         * sysdeps/x86_64/Makefile: Likewise.
26818         * sysdeps/hppa/Makefile [$(subdir) = elf]
26819         (sysdep_routines, sysdep-rtld-routines): Don't add
26820         $(sysdep-dl-routines) to these.
26821         * sysdeps/ia64/Makefile: Likewise.
26822         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
26823         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
26824         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
26825         Don't add dl-static to these; sysdep-dl-routines alone is enough.
26826         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
26827         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
26828         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
26829         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
26830         * sysdeps/powerpc/Makefile [$(subdir) = elf]
26831         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
26832         these; sysdep-dl-routines alone is enough.
26834 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
26836         [BZ #17932]
26837         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
26838         where multiplication results in zero and third argument is finite
26839         and nonzero.
26840         * math/auto-libm-test-in: Add more tests of fma.
26841         * math/auto-libm-test-out: Regenerated.
26843         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
26844         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
26845         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
26846         (_FP_CMP_EQ): Likewise.
26847         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
26849         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
26850         extra argument CHECK_NAN.  Redefine as wrapper around
26851         _FP_EXTEND_CNAN.
26853 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
26855         * version.h (RELEASE): Set to "stable".
26856         (VERSION): Set to "2.21"
26857         * include/features.h (__GLIBC_MINOR__): Set to 21.
26859         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
26861 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26862             Paul Eggert  <eggert@cs.ucla.edu>
26864         [BZ #16618]
26865         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
26866         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
26867         size in bytes. Store needed elements in wpmax. Use needed size
26868         in bytes for extend_alloca.
26870 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
26872         * manual/install.texi: Latest tested versions are GCC 4.9.2,
26873         binutls 2.25, and texinfo 5.2.
26874         * INSTALL: Regenerate.
26875         * sysdeps/nios2/configure: Regenerate.
26876         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
26877         * manual/contrib.texi: Update.
26878         * po/be.po: Update.
26879         * po/bg.po: Update.
26880         * po/ca.po: Update.
26881         * po/cs.po: Update.
26882         * po/da.po: Update.
26883         * po/de.po: Update.
26884         * po/el.po: Update.
26885         * po/eo.po: Update.
26886         * po/es.po: Update.
26887         * po/fi.po: Update.
26888         * po/fr.po: Update.
26889         * po/gl.po: Update.
26890         * po/hr.po: Update.
26891         * po/hu.po: Update.
26892         * po/ia.po: Update.
26893         * po/id.po: Update.
26894         * po/it.po: Update.
26895         * po/ja.po: Update.
26896         * po/ko.po: Update.
26897         * po/lt.po: Update.
26898         * po/nb.po: Update.
26899         * po/nl.po: Update.
26900         * po/pl.po: Update.
26901         * po/pt_BR.po: Update.
26902         * po/ru.po: Update.
26903         * po/rw.po: Update.
26904         * po/sk.po: Update.
26905         * po/sl.po: Update.
26906         * po/sv.po: Update.
26907         * po/tr.po: Update.
26908         * po/uk.po: Update.
26909         * po/vi.po: Update.
26910         * po/zh_CN.po: Update.
26911         * po/zh_TW.po: Update.
26913         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
26914         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
26915         * sysdeps/hppa/dl-irel.h: Remove #warning.
26916         * sysdeps/hppa/entry.h: Provide prototype for
26917         __canonicalize_funcptr_for_compare and cast argument.
26918         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
26919         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
26920         * sysdeps/hppa/sotruss-lib.c: New file.
26921         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
26922         (atomic_compare_and_exchange_val_acq): Use __typeof__.
26923         (atomic_compare_and_exchange_bool_acq): Likewise.
26924         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
26925         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
26927         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
26928         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
26929         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
26931 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
26933         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
26934         called function in non-PIC case.
26936 2015-01-31  David S. Miller  <davem@davemloft.net>
26938         * sysdeps/sparc/sparc32/bits/atomic.h
26939         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
26940         unlock not after it.
26941         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
26942         volatile register usage warnings from the compiler.
26944         * sysdeps/sparc/nptl/sem_init.c: Delete.
26945         * sysdeps/sparc/nptl/sem_post.c: Delete.
26946         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
26947         * sysdeps/sparc/nptl/sem_wait.c: Delete.
26948         * sysdeps/sparc/sparc32/sem_init.c: New file.
26949         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
26950         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
26951         padding explicitly initialized.
26952         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
26953         padding for in-semaphore spinlock.
26954         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
26955         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
26956         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
26957         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
26958         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
26959         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
26960         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
26961         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
26962         version.
26963         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
26964         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
26966 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
26968         [BZ #17801]
26969         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26970         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
26971         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
26972         New.
26973         (index_AVX_Fast_Unaligned_Load): Likewise.
26974         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
26975         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
26976         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
26977         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
26978         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
26979         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
26980         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
26981         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
26982         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
26984 2015-01-29  Andreas Schwab  <schwab@suse.de>
26986         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
26988 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
26990         [BZ #17892]
26991         * nscd/nscd_stat.c (send_stats): Initialize DATA.
26993 2015-01-28  Martin Sebor  <msebor@redhat.com>
26995         * math/README.libm-test: Clarify. Add "How to read the test output."
26997 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
26999         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
27000         Define to 0.
27002 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
27004         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
27005         (__HAVE_64B_ATOMICS): Define to 0.
27007 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27009         [BZ #17885]
27010         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
27011         value to set as new flag.
27013         [BZ #16576]
27014         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
27015         and use _ARCH_PPCSQ instead.
27016         (__ieee754_sqrt): Likewise.
27017         (__ieee754_sqrtf): Likewise.
27018         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
27019         _ARCH_PPCSQ is defined.
27020         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
27021         fsqrt instruction.
27022         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
27023         _ARCH_PPCSQ is defined.
27024         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
27025         fsqrts instruction.
27026         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
27028 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27030         * iconv/loop.c: Suppress array out of bound warning caused by GCC
27031         bug (GCC BZ #64739).
27033 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
27035         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
27036         Mark _retval as used.
27037         (lll_futex_wake_unlock): Likewise.
27038         (lll_futex_timed_wait_requeue_pi): Likewise.
27040         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27041         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
27042         register variables.
27044         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
27045         libm_hidden_def.
27047         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
27048         (__bswap_64): Mark as __always_inline.
27050 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
27052         [BZ #15378]
27053         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
27054         when none of the search directories exist.
27056 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
27058         [BZ #17869]
27059         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
27060         power8 in .machine directive.
27062         [BZ #17868]
27063         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
27064         set dependency from opd value.
27066 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27068         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27069         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
27070         architecture.
27072 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
27074         [BZ #17870]
27075         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
27076         with uint64_t.
27077         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
27078         (uint64_t) 1.
27079         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
27080         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
27081         Replace 1UL with (uint64_t) 1.
27082         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
27083         int with uint64_t.
27085 2015-01-23  Roland McGrath  <roland@hack.frob.com>
27087         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
27088         (if_freenameindex): Likewise.
27090         * resource/getrlimit64.c: Add missing libc_hidden_def.
27092 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
27094         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
27095         __label__.
27096         (_FP_FMA): Likewise.
27097         (_FP_TO_INT_ROUND): Likewise.
27098         (_FP_FROM_INT): Likewise.
27100 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27102         [BZ #16418]
27103         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
27104         Make code racy and cancel safe.
27106 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
27108         * sysdeps/arm/unwind-resume.h: Fix copyright year.
27109         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
27110         attribution.
27112         * pwd/tst-getpw.c: Rewrite.
27114         [BZ #17702]
27115         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
27116         (modules-names): Add moddummy1 and moddummy2.
27117         ($(objpfx)tst-rec-dlopen): Define.
27118         * dlfcn/moddummy1.c: New file.
27119         * dlfcn/moddummy2.c: New file.
27120         * dlfcn/tst-rec-dlopen.c: New file.
27121         * elf/dl-cache.c (_dl_load_cache_lookup):
27122         Return char*. Copy result with alloca/strcpy/strdup.
27123         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
27124         returns char*. Free cached. If not saving realname
27125         free cached.
27126         * elf/dl-open.c (dl_open_worker): Do not assert that
27127         _r_debug->r_state is RT_CONSISTENT.
27128         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
27129         returns char*.
27131 2015-01-21  Torvald Riegel  <triegel@redhat.com>
27132             Carlos O'Donell  <carlos@redhat.com>
27134         [BZ #12674]
27135         * nptl/sem_waitcommon.c: New file.
27136         * nptl/sem_wait.c: Include sem_waitcommon.c.
27137         (__sem_wait_cleanup, do_futex_wait): Remove.
27138         (__new_sem_wait): Adapt.
27139         (__new_sem_trywait): New function.
27140         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
27141         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
27142         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
27143         (sem_timedwait): Adapt.
27144         * nptl/sem_post.c (__new_sem_post): Adapt.
27145         (futex_wake): New function.
27146         (__old_sem_post): Add release MO fence.
27147         * nptl/sem_open.c (sem_open): Adapt.
27148         * nptl/sem_init.c (__new_sem_init): Adapt.
27149         (futex_private_if_supported): New function.
27150         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
27151         (__old_sem_getvalue): Add using previous code.
27152         * sysdeps/nptl/internaltypes.h: Adapt.
27153         * nptl/tst-sem13.c (do_test): Adapt.
27154         * nptl/tst-sem11.c (main): Adapt.
27155         * nptl/sem_trywait.c: Remove.
27156         * nptl/DESIGN-sem.txt: Remove.
27157         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
27158         (gen-as-const-headers): Remove structsem.sym.
27159         * nptl/structsem.sym: Remove.
27160         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
27161         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
27162         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
27163         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
27164         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
27165         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
27166         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
27167         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
27168         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
27169         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
27170         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
27171         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
27172         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
27173         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
27174         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
27175         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
27176         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
27177         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
27178         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
27179         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
27180         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
27181         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
27183 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
27185         * INSTALL: Regenerated.
27187         * po/libc.pot: Regenerated.
27189 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
27190             Sandra Loosemore  <sandra@codesourcery.com>
27191             Andrew Jenner  <andrew@codesourcery.com>
27192             Joseph Myers  <joseph@codesourcery.com>
27193             Nathan Sidwell  <nathan@codesourcery.com>
27195         * NEWS: Mention new Nios II port.
27196         * sysdeps/nios2/Implies: New file.
27197         * sysdeps/nios2/Makefile: New file.
27198         * sysdeps/nios2/Subdirs: New file.
27199         * sysdeps/nios2/Versions: New file.
27200         * sysdeps/nios2/__longjmp.S: New file.
27201         * sysdeps/nios2/abort-instr.h: New file.
27202         * sysdeps/nios2/backtrace.c: New file.
27203         * sysdeps/nios2/bits/endian.h: New file.
27204         * sysdeps/nios2/bits/fenv.h: New file.
27205         * sysdeps/nios2/bits/link.h: New file.
27206         * sysdeps/nios2/bits/setjmp.h: New file.
27207         * sysdeps/nios2/bsd-_setjmp.S: New file.
27208         * sysdeps/nios2/bsd-setjmp.S: New file.
27209         * sysdeps/nios2/configure: New generated file.
27210         * sysdeps/nios2/configure.ac: New file.
27211         * sysdeps/nios2/crti.S: New file.
27212         * sysdeps/nios2/crtn.S: New file.
27213         * sysdeps/nios2/dl-init.c: New file.
27214         * sysdeps/nios2/dl-machine.h: New file.
27215         * sysdeps/nios2/dl-sysdep.h: New file.
27216         * sysdeps/nios2/dl-tls.h: New file.
27217         * sysdeps/nios2/dl-trampoline.S: New file.
27218         * sysdeps/nios2/gccframe.h: New file.
27219         * sysdeps/nios2/gmp-mparam.h: New file.
27220         * sysdeps/nios2/jmpbuf-offsets.h: New file.
27221         * sysdeps/nios2/jmpbuf-unwind.h: New file.
27222         * sysdeps/nios2/ldsodefs.h: New file.
27223         * sysdeps/nios2/libc-tls.c: New file.
27224         * sysdeps/nios2/libm-test-ulps: New file.
27225         * sysdeps/nios2/machine-gmon.h: New file.
27226         * sysdeps/nios2/math-tests.h: New file.
27227         * sysdeps/nios2/math_private.h: New file.
27228         * sysdeps/nios2/memusage.h: New file.
27229         * sysdeps/nios2/nptl/Makefile: New file.
27230         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
27231         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
27232         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
27233         * sysdeps/nios2/nptl/pthreaddef.h: New file.
27234         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
27235         * sysdeps/nios2/nptl/tls.h: New file.
27236         * sysdeps/nios2/preconfigure: New file.
27237         * sysdeps/nios2/s_fma.c: New file.
27238         * sysdeps/nios2/s_fmaf.c: New file.
27239         * sysdeps/nios2/setjmp.S: New file.
27240         * sysdeps/nios2/sfp-machine.h: New file.
27241         * sysdeps/nios2/sotruss-lib.c: New file.
27242         * sysdeps/nios2/stackguard-macros.h: New file.
27243         * sysdeps/nios2/stackinfo.h: New file.
27244         * sysdeps/nios2/start.S: New file.
27245         * sysdeps/nios2/sysdep.h: New file.
27246         * sysdeps/nios2/tls-macros.h: New file.
27247         * sysdeps/nios2/tst-audit.h: New file.
27248         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
27249         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
27250         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
27251         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
27252         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
27253         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
27254         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
27255         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
27256         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
27257         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
27258         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
27259         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
27260         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
27261         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
27262         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
27263         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
27264         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
27265         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
27266         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
27267         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
27268         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
27269         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
27270         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
27271         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
27272         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
27273         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
27274         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
27275         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
27276         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
27277         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
27278         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
27279         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
27280         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
27281         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
27282         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
27283         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
27284         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
27285         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
27286         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
27287         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
27288         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
27289         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
27290         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
27291         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
27293 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27295         [BZ #17844]
27296         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
27297         (getutent): Use weak_alias in non SHARED case
27298         and default_symbol_version in SHARED case.
27299         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
27300         (getutent_r, pututline): Likewise.
27301         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
27302         (getutid): Likewise.
27303         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
27304         (getutid_r): Likewise.
27305         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
27306         (getutline): Likewise.
27307         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
27308         (getutline_r): Likewise.
27309         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
27310         (updwtmp): Likewise.
27312 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
27314         [BZ #17848]
27315         * sysdeps/s390/s390-32/memcmp.S
27316         (memcmp_g5): Rename to __memcmp_g5.
27317         * sysdeps/s390/s390-32/memcpy.S
27318         (memcpy_g5): Rename to __memcpy_g5.
27319         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27320         (memcpy_mvcle) Rename to __memcpy_mvcle.
27321         * sysdeps/s390/s390-32/memset.S
27322         (memset_g5): Rename to __memset_g5.
27323         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27324         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27325         and use prefixed functions.
27326         * sysdeps/s390/s390-32/multiarch/memcmp.S
27327         (memcmp_z196): Rename to __memcmp_z196.
27328         (memcmp_z10): Rename to __memcmp_z10.
27329         (memcmp): Set alias to __memcmp_g5.
27330         (bcmp): Set alias to __memcmp_g5.
27331         * sysdeps/s390/s390-32/multiarch/memcpy.S
27332         (memcpy_z196): Rename to __memcpy_z196.
27333         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27334         (memcpy_z10): Rename to __memcpy_z10.
27335         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27336         (memcpy): Set alias to __memcpy_g5.
27337         * sysdeps/s390/s390-32/multiarch/memset.S
27338         (memset_z196): Rename to __memset_z196.
27339         Jump to __memset_mvcle instead of memset_mvcle.
27340         (memset_z10): Rename to __memset_z10.
27341         Jump to __memset_mvcle instead of memset_mvcle.
27342         (memset_mvcle) Rename to __memset_mvcle.
27343         (memset): Set alias to __memset_g5.
27344         * sysdeps/s390/s390-64/memcmp.S
27345         (memcmp_z900): Rename to __memcmp_z900.
27346         * sysdeps/s390/s390-64/memcpy.S
27347         (memcpy_z900): Rename to __memcpy_z900.
27348         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27349         (memcpy_mvcle) Rename to __memcpy_mvcle.
27350         * sysdeps/s390/s390-64/memset.S
27351         (memset_z900): Rename to __memset_z900.
27352         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
27353         (IFUNC_RESOLVE): Prefix ifunc-resolve function
27354         and use prefixed functions.
27355         * sysdeps/s390/s390-64/multiarch/memcmp.S
27356         (memcmp_z196): Rename to __memcmp_z196.
27357         (memcmp_z10): Rename to __memcmp_z10.
27358         (memcmp): Set alias to __memcmp_z900.
27359         (bcmp): Set alias to __memcmp_z900.
27360         * sysdeps/s390/s390-64/multiarch/memcpy.S
27361         (memcpy_z196): Rename to __memcpy_z196.
27362         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27363         (memcpy_z10): Rename to __memcpy_z10.
27364         Jump to __memcpy_mvcle instead of memcpy_mvcle.
27365         (memcpy): Set alias to __memcpy_z900.
27366         * sysdeps/s390/s390-64/multiarch/memset.S
27367         (memset_z196): Rename to __memset_z196.
27368         Jump to __memset_mvcle instead of memset_mvcle.
27369         (memset_z10): Rename to __memset_z10.
27370         Jump to __memset_mvcle instead of memset_mvcle.
27371         (memset_mvcle) Rename to __memset_mvcle.
27372         (memset): Set alias to __memset_z900.
27374 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
27376         [BZ #17748]
27377         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
27378         __fesetenv instead of fesetenv.
27380 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27382         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
27383         macro.
27385 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27387         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
27388         regression on LE.
27390         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
27391         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
27392         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27393         strncmp-power8 object.
27394         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27395         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
27396         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
27397         * NEWS: Update.
27399 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
27400             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27402         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
27403         trailing byte check.
27405 2015-01-13  David S. Miller  <davem@davemloft.net>
27407         * include/signal.h (__sigreturn): Guard with __USE_MISC.
27409 2015-01-13  Roland McGrath  <roland@hack.frob.com>
27411         * login/logout.c (logout): Use memset rather than bzero.
27412         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
27413         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
27414         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
27415         (_gethtbyaddr): Likewise.
27416         * locale/programs/simple-hash.c (bcopy): Macro removed.
27418 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27420         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27421         Add strcmp-power8 object.
27422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27423         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
27424         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
27425         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
27426         __strcmp_power8 implementation.
27427         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
27428         * NEWS: Update.
27430         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
27431         Add strncpy-power8 and stpncpy-power8 objects.
27432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27433         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
27434         implementations.
27435         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
27436         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
27437         __stpncpy_power8 implementation.
27438         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
27439         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
27440         __strncpy_power8 implementation.
27441         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
27442         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
27443         * NEWS: Update.
27445         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
27446         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
27447         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
27449         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27450         strncat-power8 object.
27451         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
27452         __strcat_power8 implementation.
27453         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27454         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
27455         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
27456         optimized strcat for power8.
27458         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
27459         strcpy-power8 and stpcpy-power8 objects.
27460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
27461         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
27462         implementations.
27463         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
27464         multiarch stpcpy implementation for POWER8.
27465         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
27466         multiarch strcpy implementation for POWER8.
27467         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
27468         __strcpy_power8 function.
27469         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
27470         stpcpy for POWER8.
27471         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
27472         strcpy for POWER8.
27473         * NEWS: Update.
27475 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
27477         [BZ #16009]
27478         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
27479         weights and rules. Use do_xfrm_cached if data fits in cache,
27480         do_xfrm otherwise.  Moved former main loop to...
27481         * (do_xfrm_cached): New function.
27482         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
27483         find_idx, find_position and stack_push.
27484         * (find_idx): New function.
27485         * (find_position): Likewise.
27486         * localedata/sort-test.sh: Added test run for do_xfrm.
27487         * localedata/xfrm-test.c (main): Added command line option
27488         -nocache to run the test with strings that are too large for
27489         the STRXFRM cache.
27491 2015-01-13  Torvald Riegel  <triegel@redhat.com>
27493         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
27494         variable to lll_futex_wake call, not the value itself.
27496 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
27498         [BZ #17803]
27499         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
27500         twom64.  Adjust value to 0x1p-64L.
27501         (__scalblnl): Only return standard underflowing result for K <=
27502         -64 not K <= -63; adjust exponent for underflowing result by 64
27503         not 63.
27504         * math/libm-test.inc (scalbn_test_data): Add more tests.
27505         (scalbln_test_data): Likewise.
27507         [BZ #17834]
27508         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
27509         0x1p63L.
27510         (__scalblnl): Get new exponent of adjusted subnormal value from ES
27511         not HX.
27512         * math/libm-test.inc (scalbn_test_data): Add more tests.
27513         (scalbln_test_data): Likewise.
27515 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27516             Stefani Seibold  <stefani@seibold.net>
27518         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
27519         (sysdep_routines): Add dl-vdso here, ...
27520         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
27521         (sysdep_routines): ... not here.
27522         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
27523         fallback when vDSO is not presented.
27524         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
27525         Define with libc_hidden_proto/libc_hidden_data_def definitions.
27526         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
27527         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
27528         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
27529         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
27530         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
27531         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
27532         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
27533         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
27534         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
27535         fallback configurable symbol when vDSO is not available.
27536         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
27537         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
27538         be able to redefine fallback symbol when vDSO is not available.
27539         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
27540         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
27542 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27544         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
27545         (TLS_INIT_TP): Add tm_capable initialization.
27546         (TLS_DEFINE_INIT_TP): Likewise.
27547         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
27548         TCB.
27549         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
27550         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
27551         calculation.
27552         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
27553         transactoion is lock elision is built and TCB tm_capable is set.
27554         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
27555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
27556         (INTERNAL_SYSCALL_NCS): Likewise.
27557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
27558         (INTERNAL_SYSCALL_NCS): Likewise.
27559         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
27561         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
27562         for powerpc.
27563         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27564         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
27565         and remove it for 32 bits case.
27566         [pthread_rwlock_t] (__rwelision): New field for lock elision.
27567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
27568         initialization.
27569         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
27570         Disable lock elision with rdlocks if elision is not available.
27572         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
27573         (sysdep_routines): Add lock elision objects.
27574         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
27575         [pthread_mutex_t] (__spins): Rework to add lock elision field.
27576         [pthread_mutex_t] (__elision): Add field.
27577         [__PTHREAD_SPINS]: Adjust to init lock elision field.
27578         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
27579         elision definitions for powerpc.
27580         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
27581         implementation of lock elision for powerpc.
27582         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
27583         implementation of timed lock elision for powerpc.
27584         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
27585         implementation of trylock with lock elision for powerpc.
27586         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
27587         implementaion of unlock for lock elision for powerpc.
27588         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
27589         automatic enable lock elision for mutexes.
27590         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
27591         transaction execution definitions for powerpc.
27592         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
27593         definitions.
27594         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
27595         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
27596         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
27597         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
27598         * NEWS: Update.
27600 2015-01-09  Roland McGrath  <roland@hack.frob.com>
27602         * sysdeps/posix/shm-directory.c: Use <> rather than ""
27603         for #include of <shm-directory.h>.
27605 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
27607         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
27608         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
27610 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
27612         [BZ #17791]
27613         * NEWS: Mention bug fix.
27614         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
27615         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
27616         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
27618 2015-01-09  Torvald Riegel <triegel@redhat.com>
27620         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
27622 2015-01-09  Torvald Riegel <triegel@redhat.com>
27624         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
27626 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27628         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
27629         pointer and cast to uintptr_t.
27631 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27633         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
27634         removed.
27635         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
27637 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
27639         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
27640         of 0.
27642 2015-01-08  Roland McGrath  <roland@hack.frob.com>
27644         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
27645         <nptl/pthreadP.h> instead.
27646         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
27648         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
27649         already defined.
27650         [__SIGRTMIN] (init): Function removed.
27651         [__SIGRTMIN] (initialized): Variable removed.
27652         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
27653         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
27654         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
27655         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
27656         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
27657         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
27658         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
27659         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
27660         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
27661         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
27662         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
27663         * sysdeps/nptl/allocrtsig.c: New file.
27664         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
27665         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
27666         * sysdeps/generic/testrtsig.h: File removed.
27668         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
27669         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
27671         * nptl/nptl-init.c (pthread_functions): Conditionalize
27672         .ptr__nptl_setxid initialization on [SIGSETXID].
27674         * sysdeps/nptl/sys/procfs.h: New file.
27675         * nptl_db/Makefile (headers): Add it.
27676         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
27678         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
27679         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
27680         * nptl/pthread_attr_setaffinity.c: Include it.
27681         * nptl/pthread_setattr_default_np.c: Likewise.
27682         * nptl/check-cpuset.h: New file.
27684 2015-01-08  Richard Henderson  <rth@redhat.com>
27686         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
27687         (CFLAGS-tst-execstack-prog.c): Likewise.
27688         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
27690 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
27691             Sandra Loosemore  <sandra@codesourcery.com>
27692             Andrew Jenner  <andrew@codesourcery.com>
27693             Joseph Myers  <joseph@codesourcery.com>
27694             Nathan Sidwell  <nathan@codesourcery.com>
27696         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
27697         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
27698         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
27699         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
27700         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
27701         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
27702         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
27703         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
27704         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
27705         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
27706         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
27707         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
27708         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
27709         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
27710         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
27711         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
27712         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
27714 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27716         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
27717         timespec struct member in syscall macro.
27718         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
27719         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
27720         first timeval struct member in syscall macro.
27721         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
27723 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
27725         [BZ #17748]
27726         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
27727         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
27728         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
27729         __feupdateenv and define as weak alias of __feupdateenv.  Use
27730         libm_hidden_weak.
27731         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
27732         libm_hidden_def.
27733         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
27734         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
27735         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27736         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
27737         libm_hidden_def.
27738         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
27739         __feupdateenv and define as weak alias of __feupdateenv.  Use
27740         libm_hidden_weak.
27741         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
27742         libm_hidden_def.
27743         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
27744         __feupdateenv and define as weak alias of __feupdateenv.  Use
27745         libm_hidden_weak.
27746         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
27747         libm_hidden_def.
27748         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27749         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27750         (__feupdateenv): Likewise.
27751         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
27752         __feupdateenv and define as weak alias of __feupdateenv.  Use
27753         libm_hidden_weak.
27754         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27755         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
27756         libm_hidden_def.
27757         * sysdeps/tile/math_private.h (__feupdateenv): New inline
27758         function.
27759         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
27760         libm_hidden_def.
27761         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
27762         __feupdateenv instead of feupdateenv.
27763         (default_libc_feupdateenv_test): Likewise.
27764         (libc_feresetround_ctx): Likewise.
27766 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27768         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
27769         prototype.
27771 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
27773         * posix/regcomp.c (parse_bracket_exp): Initialize type to
27774         COLL_SYM in a couple of places to avoid uninitialized variable
27775         wanings on tilegx gcc 4.8.2.
27777 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27779         * sysdeps/aarch64/strcpy.S: New file.
27780         * sysdeps/aarch64/stpcpy.S: New file.
27781         * NEWS: Updated.
27783 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
27785         * sysdeps/aarch64/strrchr.S: New file.
27786         * NEWS: Updated.
27788 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
27790         [BZ #17658]
27791         * stdlib/setenv.c: Fix memory leak when setting large,
27792         duplicate string.
27794 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
27796         [BZ #17273]
27797         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
27798         and tabs from buffer before parsing fstab entry.
27799         * misc/tst-mntent.c (main): Add test for mount entry with
27800         trailing spaces and tabs.
27802 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
27804         [BZ #17748]
27805         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
27806         * math/fesetround.c (fesetround): Rename to __fesetround and
27807         define as weak alias of __fesetround.  Use libm_hidden_weak.
27808         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
27809         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
27810         * sysdeps/arm/fesetround.c (fesetround): Likewise.
27811         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
27812         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
27813         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
27814         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
27815         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
27816         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
27817         __fesetround_inline.
27818         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
27819         __fesetround_inline instead of __fesetround.
27820         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
27821         __fesetround and define as weak alias of __fesetround.  Use
27822         libm_hidden_weak.  Call __fesetround_inline instead of
27823         __fesetround.
27824         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
27825         __fesetround and define as weak alias of __fesetround.  Use
27826         libm_hidden_weak.
27827         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
27828         Likewise.
27829         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
27830         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27831         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
27832         * sysdeps/tile/math_private.h (__fesetround): New inline function.
27833         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
27834         __fesetround and define as weak alias of __fesetround.  Use
27835         libm_hidden_weak.
27836         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
27837         __fesetround instead of fesetround.
27838         (default_libc_feholdexcept_setround): Likewise.
27839         (libc_feholdsetround_ctx): Likewise.
27840         (libc_feholdsetround_noex_ctx): Likewise.
27842         [BZ #17748]
27843         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
27844         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
27845         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27846         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27847         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27848         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
27849         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27850         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
27851         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27852         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27853         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27854         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27855         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27856         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27857         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
27858         libm_hidden_def.
27859         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
27860         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
27861         Likewise.
27862         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
27863         define as weak alias of __fesetenv.  Use libm_hidden_weak.
27864         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27865         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
27866         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
27867         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
27868         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
27869         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
27870         __fesetenv instead of fesetenv.
27871         (libc_feresetround_noex_ctx): Likewise.
27872         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
27873         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
27874         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
27875         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
27876         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
27877         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
27878         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
27879         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
27880         (__feupdateenv): Likewise.
27881         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
27882         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27883         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
27884         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
27886 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27888         [BZ #17806]
27889         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
27890         addresses have been freed.
27892 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
27894         * resolv/res_init.c (__res_vinit): Improve comments about nserv
27895         and nservall.
27897 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
27899         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
27900         Clean up check_pf allocation pattern. addresses
27902 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27904         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
27905         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
27906         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
27907         * nptl/pthread_exit.c (__pthread_exit): Likewise.
27908         * nptl/pthread_join.c (pthread_join): Likewise.
27909         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
27910         * sysdeps/posix/waitid.c (__waitid): Likewise.
27911         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
27912         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
27913         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
27914         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
27915         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
27916         Likewise.
27917         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
27918         (__libc_pread64): Likewise.
27919         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
27920         (__libc_pwrite): Likewise.
27921         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
27922         (__libc_pwrite64): Likewsie.
27923         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
27924         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
27925         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
27926         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
27927         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
27928         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
27929         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
27930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
27931         Likewise.
27932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
27933         (__libc_pread64): Likewise.
27934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
27935         Likewise.
27936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
27937         (__libc_pwrite64): Likewise.
27938         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
27939         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
27940         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
27941         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
27942         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
27943         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
27944         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
27945         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
27946         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
27947         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
27948         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
27949         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
27950         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
27951         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
27952         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
27953         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
27954         Likewise.
27956 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27958         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
27959         (CFLAGS-test-double.c): Likewise.
27960         (CFLAGS-test-ldouble.c): Likewise.
27961         (CPPFLAGS-test-ifloat.c): Likewise.
27962         (CPPFLAGS-test-idouble.c): Likewise.
27963         (CPPFLAGS-test-ildoubl.c): Likewise.
27964         (CFLAGS-test-test-fenv.c): Remove variable.
27965         (CFLAGS-test-misc.c): Likewise.
27967 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
27969         [BZ #17797]
27970         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
27971         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
27972         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
27973         CLOCKS_PER_SEC == 1000000.
27974         * time/clocktest.c (main): Replace %ld with %jd and cast to
27975         intmax_t.
27977 2015-01-05  Roland McGrath  <roland@hack.frob.com>
27979         * sysdeps/generic/unwind-resume.h: New file.
27980         * sysdeps/gnu/unwind-resume.c: Include it.
27981         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
27982         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
27983         argument list.
27984         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
27985         global rather than static.
27986         (_Unwind_Resume): Update user.
27987         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
27988         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
27989         rather than static.  Add __attribute__ ((cold)).
27990         (_Unwind_Resume, __gcc_personality_v0): Update callers.
27991         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
27992         * sysdeps/arm/arm-unwind-resume.S: New file.
27993         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
27994         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
27995         * sysdeps/arm/Makefile [$(subdir) = csu]
27996         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
27997         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
27998         Add rt-arm-unwind-resume.
27999         [$(subdir) = nptl]
28000         (libpthread-sysdep_routines, libpthread-shared-only-routines):
28001         Add pt-arm-unwind-resume.
28002         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
28003         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
28005 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28007         [BZ #17748]
28008         * include/fenv.h (__feholdexcept): Declare.  Use
28009         libm_hidden_proto.
28010         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
28011         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
28012         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28013         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
28014         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
28015         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
28016         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
28017         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28018         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
28019         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
28020         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28021         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
28022         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
28023         (feholdexcept): Likewise.
28024         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
28025         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28026         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
28027         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
28028         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
28029         __feholdexcept instead of feholdexcept.
28030         (default_libc_feholdexcept_setround): Likewise.
28032 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28034         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
28035         to avoid using stl/str to align destination.
28037 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28039         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
28041 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28043         [BZ #17796]
28044         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
28045         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
28046         Define as weak alias not strong alias.
28048 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
28050         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
28051         bltzal with addiupc.
28052         (RTLD_START): Ditto.
28054 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
28056         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
28057         for __vdso_* functions in declarations.
28058         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
28059         definitions.
28060         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
28061         INTERNAL_VSYSCALL): Use struct return types to check for error.
28063         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
28064         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
28065         function with cast from llround().
28066         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
28067         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
28068         Define.
28070 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
28072         [BZ #17793]
28073         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
28074         Define as weak alias not strong alias.
28076         [BZ #17635]
28077         * ctype/ctype-c99.c: New file.  isblank implementation moved from
28078         ...
28079         * ctype/ctype-extn.c: ... here.
28080         (__isblank_l): Move to ...
28081         * ctype/ctype-c99_l.c: ... here.  New file.
28082         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
28083         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
28084         Remove variable.
28085         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
28086         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
28087         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
28088         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
28089         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
28091         [BZ #17777]
28092         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
28093         (posix_fadvise64): Define as weak alias not strong alias.
28094         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28095         (posix_fallocate64): Likewise.
28096         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
28097         Remove variable.
28098         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
28099         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
28100         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
28101         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
28102         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
28104 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
28106         [BZ #16191]
28107         * NEWS: Mention bug fix.
28108         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
28109         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
28110         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
28111         (HOST_STACK_END_ADDR): Likewise.
28113 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28115         [BZ #17748]
28116         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
28117         * math/fegetround.c (fegetround): Rename to __fegetround and
28118         define as weak alias of __fegetround.  Use libm_hidden_weak.
28119         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
28120         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
28121         * sysdeps/arm/fegetround.c (fegetround): Likewise.
28122         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
28123         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
28124         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
28125         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
28126         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
28127         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
28128         Undefine after rather than before function definition; use
28129         parentheses around function name in definition.
28130         (__fegetround): Also undefine macro after function definition.
28131         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
28132         __fegetround and define as weak alias of __fegetround.  Use
28133         libm_hidden_weak.  Do not undefine as macro.
28134         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
28135         Likewise.
28136         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
28137         __fegetround and define as weak alias of __fegetround.  Use
28138         libm_hidden_weak.
28139         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28140         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
28141         * sysdeps/tile/math_private.h (__fegetround): New inline function.
28142         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
28143         __fegetround and define as weak alias of __fegetround.  Use
28144         libm_hidden_weak.
28145         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
28146         __fegetround instead of fegetround.
28148         [BZ #17782]
28149         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
28150         Condition macro definition on [__USE_MISC].
28152         [BZ #17781]
28153         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
28154         (struct sigaction): Change type of sa_flags field to int.
28156         [BZ #17780]
28157         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
28158         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
28159         __glibc_reserved0.
28161         * nptl/version.c (banner): Use single year in copyright notice.
28163         * NEWS: Update copyright dates.
28164         * catgets/gencat.c (print_version): Likewise.
28165         * csu/version.c (banner): Likewise.
28166         * debug/catchsegv.sh: Likewise.
28167         * debug/pcprofiledump.c (print_version): Likewise.
28168         * debug/xtrace.sh (do_version): Likewise.
28169         * elf/ldconfig.c (print_version): Likewise.
28170         * elf/ldd.bash.in: Likewise.
28171         * elf/pldd.c (print_version): Likewise.
28172         * elf/sotruss.sh: Likewise.
28173         * elf/sprof.c (print_version): Likewise.
28174         * iconv/iconv_prog.c (print_version): Likewise.
28175         * iconv/iconvconfig.c (print_version): Likewise.
28176         * locale/programs/locale.c (print_version): Likewise.
28177         * locale/programs/localedef.c (print_version): Likewise.
28178         * login/programs/pt_chown.c (print_version): Likewise.
28179         * malloc/memusage.sh (do_version): Likewise.
28180         * malloc/memusagestat.c (print_version): Likewise.
28181         * malloc/mtrace.pl: Likewise.
28182         * manual/libc.texinfo: Likewise.
28183         * nptl/version.c (banner): Likewise.
28184         * nscd/nscd.c (print_version): Likewise.
28185         * nss/getent.c (print_version): Likewise.
28186         * nss/makedb.c (print_version): Likewise.
28187         * posix/getconf.c (main): Likewise.
28188         * scripts/test-installation.pl: Likewise.
28189         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
28191 2015-01-02  Will Newton  <will.newton@linaro.org>
28193         * sysdeps/arm/armv7/configure: Removed.
28194         * sysdeps/arm/armv7/configure.ac: Likewise.
28196 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
28198         * All files with FSF copyright notices: Update copyright dates
28199         using scripts/update-copyrights.
28200         * intl/plural.c: Regenerated.
28201         * locale/programs/charmap-kw.h: Likewise.
28202         * locale/programs/locfile-kw.h: Likewise.
28204 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28206         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
28208 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28210         [BZ #17748]
28211         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
28212         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
28213         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28214         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28215         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28216         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
28217         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28218         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
28219         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28220         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28221         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28222         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28223         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28224         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28225         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
28226         libm_hidden_def.
28227         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
28228         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
28229         Likewise.
28230         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
28231         define as weak alias of __fegetenv.  Use libm_hidden_weak.
28232         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28233         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28234         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
28235         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
28236         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
28237         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
28238         __fegetenv instead of fegetenv.
28239         (libc_feholdsetround_noex_ctx): Likewise.
28241 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28243         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
28244         (Elf_MIPS_ABIFlags_v0): New structure.
28245         (EF_MIPS_FP64): Define.
28246         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
28247         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
28248         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
28249         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
28250         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
28251         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
28252         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
28253         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
28254         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
28255         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
28256         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
28257         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
28258         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
28259         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
28260         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
28261         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
28262         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
28263         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
28264         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
28265         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
28266         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
28267         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
28268         field.
28269         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
28270         EF_MIPS_FP64.
28271         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
28272         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
28273         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
28274         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
28275         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
28276         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
28277         * sysdeps/mips/tst-abi-interlink.c: Likewise.
28278         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
28279         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
28280         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
28281         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
28282         record the current FP ABI extension.
28283         (mips-mode-switch): Define to show if kernel headers support mode
28284         switching.
28285         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
28286         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
28287         supported SYSV ABI version to 3.
28288         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
28289         feature.
28291 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28292             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28294         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
28295         path.
28296         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
28298 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
28300         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
28301         __fegetround and redefine to call __fegetround.  Remove condition
28302         on [!__NO_MATH_INLINES].
28303         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
28304         function.
28305         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
28306         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
28307         Remove macro.
28308         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
28309         instead of <fenv_libc.h>.
28310         (__llrintl): Call fegetround instead of __fegetround.
28311         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
28312         instead of <fenv_libc.h>.
28313         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28314         (__lrintl): Call fegetround instead of __fegetround.
28315         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
28316         instead of <fenv_libc.h>.
28317         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28318         (__rintl): Call fegetround instead of __fegetround.
28320 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
28322         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
28323         arrays.
28325 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28327         [BZ #17775]
28328         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
28329         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
28330         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
28332 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28334         * sysdeps/i386/tls-macros.h: Include <features.h>.
28335         (TLS_LE): Use non-PIC version for GCC >= 5.0.
28336         (TLS_IE): Likewise.
28337         (TLS_LD): Likewise.
28338         (TLS_GD): Likewise.
28339         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
28340         define for GCC >= 5.0.
28342 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
28344         * math/test-fenv.c (test_single_exception, set_single_exc,
28345         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
28346         feexcp_mask_test, feenable_test, fe_single_test): Add
28347         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
28348         case where they are not used.
28349         * math/libm-test.inc: Likewise.
28350         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
28351         unused in the absence of FP rounding/exception support.
28352         * stdio-common/tst-printf-round.c: Likewise.
28353         * stdlib/tst-strtod-round.c: Likewise.
28354         * stdlib/tst-strtod-underflow.c: Likewise.
28356 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
28358         [BZ #17723]
28359         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
28360         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
28361         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28362         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28363         libm_hidden_weak.
28364         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
28365         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28366         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
28367         libm_hidden_def.
28368         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28369         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28370         libm_hidden_weak.
28371         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
28372         Likewise.
28373         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
28374         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28375         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28376         libm_hidden_weak.
28377         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28378         libm_hidden_def.
28379         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
28380         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
28381         (__feraiseexcept): Likewise.
28382         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28383         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
28384         libm_hidden_weak.
28385         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
28386         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
28387         libm_hidden_def.
28388         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
28389         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
28390         Use libm_hidden_def.
28391         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
28392         libm_hidden_def.
28393         (feraiseexcept): Define as weak not strong alias.  Use
28394         libm_hidden_weak.
28395         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
28396         New inline function.  Factored out of ...
28397         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
28398         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
28399         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
28400         feraiseexcept.
28401         * math/w_acos.c (__acos): Likewise.
28402         * math/w_asin.c (__asin): Likewise.
28403         * math/w_ilogb.c (__ilogb): Likewise.
28404         * math/w_j0.c (y0): Likewise.
28405         * math/w_j1.c (y1): Likewise.
28406         * math/w_jn.c (yn): Likewise.
28407         * math/w_log.c (__log): Likewise.
28408         * math/w_log10.c (__log10): Likewise.
28409         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
28410         * sysdeps/aarch64/fpu/math_private.h
28411         (libc_feupdateenv_test_aarch64): Likewise.
28412         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
28413         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
28414         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
28415         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
28416         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
28417         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
28418         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
28419         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
28420         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28421         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
28423 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
28425         [BZ #17732]
28426         * io/test-utime.c (main): Replace %ld with %jd and cast to
28427         intmax_t.
28428         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
28429         * nptl/tst-mutex5.c: Include <stdint.h>.
28430         (do_test): Replace %ld with %jd and cast to intmax_t.
28431         * posix/tst-regex.c (run_test): Likewise.
28432         (run_test_backwards): Likewise.
28433         * rt/tst-clock.c: Include <stdint.h>.
28434         (clock_test): Replace %ld with %jd and cast to intmax_t.
28435         * rt/tst-cpuclock1.c: Include <stdint.h>.
28436         (do_test): Replace %lu with %ju and cast to uintmax_t.
28437         * rt/tst-cpuclock2.c: Include <stdint.h>.
28438         (do_test): Replace %lu with %ju and cast to uintmax_t.
28439         * rt/tst-mqueue1.c: Include <stdint.h>.
28440         (check_attrs): Replace %ld with %jd and cast to intmax_t.
28441         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
28442         intmax_t.
28443         * rt/tst-mqueue4.c (do_test): Likewise.
28444         * rt/tst-timer4.c: Include <stdint.h>.
28445         (check_ts): Replace %ld with %jd and cast to intmax_t.
28446         (do_test): Likewise.
28447         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
28448         and cast to intmax_t.
28449         * sysdeps/pthread/tst-timer.c (main): Likewise.
28450         * time/clocktest.c (main): Likewise.
28451         * time/tst-posixtz.c (do_test): Likewise.
28452         * timezone/tst-timezone.c (main): Likewise.
28454 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
28455             H.J. Lu  <hongjiu.lu@intel.com>
28457         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
28458         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
28459         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
28460         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
28461         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
28462         version if bit_Fast_Unaligned_Load is set.
28463         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28464         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28465         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28466         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28467         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28468         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28469         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28470         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
28471         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
28472         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
28473         to 4.
28474         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
28475         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
28476         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
28477         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
28479 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
28481         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
28482         instead of #if to avoid a Wundef warning.
28483         * stdlib/tst-limits.c (do_test): Likewise.
28485         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
28486         parallel other exception macros.
28487         (fegetenv): Convert from macro to extern inline so that it applies
28488         retroactively to inline functions already seen by the compiler.
28489         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
28491         * posix/Makefile (before-compile): Use $(objpfx) for
28492         posix-conf-vars-def.h.
28494 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28496         * posix/getconf.c (main): Use size_t for type of I.
28497         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
28498         NSPEC.
28500         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
28501         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
28502         * posix/posix-envs.def: Likewise.
28503         * sysdeps/posix/sysconf.c: Likewise.
28504         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
28505         (specs): Remove array.
28506         * scripts/gen-posix-conf-vars.awk: Support generation of specs
28507         array.
28509         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
28510         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
28511         (__sysconf): Use CONF_IS_* macros.
28513         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
28514         ($(objpfx)posix-conf-vars-def.h): New target.
28515         * posix/posix-conf-vars.list: New file.
28516         * posix/posix-conf-vars.h: New file.
28517         * posix/confstr.c: Include posix-conf-vars.h.
28518         (confstr): Use CONF_IS_* macros.
28519         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
28520         CONF_IS_* macros.
28521         * scripts/gen-posix-conf-vars.awk: New file.
28523 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
28525         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
28526         fegetround): Add no-op macros to avoid linknamespace issues.
28528         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
28529         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
28531         * sysdeps/unix/sysv/linux/tile/sysdep.h
28532         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
28533         assembly-specific section to avoid a redefinition warning.
28535         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
28536         long before casting to pointer to avoid a cast warning.
28538 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
28540         * sysdeps/tile/tilegx/Implies: New file.
28542 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
28544         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
28546 2014-12-23  Florian Weimer  <fweimer@redhat.com>
28548         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
28550 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
28553         not define.
28554         * sysdeps/unix/sysv/linux/utimes.c: Do not include
28555         <kernel-features.h>.
28556         (__utimes) [__NR_utimes]: Make code unconditional.
28557         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
28558         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
28559         (__ASSUME_UTIMES): Do not undefine.
28560         * sysdeps/unix/sysv/linux/tile/kernel-features.h
28561         (__ASSUME_UTIMES): Likewise.
28562         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28563         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
28564         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
28565         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
28567 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28569         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
28571 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
28573         [BZ #17747]
28574         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
28575         alias to weak alias for j0l, y0l.
28576         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
28577         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
28579         [BZ #17746]
28580         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
28581         conversion.
28583 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
28585         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
28586         to zero if not already defined.
28588 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28590         [BZ #17724]
28591         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
28592         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
28593         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
28594         (char *) casts added.
28595         * sysdeps/ieee754/k_standardf.c: New file.
28596         * sysdeps/ieee754/k_standardl.c: Likewise.
28597         * math/Makefile (libm-support): Remove k_standard.
28598         (libm-calls): Add k_standard.
28600 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28602         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28603         Optimize to avoid an unnecessary FPCR read.
28605 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28607         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
28608         Optimize to reduce FPCR/FPSR accesses.
28610 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28612         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
28613         Call libc_fetestexcept_aarch64.
28615 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
28617         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
28618         Call libc_fesetround_aarch64.
28620 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
28622         [BZ #17733]
28623         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
28624         (__bind): Do not define as weak alias.
28625         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
28626         define.
28627         (__getsockname): Do not define as weak alias.
28629 2014-12-22  Will Newton  <will.newton@linaro.org>
28631         * manual/install.texi: Document that we require bison 2.7
28632         or above.
28633         * INSTALL: Regenerate.
28634         * configure.ac: Use AC_CHECK_PROG_VER instead of
28635         AC_PATH_PROG when checking for bison and check for
28636         version 2.7 or above.
28637         * configure: Regenerate.
28639 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
28641         [BZ #17745]
28642         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
28643         * sysdeps/tile/ffsll.c (ffsll): To here.
28645         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
28647 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28649         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
28650         if not defined.
28651         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
28652         definition.
28653         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28654         hidden ___tls_get_addr.
28655         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
28656         hidden __tls_get_addr.
28657         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
28658         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
28659         Likewise.
28661 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
28663         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
28664         _dl_init call.
28666 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
28668         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
28669         from "call _dl_init@PLT".
28670         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
28672 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
28674         * manual/search.texi: (Array Sort Function): Clarify stable sorting
28675         guarantees.
28677 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
28679         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
28681 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28683         [BZ #17744]
28684         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
28685         strnlen.
28687 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28689         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
28690         of multu on MIPSr6.
28691         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
28692         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
28693         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
28694         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
28695         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
28697 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
28699         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
28700         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
28701         (PTR_SUBU): Use subu for mips32r6/mips64r6.
28702         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
28703         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
28704         mips32r6/mips64r6.
28705         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
28707 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
28709         * string/strncat.c (STRNCAT): Simplify implementation.
28711 2014-12-19  David S. Miller  <davem@davemloft.net>
28713         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
28714         access the quad as both a long double and as a series of 4 words.
28716         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
28717         link_map->l_info array access.
28719 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
28721         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
28723         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
28724         * math/atest-exp2.c (TIMEOUT): Likewise.
28725         * math/atest-sincos.c (TIMEOUT): Likewise.
28727 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28729         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
28730         -Wno-error with -fno-builtin-lround.
28732 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28734         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
28735         Contains futex constants and functions moved over from ...
28736         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
28737         <lowlevellock-futex.h>.
28738         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28739         (lll_timedwait_tid): Add comments and parentheses around macro
28740         arguments.
28742 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28744         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
28745         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
28746         (__lll_private_flag): Remove.
28747         (lll_futex_wait): Likewise.
28748         (lll_futex_timed_wait): Likewise.
28749         (lll_futex_wake): Likewise.
28750         (lll_futex_requeue): Likewise.
28751         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
28752         (__lll_timedwait_tid): Spell out argument names.
28753         (lll_timedwait_tid): Add comments and parentheses around macro
28754         arguments.
28755         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
28756         LLL_SHARED and LLL_PRIVATE usable from assembly code.
28758 2014-12-19  Torvald Riegel  <triegel@redhat.com>
28760         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
28761         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28762         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28763         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
28764         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
28765         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
28766         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
28767         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
28768         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
28769         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
28770         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
28771         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
28772         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
28773         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
28774         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
28775         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
28776         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
28777         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
28778         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
28780 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28782         * sysdeps/x86_64/x32/Makefile: New file.
28784 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
28786         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
28787         1L with (mp_limb_t) 1.
28789 2014-12-17  Roland McGrath  <roland@hack.frob.com>
28791         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
28792         * nptl/libc_pthread_init.c: ... here.
28793         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
28794         * nptl/register-atfork.c: ... here.
28796         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
28797         Use pthread_sigmask rather than INTERNAL_SYSCALL.
28798         Use assert_perror to check its return value.
28799         (__gai_create_helper_thread): Likewise.
28801         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
28803         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
28805 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
28807         [BZ #17725]
28808         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
28809         __profil_counter.
28810         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
28811         Likewise.
28812         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
28813         Likewise.
28814         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
28815         Likewise.
28816         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
28817         (profil_counter): Likewise.
28818         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
28819         (profil_counter): Likewise.
28820         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
28821         Likewise.
28822         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
28823         Likewise.
28824         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
28825         (profil_counter): Likewise.
28826         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
28827         Likewise.
28828         [!__profil_counter] (profil_counter): Define as weak alias of
28829         __profil_counter.
28830         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
28831         (profil_counter): Rename to __profil_counter.
28832         [!__profil_counter] (profil_counter): Define as weak alias of
28833         __profil_counter.
28834         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
28835         (profil_counter): Rename to __profil_counter.
28836         [!__profil_counter] (profil_counter): Define as weak alias of
28837         __profil_counter.
28838         * sysdeps/posix/profil.c: Update comment referring to
28839         profil_counter.
28840         (__profil): Use __profil_counter instead of profil_counter.
28841         * sysdeps/posix/sprofil.c (profil_counter): Rename to
28842         __profil_counter.  Use __profil_counter_ushort and
28843         __profil_counter_uint in definitions.
28844         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
28845         instead of profil_counter_uint and profil_counter_ushort.
28847         [BZ #17722]
28848         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
28849         define as weak alias of __inet_makeaddr.
28850         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
28851         as weak alias of __inet_addr.
28852         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
28853         as weak alias of __inet_pton.  Use libc_hidden_weak.
28854         * include/arpa/inet.h (__inet_pton): Declare.  Use
28855         libc_hidden_proto.
28856         (inet_makeaddr): Don't use libc_hidden_proto.
28857         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
28858         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
28859         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
28860         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
28861         Remove variable.
28862         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
28863         (test-xfail-POSIX/time.h/linknamespace): Likewise.
28865 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
28867         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
28869 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28871         * stdio-common/bug-vfprintf-nargs.c (do_test):
28872         Cast value to intptr_t to avoid format warning
28873         for usage with PRIdPTR printing macro.
28875 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
28877         * libio/tst-widetext.c (do_test):
28878         Use format type %td instead of %Zd for ptrdiff_t
28879         in order to avoid format warning.
28881 2014-12-17  Andreas Schwab  <schwab@suse.de>
28883         * nscd/mem.c (gc): Add size_t cast to match printf format.
28885 2014-12-16  Roland McGrath  <roland@hack.frob.com>
28887         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
28888         (init): Apply PTR_MANGLE to pointers before storing them.
28889         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
28890         before using them.
28892 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
28894         [BZ #17719]
28895         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
28896         define as weak alias of __memrchr.
28897         (__memrchr): Do not define as strong alias of memrchr.
28898         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
28899         Remove variable.
28900         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
28901         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
28902         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
28904         [BZ #17717]
28905         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
28906         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
28907         (if_indextoname): Rename to __if_indextoname and define as weak
28908         alias of __if_indextoname.  Use libc_hidden_weak.
28909         (if_freenameindex): Rename to __if_freenameindex and define as
28910         weak alias of __if_freenameindex.
28911         (if_nameindex): Rename to __if_nameindex and define as weak alias
28912         of __if_nameindex.
28913         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
28914         __if_nametoindex and define as weak alias of __if_nametoindex.
28915         Use libc_hidden_weak.
28916         (if_freenameindex): Rename to __if_freenameindex and define as
28917         weak alias of __if_freenameindex.
28918         (if_nameindex): Rename to __if_nameindex and define as weak alias
28919         of __if_nameindex.
28920         (if_indextoname): Rename to __if_indextoname and define as weak
28921         alias of __if_indextoname.  Use libc_hidden_weak.
28922         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
28923         __if_nametoindex and define as weak alias of __if_nametoindex.
28924         Use libc_hidden_weak.
28925         (if_freenameindex): Rename to __if_freenameindex and define as
28926         weak alias of __if_freenameindex.  Use libc_hidden_weak.
28927         (if_nameindex_netlink): Use __if_freenameindex instead of
28928         if_freenameindex.
28929         (if_nameindex): Rename to __if_nameindex and define as weak alias
28930         of __if_nameindex.  Use libc_hidden_weak.
28931         (if_indextoname): Rename to __if_indextoname and define as weak
28932         alias of __if_indextoname.  Use libc_hidden_weak.
28933         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
28934         libc_hidden_proto.
28935         [!_ISOMAC] (__if_freenameindex): Likewise.
28936         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
28937         if_nametoindex.
28938         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
28939         variable.
28940         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
28941         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
28942         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
28943         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
28944         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
28945         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
28946         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
28948         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
28949         Remove variable.
28950         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
28951         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
28953 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28955         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
28956         subscript above bounds'
28958         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
28959         bounds.
28961 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
28963         * libio/tst-fopenloc.c: Use test-skeleton.c.
28965         * stdlib/tst-bsearch.c: Use test-skeleton.c.
28966         (entry): Rename to ITEM.
28967         (do_test, comp): Adjust.
28969         * stdio-common/tst-fseek.c: Use test-skeleton.c.
28971 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28973         * string/tester.c: Include <libc-internal.h>.
28974         (test_memset): Ignore -Wmemset-transposed-args.
28976 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28978         * misc/tst-mntent2.c (do_test): Fix warning.
28980 2014-12-16  Torvald Riegel  <triegel@redhat.com>
28982         * elf/tst-unique4lib.cc(a): Mark as used.
28984 2014-12-16  Florian Weimer  <fweimer@redhat.com>
28986         [BZ #17630]
28987         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
28988         names.
28990 2014-12-16  Allan McRae  <allan@archlinux.org>
28992         * stdio-common/Makefile (tests): Re-add bug26.
28994 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
28996         [BZ #17657]
28997         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
28998         static array.
29000 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
29002         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
29003         (__lll_lock_wait): Likewise.
29004         (__lll_timedlock_wait): Likewise.
29005         (__lll_timedwait_tid): Likewise.
29006         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
29007         (__lll_robust_timedlock_wait): Likewise.
29008         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
29009         (lll_cond_trylock): Likewise.
29010         (__lll_lock): Likewise.
29011         (__lll_robust_lock): Likewise.
29012         (__lll_cond_lock): Likewise.
29013         (lll_robust_cond_lock): Likewise.
29014         (__lll_timedlock): Likewise.
29015         (__lll_robust_timedlock): Likewise.
29016         (__lll_unlock): Likewise.
29017         (__lll_robust_unlock): Likewise.
29018         (lll_wait_tid): Likewise.
29019         (lll_timedwait_tid): Likewise.
29021 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29023         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
29025 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29027         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
29029 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29031         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
29032         * stdio-common/tst-sprintf.c: Likewise.
29034 2014-12-15  Torvald Riegel  <triegel@redhat.com>
29036         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
29038 2014-12-15  Jeff Law  <law@redhat.com>
29040         [BZ #16617]
29041         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
29042         on the heap.  (CVE-2012-3406)
29043         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
29044         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
29045         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
29047 2014-12-15  Will Newton  <will.newton@linaro.org>
29049         * manual/install.texi: Bump required version of texinfo
29050         to 4.7 from 4.5.
29051         * INSTALL: Regenerated.
29052         * configure.ac: Check for makeinfo version 4.7 and above.
29053         * configure: Regenerated.
29055 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29057         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
29058         PREFIX, string constant to insert between directory and name.
29059         * sysdeps/posix/shm_open.c: Update caller.
29060         * sysdeps/posix/shm_unlink.c: Likewise.
29061         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
29062         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
29063         (SEM_SHM_PREFIX): New macro.
29064         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
29065         [$(have-thread-library) = no].
29066         * nptl/Makefile (libpthread-routines): Add shm-directory.
29067         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
29068         * sysdeps/nptl/shm-directory.h: New file.
29069         * sysdeps/posix/shm-directory.c
29070         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
29071         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
29072         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
29073         INTERNAL_SYSCALL.
29074         (__where_is_shmfs): Function removed.
29075         (mountpoint, defaultmount, defaultdir, __namedsem_once):
29076         Variables removed.
29077         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
29078         Use SHM_GET_NAME.
29079         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
29081         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
29082         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
29083         unconditional for use inside libpthread.
29084         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
29086 2014-12-12  Roland McGrath  <roland@hack.frob.com>
29088         * nptl/pthread_getaffinity.c: New file.
29089         * nptl/pthread_setaffinity.c: New file.
29090         * nptl/pthread_getname.c: New file.
29091         * nptl/pthread_setname.c: New file.
29093         * nptl/pthread_create.c (START_THREAD_DEFN)
29094         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
29096 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29097             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29099         * resolv/res_send.c (send_vc): Disable warning resplen may
29100         be used uninitialized.
29102 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
29104         * nptl/tst-mutex6.c
29105         (ATTR_NULL): New define checks ATTR against NULL.
29106         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
29107         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
29109 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
29111         [BZ #17581]
29112         * malloc/hooks.c
29113         (mem2mem_check): Revert my previous change.
29114         (malloc_check_get_size): Revert my previous change.
29115         (mem2chunk_check): Revert my previous change.
29117 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29119         * sysdeps/posix/shm-directory.c: New file.
29120         * sysdeps/posix/shm-directory.h: New file.
29121         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
29122         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
29123         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
29124         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
29125         Transmute EPERM to EACCES.
29126         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
29127         from ...
29128         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
29129         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
29131 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29133         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
29134         pointer and cast to uintptr_t.
29135         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
29136         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
29137         Add cast to avoid warning.
29138         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
29140 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29142         * nptl/semaphore.h: Move to ...
29143         * sysdeps/pthread/semaphore.h: ... here.
29144         * Makefile (installed-headers): Change nptl/semaphore.h to
29145         sysdeps/pthread/semaphore.h.
29147 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29149         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
29150         generated error format strings.
29152         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
29153         -Wformat-extra-args warnings for scanf formats.
29154         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
29155         test of zero-length format (duh).
29156         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
29157         corner-case scanf format test.
29158         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
29159         generated fprintf format string.
29160         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
29161         corner-case sprintf format tests.
29162         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
29163         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
29164         -Wformat-extra-args warnings throughout.
29165         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
29166         (CFLAGS-scanf4.c): Likewise.
29167         (CFLAGS-scanf7.c): Likewise.
29168         (CFLAGS-tst-sprintf.c): Likewise.
29169         (CFLAGS-tst-printf.c): Likewise.
29170         (CFLAGS-tst-printfsz.c): Likewise.
29172 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
29174         * include/cpio.h: New file.
29175         * include/fmtmsg.h: Likewise.
29177         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
29178         corresponding format argument to size_t.
29179         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
29180         arguments.
29181         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
29182         corresponding format argument to size_t.
29183         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
29184         arguments.
29185         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
29186         corresponding format argument to size_t.
29187         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
29188         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
29189         (CFLAGS-tst-mbswcs2.c): Likewise.
29190         (CFLAGS-tst-mbswcs3.c): Likewise.
29191         (CFLAGS-tst-mbswcs4.c): Likewise.
29192         (CFLAGS-tst-mbswcs5.c): Likewise.
29193         (CFLAGS-tst-trans.c): Likewise.
29195 2014-12-11  Roland McGrath  <roland@hack.frob.com>
29197         * posix/regexbug1.c (main): Use "%s" format with regerror results,
29198         rather than assuming they won't contain any '%'s.
29200 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
29202         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
29203         inhibit_loop_to_libcall to avoid recursive calls.
29204         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
29205         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
29207 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
29209         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
29210         prototype.
29212 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29214         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
29215         integer value instead of boolean.
29217 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
29219         * malloc/malloc.c: Fix powerof2 check.
29221 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29223         * locale/programs/locfile.h (maybe_swap_uint32):
29224         Remove inline and add unused attribute.
29226 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
29228         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29229         Truncating assembler expression to a .long expression.
29231 2014-12-11  Andreas Schwab  <schwab@suse.de>
29233         * elf/rtld.c (struct map_args): Constify str member.
29234         (do_preload): Constify fname argument.
29236 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29238         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
29239         constants definition.
29241 2014-12-11  Andreas Schwab  <schwab@suse.de>
29243         [BZ #16657]
29244         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
29245         FORCE_ELISION instead of DO_ELISION.
29246         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
29247         Remove.
29248         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
29249         Likewise.
29251         * iconvdata/gconv-modules: Remove duplicate entry.
29253 2014-12-11  Will Newton  <will.newton@linaro.org>
29255         Merge gettext 0.19.3 into intl/.
29257         This involves a number of cosmetic changes to comments
29258         and ANSI function definitions and prototypes throughout
29259         all the files. The gettext copyright header is used but
29260         with the date ranges taken from the glibc copy.
29262         * NEWS: Add gettext merge to 2.21.
29263         * intl/bindtextdom.c: Switch to gettext copyright.
29264         Use ANSI definitions and prototypes.
29265         Use gl_* locking primitives rather than __libc_* ones.
29266         Use __builtin_expect rather than __glibc_likely/unlikely.
29267         * intl/dcgettext.c: Switch to gettext copyright.
29268         Use ANSI definitions and prototypes.
29269         * intl/dcigettext.c: Switch to gettext copyright.
29270         Use ANSI definitions and prototypes.
29271         (INTDIV0_RAISES_SIGFPE): New define.
29272         Use gl_* locking primitives rather than __libc_* ones.
29273         Include eval-plural.h instead of plural-eval.c.
29274         Use __builtin_expect rather than __glibc_likely/unlikely.
29275         * intl/dcngettext.c: Switch to gettext copyright.
29276         Use ANSI definitions and prototypes.
29277         * intl/dgettext.c: Likewise.
29278         * intl/dngettext.c: Likewise.
29279         * intl/plural-eval.c: Renamed to...
29280         * intl/eval-plural.h: ...this.
29281         * intl/explodename.c: Switch to gettext copyright.
29282         Use ANSI definitions and prototypes.
29283         (_nl_explode_name): Use strchr instead of __rawmemchr.
29284         * intl/finddomain.c: Switch to gettext copyright.
29285         Use ANSI definitions and prototypes.
29286         Use gl_* locking primitives rather than __libc_* ones.
29287         (_nl_find_domain): Use malloc rather than alloca for
29288         allocation of temporary locale name.
29289         * intl/gettext.c: Switch to gettext copyright.
29290         Use ANSI definitions and prototypes.
29291         * intl/gettextP.h: Switch to gettext copyright.
29292         Use ANSI definitions and prototypes.
29293         Use gl_* locking primitives rather than __libc_* ones.
29294         * intl/gmo.h: Switch to gettext copyright.
29295         (struct sysdep_string): Move struct segment_pair outside of
29296         struct definition.
29297         * intl/hash-string.c: Use ANSI definitions and prototypes.
29298         * intl/hash-string.h: Switch to gettext copyright.
29299         Use ANSI definitions and prototypes.
29300         * intl/l10nflist.c: Switch to gettext copyright.
29301         Use ANSI definitions and prototypes.
29302         (_nl_normalize_codeset): Avoid integer overflow.
29303         * intl/loadinfo.h: Switch to gettext copyright.
29304         Use ANSI definitions and prototypes.
29305         (LIBINTL_DLL_EXPORTED): New define.
29306         (PATH_SEPARATOR): New define.
29307         * intl/loadmsgcat.c: Switch to gettext copyright.
29308         * intl/localealias.c: Switch to gettext copyright.
29309         Use ANSI definitions and prototypes.
29310         (_nl_expand_alias): Use PATH_SEPARATOR.
29311         * intl/ngettext.c: Switch to gettext copyright.
29312         Use ANSI definitions and prototypes.
29313         * intl/plural-exp.c: Likewise.
29314         * intl/plural-exp.h: Switch to gettext copyright.
29315         Use ANSI definitions and prototypes.
29316         (struct expression): Move definition of enum operator outside
29317         of struct definition.
29318         * intl/plural.c: Regenerate.
29319         * intl/plural.y: Switch to gettext copyright.
29320         Use ANSI definitions and prototypes.
29321         Port to bison 3.0.
29322         * intl/textdomain.c: Switch to gettext copyright.
29323         Use ANSI definitions and prototypes.
29324         Use gl_* locking primitives rather than __libc_* ones.
29326 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
29328         * debug/warning-nop.c: Add used atrribute.
29330 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29332         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
29334         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
29335         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
29336         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
29338 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29339             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29341         [BZ #17634]
29342         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
29343         Undefine after defining function.  Define as weak alias of
29344         __wcschr.  Use libc_hidden_weak.
29345         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
29346         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
29347         (libc_hidden_def): Also define __GI___wcschr alias.
29348         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
29349         __wcschr and define as weak alias of __wcschr.
29350         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
29351         __wcschr.
29352         [!WCSCHR] (DEFAULT_WCSCHR): Define.
29353         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
29354         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
29355         libc_hidden_weak.  Do not use libc_hidden_def.
29356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
29357         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
29358         __GI___wcschr alias.
29359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
29360         [IS_IN (libc)] (wcschr): Define as macro expanding to
29361         __redirect_wcschr.
29362         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
29363         [IS_IN (libc)] (__wcschr_power6): Likewise.
29364         [IS_IN (libc)] (__wcschr_power7): Likewise.
29365         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
29366         instead of wcschr.
29367         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
29368         __libc_wcschr.
29369         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
29370         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
29371         __wcschr and define as weak alias of __wcschr.  Use
29372         libc_hidden_builtin_def.
29373         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
29374         as weak alias of __wcschr.  Use libc_hidden_weak.
29375         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
29376         wcschr.
29377         * time/era.c (_nl_init_era_entries): Likewise.
29378         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
29379         variable.
29380         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29381         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29383 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29385         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
29386         format for long int variable.
29388 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
29390         [BZ #10672]
29391         * manual/search.texi: (Array Sort Function): Remove claim how to make
29392         qsort stable.
29394 2014-12-10  Andreas Schwab  <schwab@suse.de>
29396         [BZ #12847]
29397         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
29398         user-controlled locks.
29400 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
29402         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
29403         register.
29405 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
29407         * configure.ac (--disable-werror): New configure option.
29408         (enable_werror): New AC_SUBST.
29409         * configure: Regenerated.
29410         * config.make.in (enable-werror): New variable.
29411         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
29412         -Wno-error=undef.
29413         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
29414         * manual/install.texi (Configuring and compiling): Document
29415         --disable-werror.
29416         * INSTALL: Regenerated.
29417         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
29418         (CFLAGS-tst-chk2.c): Likewise.
29419         (CFLAGS-tst-chk3.c): Likewise.
29420         (CFLAGS-tst-chk4.cc): Likewise.
29421         (CFLAGS-tst-chk5.cc): Likewise.
29422         (CFLAGS-tst-chk6.cc): Likewise.
29423         (CFLAGS-tst-lfschk1.c): Likewise.
29424         (CFLAGS-tst-lfschk2.c): Likewise.
29425         (CFLAGS-tst-lfschk3.c): Likewise.
29426         (CFLAGS-tst-lfschk4.cc): Likewise.
29427         (CFLAGS-tst-lfschk5.cc): Likewise.
29428         (CFLAGS-tst-lfschk6.cc): Likewise.
29430         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
29431         (main): Disable -Wdeprecated-declarations around calls to
29432         register_printf_function.
29434         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
29435         (do_test): Disable -Wdiv-by-zero around some calls to
29436         fwrite_unlocked and fread_unlocked.
29438         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
29439         (DIAG_POP_NEEDS_COMMENT): Likewise.
29440         (_DIAG_STR1): Likewise.
29441         (_DIAG_STR): Likewise.
29442         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
29443         * stdio-common/bug21.c: Include <libc-internal.h>.
29444         (do_test): Disable -Wformat around call to sscanf.
29445         * stdio-common/scanf14.c: Include <libc-internal.h>.
29446         (main): Disable -Wformat around some calls to scanf functions.
29448 2014-12-09  Torvald Riegel  <triegel@redhat.com>
29450         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
29452 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29454         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
29455         stack variable alignment.
29457 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
29459         [BZ #17682]
29460         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
29461         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
29462         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
29463         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
29464         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
29465         __getrlimit instead of getrlimit.
29466         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
29467         __gettimeofday instead of gettimeofday.
29468         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
29469         Likewise.
29470         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
29471         Likewise.
29472         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
29473         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
29474         Remove variable.
29475         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29476         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29478 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29480         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
29481         for wide-character tests.
29483 2014-12-04  Roland McGrath  <roland@hack.frob.com>
29485         * io/openat64.c: #include <libc-internal.h>
29486         (__openat64): Prototypify.  Use ignore_value on MODE.
29487         * io/openat.c: Likewise.
29488         * misc/reboot.c: #include <libc-internal.h>
29489         (reboot): Prototypify.  Use ignore_value on HOWTO.
29490         * misc/ptrace.c: #include <libc-internal.h>
29491         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
29493 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
29495         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
29496         XPG4, UNIX98 and XOPEN2K.
29497         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
29498         Remove variable.
29499         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29501 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29503         * libio/fileops.c: Use ISO C style for function definitions.
29504         * libio/iofopen.c: Likewise.
29505         * libio/wfileops.c: Likewise.
29507         [BZ #17653]
29508         * libio/fileops.c (_IO_new_file_underflow): Unset cached
29509         offset on EOF.
29510         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
29511         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
29512         (fgets_func): Function pointer to fgets and fgetws.
29513         (do_ftell_test): Add test to verify ftell value after read
29514         EOF.
29515         (do_test): Set fgets_func.
29517         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
29518         O_TRUNC flag for w and w+ modes.
29519         (do_rewind_test): Likewise.
29520         (do_ftell_test): Likewise.
29521         (do_write_test): Likewise.
29523         [BZ #17647]
29524         * libio/fileops.c (do_ftell): Seek only when there are
29525         unflushed writes.
29526         * libio/wfileops.c (do_ftell_wide): Likewise.
29527         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
29528         test case.
29529         (do_one_test): Call it.
29531 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
29533         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
29534         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
29535         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
29536         Remove variable.
29537         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29538         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29539         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29541 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29543         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
29544         Remove variable.
29545         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29547         [BZ #17668]
29548         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
29549         as weak alias of __getifaddrs.  Use libc_hidden_weak.
29550         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29551         __freeifaddrs.  Use libc_hidden_weak.
29552         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
29553         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
29554         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29555         __freeifaddrs.  Use libc_hidden_weak.
29556         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
29557         __getifaddrs and define as weak alias of __getifaddrs.  Use
29558         libc_hidden_weak.
29559         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
29560         __freeifaddrs.  Use libc_hidden_weak.
29561         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
29562         Remove variable.
29563         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29564         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29566 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29568         [BZ #17601]
29569         * sysdeps/mips/start.S (__start): Use indirect jump to call
29570         __libc_start_main.
29572 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
29574         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
29576         * nptl/tst-mutex1.c: Include <stdbool.h>.
29577         [!ATTR] (ATTR_NULL): New macro.
29578         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
29579         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
29580         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
29582         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
29583         to char *.
29585         [BZ #17665]
29586         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
29587         Change conditional to [__USE_MISC].
29589         [BZ #17664]
29590         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
29591         fgets_unlocked.
29592         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
29593         __fgets_unlocked.
29594         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
29595         fgets_unlocked.
29596         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
29597         Remove variable.
29598         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29599         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29600         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29601         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29602         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29603         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29604         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29605         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29606         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29608         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
29610 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29612         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29613         Remove strpbrk objects.
29614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29615         (__libc_ifunc_impl_list): Remove strpbrk implementation.
29616         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
29617         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
29618         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
29619         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
29621         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29622         Remove strcspn objects.
29623         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29624         (__libc_ifunc_impl_list): Remove strcspn implementation.
29625         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
29626         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
29627         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
29628         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
29630         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29631         Remove strspn objetcs.
29632         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29633         (__libc_ifunc_impl_list): Remove strspn implementation.
29634         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
29635         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
29636         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
29637         * sysdeps/powerpc/powerpc64/strspn.S: New file.
29639 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
29641         [BZ #17581]
29642         * malloc/hooks.c
29643         (mem2mem_check): Add a terminator to the chain of checking blocks.
29644         (malloc_check_get_size): Use it here.
29645         (mem2chunk_check): Ditto.
29647 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29649         * sysdeps/powerpc/powerpc64/strtok.S: New file.
29650         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
29652 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
29654         * bits/ioctl-types.h: Indent preprocessor directives correctly.
29656         * nptl/nptl-init.c: Include libc-internal.h.
29657         (__pthread_initialize_minimal_internal): Use ROUND_UP.
29659         * elf/ldconfig.c (search_dir): Expand comment.
29661 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
29663         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
29664         variable.
29665         (linknamespace-symlist-stdlibs-tests): Likewise.
29666         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
29667         instead of $(objpfx)symlist-stdlibs.
29668         (linknamespace-libs-isoc): New variable.
29669         (linknamespace-libs): Use $(linknamespace-libs-isoc).
29670         (linknamespace-libs-ISO): New variable.
29671         (linknamespace-libs-ISO99): Likewise.
29672         (linknamespace-libs-ISO11): Likewise.
29673         (linknamespace-libs-XPG3): Likewise.
29674         (linknamespace-libs-XPG4): Likewise.
29675         (linknamespace-libs-POSIX): Likewise.
29676         (linknamespace-libs-UNIX98): Likewise.
29677         (linknamespace-libs-XOPEN2K): Likewise.
29678         (linknamespace-libs-POSIX2008): Likewise.
29679         (linknamespace-libs-XOPEN2K8): Likewise.
29680         ($(objpfx)symlist-stdlibs): Replace by
29681         $(linknamespace-symlist-stdlibs-tests).  Use
29682         $(linknamespace-libs-$*) as set of libraries.
29683         ($(linknamespace-header-tests)): Update dependencies.  Use
29684         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
29685         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
29686         * conform/linknamespace.pl: Remove comment about considering
29687         definitions of symbols from irrelevant libraries.
29689 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
29691         [BZ #13862]
29692         * elf/dl-tls.c: Include <atomic.h>.
29693         (oom): Remove #ifdef SHARED/#endif.
29694         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
29695         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
29696         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
29697         big enough.
29698         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
29699         * nptl/Makefile (tests): Add tst-stack4.
29700         (modules-names): Add tst-stack4mod.
29701         ($(objpfx)tst-stack4): New.
29702         (tst-stack4mod.sos): Likewise.
29703         ($(objpfx)tst-stack4.out): Likewise.
29704         ($(tst-stack4mod.sos)): Likewise.
29705         (clean): Likewise.
29706         * nptl/tst-stack4.c: New file.
29707         * nptl/tst-stack4mod.c: Likewise.
29709 2014-11-27  J. Brown  <jb999@gmx.de>
29711         * sysdeps/x86/bits/string.h: Add recent CPUs.
29713 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29715         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
29716         sigblock.
29718         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
29719         feof.
29721         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
29722         variable.
29724 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
29726         * nscd/connections.c: Include libc-internal.h because of macro
29727         usage ignore_value.
29729 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29731         * string/bits/string3.h (__warn_memset_zero_len): Don't
29732         declare for gcc newer than 5.0.
29733         (memset): Don't test for zero-length __LEN for gcc newer than
29734         5.0.
29736 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
29738         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
29739         size_t for %zu format.
29741         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
29742         difference, not %ju.
29744 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29746         * include/libc-internal.h (ignore_value): New macro.
29747         * nscd/connections.c (restart): Wrap calls to setuid and setgid
29748         with ignore_value.
29750         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
29751         definition.
29753         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
29754         pthread_cleanup_push to void *.
29756         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
29757         Undefine.
29759         [BZ #16619]
29760         [BZ #16740]
29761         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
29762         instead of 1L << 52.
29764         * libio/bug-rewind.c (do_test): Check fwscanf return values.
29765         * libio/bug-rewind2.c (do_test): Likewise.
29767         * debug/test-stpcpy_chk-ifunc.c: Remove file.
29768         * debug/test-strcpy_chk-ifunc.c: Likewise.
29769         * wcsmbs/test-wcschr-ifunc.c: Likewise.
29770         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
29771         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
29772         * wcsmbs/test-wcslen-ifunc.c: Likewise.
29773         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
29774         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
29775         * Rules [$(multi-arch) = no] (tests): Do not filter out
29776         $(tests-ifunc).
29777         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
29778         * debug/Makefile (tests-ifunc): Remove variable.
29779         (tests): Do not add $(tests-ifunc).
29780         * wcsmbs/Makefile (tests-ifunc): Remove variable.
29781         (tests): Do not add $(tests-ifunc).
29782         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
29783         [TEST_IFUNC]: Remove conditionals.
29784         * string/test-string.h (TEST_IFUNC): Remove macro.
29785         [TEST_IFUNC]: Remove conditionals.
29787         * string/test-strchr.c [!WIDE] (L): New macro.
29788         [WIDE] (L): Likewise.
29789         (check1): Use CHAR instead of char.  Use L on string and character
29790         constants.
29792 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
29794         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
29795         tests.
29796         * sysdeps/powerpc/bits/atomic.h
29797         (__arch_atomic_exchange_and_add_32_acq): Add definition.
29798         (__arch_atomic_exchange_and_add_32_rel): Likewise.
29799         (atomic_exchange_and_add_acq): Likewise.
29800         (atomic_exchange_and_add_rel): Likewise.
29801         * sysdeps/powerpc/powerpc32/bits/atomic.h
29802         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29803         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29804         * sysdeps/powerpc/powerpc64/bits/atomic.h
29805         (__arch_atomic_exchange_and_add_64_acq): Add definition.
29806         (__arch_atomic_exchange_and_add_64_rel): Likewise.
29808 2014-11-26  Torvald Riegel  <triegel@redhat.com>
29810         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
29811         Change synchronization of __sched_fifo_min_prio and
29812         __sched_fifo_max_prio.
29813         * nptl/pthread_mutexattr_getprioceiling.c
29814         (pthread_mutexattr_getprioceiling): Likewise.
29815         * nptl/pthread_mutexattr_setprioceiling.c
29816         (pthread_mutexattr_setprioceiling): Likewise.
29817         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
29818         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
29819         Likewise.
29821 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
29823         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
29824         void.
29826 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29828         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
29829         third argument const.
29831 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
29833         fnmatch: work around GCC compiler warning bug with uninit var
29834         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
29835         This works around a bug with x86-64 GCC 4.9.2 and earlier
29836         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
29837         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
29838         used uninitialized in this function [-Wmaybe-uninitialized]".
29840 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
29842         * posix/bug-regex31.c (main): Return RES not 0.
29844 2014-11-25  Anton Blanchard <anton@samba.org>
29846         * sysdeps/powerpc/bits/atomic.h
29847         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
29849 2014-11-24  Sterling Augustine  <saugustine@google.com>
29851         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
29853 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
29855         [BZ #17608]
29856         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
29858 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
29860         [BZ #17633]
29861         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
29862         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
29863         variable.
29864         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29865         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29867 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29869         * string/strncpy.c (strncpy): Improve performance by using memset.
29871 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
29873         * string/strcpy.c (strcpy):
29874         Improve performance by using strlen and memcpy.
29876 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
29878         * string/strcoll_l.c (get_next_seq): __always_inline.
29879         * string/strcoll_l.c (do_compare): __always_inline.
29881 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29883         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
29884         defined.
29885         * include/mqueue.h: Likewise.
29886         * include/stdlib.h: Likewise.
29888         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
29889         (get_null_defines): Adjust.
29890         * sunrpc/Makefile: Adjust comment.
29891         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
29892         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
29893         (CFLAGS-interp.c): Likewise.
29894         (CFLAGS-ldconfig.c): Likewise.
29895         (CPPFLAGS-.os): Likewise.
29896         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29897         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29898         * extra-modules.mk (extra-modules.mk): Likewise.
29899         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
29900         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
29901         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
29902         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
29903         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
29904         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
29905         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
29906         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
29907         * iconvdata/Makefile (CPPFLAGS): Likewise.
29908         (cpp-srcs-left): Add libof for all iconvdata routines.
29909         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
29910         * include/assert.h: Likewise.
29911         * include/ctype.h: Likewise.
29912         * include/errno.h: Likewise.
29913         * include/libc-symbols.h: Likewise.
29914         * include/math.h: Likewise.
29915         * include/netdb.h: Likewise.
29916         * include/resolv.h: Likewise.
29917         * include/stdio.h: Likewise.
29918         * include/stdlib.h: Likewise.
29919         * include/string.h: Likewise.
29920         * include/sys/stat.h: Likewise.
29921         * include/wctype.h: Likewise.
29922         * intl/l10nflist.c: Likewise.
29923         * libidn/idn-stub.c: Likewise.
29924         * libio/libioP.h: Likewise.
29925         * nptl/libc_multiple_threads.c: Likewise.
29926         * nptl/pthreadP.h: Likewise.
29927         * posix/regex_internal.h: Likewise.
29928         * resolv/res_hconf.c: Likewise.
29929         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
29930         * sysdeps/arm/memmove.S: Likewise.
29931         * sysdeps/arm/sysdep.h: Likewise.
29932         * sysdeps/generic/_itoa.h: Likewise.
29933         * sysdeps/generic/symbol-hacks.h: Likewise.
29934         * sysdeps/gnu/errlist.awk: Likewise.
29935         * sysdeps/gnu/errlist.c: Likewise.
29936         * sysdeps/i386/i586/memcpy.S: Likewise.
29937         * sysdeps/i386/i586/memset.S: Likewise.
29938         * sysdeps/i386/i686/memcpy.S: Likewise.
29939         * sysdeps/i386/i686/memmove.S: Likewise.
29940         * sysdeps/i386/i686/mempcpy.S: Likewise.
29941         * sysdeps/i386/i686/memset.S: Likewise.
29942         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29943         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29944         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
29945         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
29946         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29947         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29948         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
29949         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29950         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29951         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29952         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29953         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29954         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29955         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29956         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29957         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29958         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
29959         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
29960         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
29961         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29962         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29963         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29964         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29965         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29966         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29967         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29968         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
29969         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29970         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
29971         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
29972         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29973         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29974         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29975         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29976         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29977         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
29978         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29979         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29980         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
29981         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
29982         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29983         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29984         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
29985         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
29986         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29987         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29988         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
29989         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
29990         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29991         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
29992         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29993         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
29994         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
29995         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29996         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29997         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
29998         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29999         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
30000         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
30001         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30002         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30003         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30004         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
30005         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30006         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30007         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
30008         * sysdeps/posix/closedir.c: Likewise.
30009         * sysdeps/posix/opendir.c: Likewise.
30010         * sysdeps/posix/readdir.c: Likewise.
30011         * sysdeps/posix/rewinddir.c: Likewise.
30012         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
30013         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
30014         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
30015         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30016         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
30017         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
30018         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
30019         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
30020         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
30021         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
30022         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
30023         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
30024         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
30025         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
30026         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
30027         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
30028         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
30029         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
30030         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
30031         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
30032         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
30033         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
30034         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
30035         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
30036         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
30037         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
30038         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
30039         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
30040         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
30041         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
30042         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
30043         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
30044         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
30045         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
30046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
30047         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
30048         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
30049         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
30050         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
30051         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
30052         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
30053         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
30054         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
30055         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
30056         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
30057         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
30058         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
30059         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
30060         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
30061         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
30062         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
30063         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
30064         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
30066         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
30067         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
30068         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
30069         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
30070         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
30071         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
30072         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
30073         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
30074         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30075         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
30076         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
30077         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
30078         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
30079         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
30080         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
30081         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
30082         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
30083         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
30084         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
30085         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
30086         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
30087         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
30088         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
30089         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
30090         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
30091         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
30092         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
30093         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
30094         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
30095         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
30096         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
30097         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
30098         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
30099         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
30100         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
30101         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30102         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
30103         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
30104         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
30105         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
30106         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30107         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
30108         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
30109         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
30110         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
30111         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
30112         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
30113         * sysdeps/unix/alpha/sysdep.S: Likewise.
30114         * sysdeps/unix/alpha/sysdep.h: Likewise.
30115         * sysdeps/unix/make-syscalls.sh: Likewise.
30116         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30117         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30118         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30119         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
30120         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30121         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
30122         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
30123         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30124         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30125         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
30126         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30127         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30128         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30129         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30130         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30131         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
30132         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30133         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30134         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30135         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30136         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
30137         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30138         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30139         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30140         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30141         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30142         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30145         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
30146         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30148         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
30149         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30150         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
30151         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30152         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
30153         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30154         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
30155         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
30156         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30157         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30158         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30159         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30160         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30161         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30162         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30163         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30164         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30165         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30166         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30167         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30168         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30169         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30170         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
30171         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30172         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30173         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30174         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
30175         * sysdeps/x86_64/memcpy.S: Likewise.
30176         * sysdeps/x86_64/memmove.c: Likewise.
30177         * sysdeps/x86_64/memset.S: Likewise.
30178         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
30179         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
30180         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
30181         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
30182         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
30183         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30184         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30185         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30186         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30187         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30188         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30189         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30190         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
30191         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30192         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30193         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
30194         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30195         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30196         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
30197         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30198         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
30199         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30200         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
30201         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
30202         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30203         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30204         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30205         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
30206         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30207         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30208         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
30209         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30210         * sysdeps/x86_64/strcmp.S: Likewise.
30212         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
30214         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
30215         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
30216         * elf/rtld-Rules: Likewise.
30217         * elf/setup-vdso.h: Likewise.
30218         * include/assert.h: Likewise.
30219         * include/bits/stdlib-float.h: Likewise.
30220         * include/errno.h: Likewise.
30221         * include/sys/stat.h: Likewise.
30222         * include/unistd.h: Likewise.
30223         * sysdeps/aarch64/setjmp.S: Likewise.
30224         * sysdeps/alpha/setjmp.S: Likewise.
30225         * sysdeps/arm/__longjmp.S: Likewise.
30226         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
30227         * sysdeps/arm/setjmp.S: Likewise.
30228         * sysdeps/arm/sysdep.h: Likewise.
30229         * sysdeps/generic/_itoa.h: Likewise.
30230         * sysdeps/generic/dl-sysdep.h: Likewise.
30231         * sysdeps/generic/ldsodefs.h: Likewise.
30232         * sysdeps/i386/dl-tls.h: Likewise.
30233         * sysdeps/i386/setjmp.S: Likewise.
30234         * sysdeps/m68k/setjmp.c: Likewise.
30235         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
30236         * sysdeps/mach/hurd/opendir.c: Likewise.
30237         * sysdeps/posix/getcwd.c: Likewise.
30238         * sysdeps/posix/opendir.c: Likewise.
30239         * sysdeps/posix/profil.c: Likewise.
30240         * sysdeps/powerpc/dl-procinfo.h: Likewise.
30241         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30242         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30243         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30244         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30245         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
30246         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
30247         * sysdeps/s390/dl-tls.h: Likewise.
30248         * sysdeps/s390/s390-32/setjmp.S: Likewise.
30249         * sysdeps/s390/s390-64/setjmp.S: Likewise.
30250         * sysdeps/sh/sh3/setjmp.S: Likewise.
30251         * sysdeps/sh/sh4/setjmp.S: Likewise.
30252         * sysdeps/unix/alpha/sysdep.h: Likewise.
30253         * sysdeps/unix/arm/sysdep.S: Likewise.
30254         * sysdeps/unix/i386/sysdep.S: Likewise.
30255         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30256         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
30257         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30258         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30259         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30260         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
30261         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
30262         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30263         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
30264         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
30265         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
30266         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30267         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30270         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30271         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
30272         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
30273         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30274         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
30275         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30276         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
30277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
30278         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30279         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30280         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30281         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
30282         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30283         * sysdeps/x86_64/setjmp.S: Likewise.
30285         * include/math.h: Use IS_IN instead of IS_IN_libm.
30286         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
30287         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
30288         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
30289         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
30290         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
30291         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
30292         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
30293         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
30294         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30295         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
30296         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
30297         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
30298         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
30299         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
30300         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
30301         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
30302         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
30303         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
30304         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
30305         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
30306         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
30307         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
30308         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
30309         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
30310         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
30311         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
30312         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
30313         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30314         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30315         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
30316         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
30317         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
30318         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
30320         Likewise.
30321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
30322         Likewise.
30323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
30324         Likewise.
30325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
30326         Likewise.
30327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
30328         Likewise.
30329         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
30330         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
30331         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
30332         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30333         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30334         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
30336         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
30337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
30338         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
30339         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
30340         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
30341         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
30342         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30343         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30344         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
30345         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30346         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30347         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30348         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
30349         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
30350         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
30351         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
30352         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
30353         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
30354         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
30355         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
30357         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
30358         * nptl/pthreadP.h: Likewise.
30359         * nptl_db/structs.def: Likewise.
30360         * sysdeps/arm/sysdep.h: Likewise.
30361         * sysdeps/nptl/bits/libc-lock.h: Likewise.
30362         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
30363         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
30364         * sysdeps/unix/alpha/sysdep.h: Likewise.
30365         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30366         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
30367         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30368         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30369         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30370         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30371         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
30372         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30373         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30374         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30375         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30376         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30377         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30378         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
30380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
30381         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30382         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30383         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30384         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30385         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30386         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30387         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
30388         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30389         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
30390         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30392         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
30393         * nptl/pthreadP.h: Likewise.
30394         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
30395         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
30396         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
30397         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
30398         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
30399         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
30400         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
30401         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
30402         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
30403         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
30404         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
30405         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
30406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
30407         Likewise.
30408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
30409         Likewise.
30410         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
30411         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
30412         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
30413         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
30414         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
30415         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
30416         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
30417         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
30419         * dlfcn/dladdr.c: Use IS_IN.
30420         * dlfcn/dladdr1.c: Likewise.
30421         * dlfcn/dlclose.c: Likewise.
30422         * dlfcn/dlerror.c: Likewise.
30423         * dlfcn/dlinfo.c: Likewise.
30424         * dlfcn/dlmopen.c: Likewise.
30425         * dlfcn/dlopen.c: Likewise.
30426         * dlfcn/dlsym.c: Likewise.
30427         * dlfcn/dlvsym.c: Likewise.
30429         * include/ifaddrs.h: Use IS_IN.
30430         * inet/check_pf.c: Likewise.
30431         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
30432         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
30434         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
30435         IS_IN_ldconfig.
30436         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
30437         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
30439         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
30440         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
30441         IS_IN (libc).
30443         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
30445         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
30446         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
30447         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
30448         * include/libc-symbols.h (IS_IN_LIB): New macro.
30449         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
30450         * include/netdb.h: Likewise.
30451         * include/stap-probe.h: Remove all uses of IN_LIB.
30453         * Makeconfig (module-cppflags-real): Define MODULE_NAME
30454         instead of IN_MODULE.
30455         * include/libc-symbols.h (IN_MODULE): Define using
30456         MODULE_NAME.
30457         (PASTE_NAME, PASTE_NAME1): New macros.
30458         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
30459         of IN_LIB.
30460         (STAP_PROBE_ASM): Likewise.
30462 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30464         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
30465         __mach_init in dlopened libc.
30467 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
30469         * sysdeps/arm/preconfigure.ac: Delete EABI check.
30470         * sysdeps/arm/preconfigure: Regenerate.
30472 2014-11-21  Roland McGrath  <roland@hack.frob.com>
30474         * nptl/pthread_create.c (__pthread_create_2_1): Set
30475         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
30476         when copying values from IATTR into PD.
30478 2014-11-21  Will Newton  <will.newton@linaro.org>
30479             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
30481         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
30482         Refactor inline-asm.  Also add comment.
30484         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
30485         ElfW macro instead of hardcoded Elf64 types.
30486         (la_aarch64_gnu_pltenter): Likewise.
30487         * sysdeps/aarch64/dl-machine.h
30488         (elf_machine_runtime_setup): Use ElfW(Addr).
30490         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
30491         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
30492         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
30493         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
30494         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
30495         (R_AARCH64_TLS_DTPMOD64): Rename to ..
30496         (R_AARCH64_TLS_DTPMOD): This.
30497         (R_AARCH64_TLS_DTPREL64): Rename to ...
30498         (R_AARCH64_TLS_DTPREL): This.
30499         (R_AARCH64_TLS_TPREL64): Rename to ...
30500         (R_AARCH64_TLS_TPREL): This.
30501         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
30502         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
30503         R_AARCH64_TLS_TPREL64.
30504         (elf_machine_rela): Likewise.
30506 2014-11-21  Torvald Riegel  <triegel@redhat.com>
30508         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
30509         by setting it to 0.  64b atomics are not supported currently.
30511 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30513         [BZ #16469]
30514         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
30515         search domain names.
30517 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30519         [BZ #16469]
30520         * NEWS: Update.
30521         * resolv/res_query.c (__libc_res_nquerydomain): Retain
30522         trailing dot.
30523         * posix/tst-getaddrinfo5.c: New.
30524         * posix/Makefile (tests): Add it.
30526 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30528         [BZ #14498]
30529         * NEWS: Fixed.
30530         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
30531         after parsing line but before break_if_match.
30532         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
30533         if there is a protocol mismatch.
30535 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
30537         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
30538         because the potential race is on the user-supplied stream.
30540 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30542         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
30543         string literal if not passed a buffer.
30544         * manual/job.texi (ctermid): Update reasoning, note deviation
30545         from posix, suggest mtasurace when not passed a buffer, for
30546         future non-preliminary safety notes.
30548 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30550         * manual/users.texi (cuserid): Fix MT-Safety note for the case
30551         of not passing it a buffer.
30552         Reported by Peng Haitao.
30554 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
30556         * manual/Makefile ($(objpfx)stamp-summary): Require
30557         check-safety.sh to pass.
30558         * manual/check-safety.sh: Wish for verification that every
30559         @deftypefn and @deftypefun is followed by a @safety remark.
30561 2014-11-20  Roland McGrath  <roland@hack.frob.com>
30563         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
30565         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
30566         PTHREAD_CANCEL_ASYNCHRONOUS.
30567         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
30568         send SIGCANCEL.
30570         * nptl/default-sched.h: New file.
30571         * sysdeps/unix/sysv/linux/default-sched.h: New file.
30572         * nptl/pthread_create.c: Include it.
30573         (__pthread_create_2_1): Use collect_default_sched instead of making
30574         Linux syscalls here directly.
30576 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30578         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
30579         __pthread_once): Use C11 atomics.
30581 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30583         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
30585 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30587         * include/atomic.h (__atomic_link_error, __atomic_check_size,
30588         atomic_thread_fence_acquire, atomic_thread_fence_release,
30589         atomic_thread_fence_seq_cst, atomic_load_relaxed,
30590         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
30591         atomic_compare_exchange_weak_relaxed,
30592         atomic_compare_exchange_weak_acquire,
30593         atomic_compare_exchange_weak_release,
30594         atomic_exchange_acquire, atomic_exchange_release,
30595         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
30596         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
30597         atomic_fetch_and_acquire,
30598         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
30600 2014-11-20  Torvald Riegel  <triegel@redhat.com>
30602         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
30603         USE_ATOMIC_COMPILER_BUILTINS): Define.
30604         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
30605         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30606         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
30607         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30608         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
30609         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30610         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
30611         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30612         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
30613         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30614         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
30615         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30616         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
30617         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30618         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
30619         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30620         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30621         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30622         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30623         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30624         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
30625         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30626         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
30627         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30628         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
30629         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30630         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
30631         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30632         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
30633         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30634         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
30635         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30636         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
30637         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30638         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30639         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30640         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
30641         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30642         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
30643         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
30645 2014-11-19  Roland McGrath  <roland@hack.frob.com>
30647         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
30648         the sched_priority value here.  It was already checked when the user
30649         called pthread_attr_setschedparam.
30651         * nptl/tst-bad-schedattr.c: New file.
30652         * nptl/Makefile (tests): Add it.
30654 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
30655             Florian Weimer  <fweimer@redhat.com>
30656             Joseph Myers  <joseph@codesourcery.com>
30657             Adam Conrad  <adconrad@0c3.net>
30658             Andreas Schwab  <schwab@suse.de>
30659             Brooks  <bmoses@google.com>
30661         [BZ #17625]
30662         * wordexp-test.c (__dso_handle): Add prototype.
30663         (__register_atfork): Likewise.
30664         (__app_register_atfork): New function.
30665         (registered_forks): New global.
30666         (register_fork): New function.
30667         (test_case): Add 3 new tests for WRDE_CMDSUB.
30668         (main): Call __app_register_atfork.
30669         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
30670         fork count is non-zero fail the test.
30671         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
30672         is set.
30673         (parse_dollars): Remove check for WRDE_NOCMD.
30674         (parse_dquote): Likewise.
30676 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30678         * Makeconfig (built-modules): List non-library modules to be
30679         built.
30680         (module-cppflags): Include libc-modules.h for
30681         everything except shlib-versions.v.i.
30682         (CPPFLAGS): Use it.
30683         (before-compile): Add libc-modules.h.
30684         ($(common-objpfx)libc-modules.h,
30685         $(common-objpfx)libc-modules.stmp): New targets.
30686         (common-generated): Add libc-modules.h and libc-modules.stmp.
30687         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
30688         * include/libc-symbols.h: Don't include libc-modules.h.
30689         * include/libc-modules.h: Remove file.
30690         * scripts/gen-libc-modules.awk: New script to generate
30691         libc-modules.h.
30692         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
30693         Depend on libc-modules.stmp.
30695         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
30697         * Makeconfig (in-module): Get value of libof set for the
30698         translation unit.
30699         (CPPFLAGS): Use $(in-module).
30700         * Makerules: Don't suffix routine names for nonlib.
30701         * include/libc-modules.h: New file.
30702         * include/libc-symbols.h: Include libc-modules.h
30703         (IS_IN): New macro to replace IS_IN_* macros.
30704         * elf/Makefile: Set libof-* for each routine.
30705         * elf/rtld-Rules: Likewise.
30706         * extra-modules.mk: Likewise.
30707         * iconv/Makefile: Likewise.
30708         * iconvdata/Makefile: Likewise.
30709         * locale/Makefile: Likewise.
30710         * malloc/Makefile: Likewise.
30711         * nss/Makefile: Likewise.
30712         * sysdeps/gnu/Makefile: Likewise.
30713         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
30714         * sysdeps/unix/sysv/linux/Makefile: Likewise.
30715         * sysdeps/s390/s390-64/Makefile: Likewise.
30716         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
30717         CPPFLAGS for nscd instead of nonlib.
30719 2014-11-18  Roland McGrath  <roland@hack.frob.com>
30721         * nptl/createthread.c: New file.
30723         * nptl/createthread.c: Moved ...
30724         * sysdeps/unix/sysv/linux/createthread.c: ... here.
30726         * nptl/createthread.c: Add proper top-line comment.
30727         (do_clone): Folded into ...
30728         (create_thread): ... here.  Take new arguments STOPPED_START and
30729         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
30730         increment __nptl_threads, do event-reporting logic, do
30731         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
30732         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
30733         resource cleanup if sched_setaffinity or sched_setscheduler fails,
30734         just send SIGCANCEL.
30735         * nptl/pthread_create.c: Forward-declare create_thread before
30736         including createthread.c.
30737         (start_thread): Use new macro START_THREAD_DEFN to replace defining
30738         declaration, and new macro START_THREAD_SELF to replace argument.
30739         Remove return statement.
30740         (report_thread_creation): New function.
30741         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
30742         synchronization logic, and __nptl_nthreads increment here, around
30743         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
30744         PD->parent_cancelhandling here, before create_thread.  When
30745         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
30746         __deallocate_stack, and ENOMEM translation here.
30748 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
30750         [BZ #17616]
30751         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
30752         (mptwo): Rename to __mptwo.
30753         (__inv): Use __mptwo instead of mptwo.
30754         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
30755         (mptwo): Rename to __mptwo.
30756         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
30757         of mpone and __mptwo instead of mptwo.
30758         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
30759         instead of mpone.
30760         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30761         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
30762         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
30763         of mpone and __mptwo instead of mptwo.
30764         (__mpranred): Use __mpone instead of mpone.
30765         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
30766         variable.
30767         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30768         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30769         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30770         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30771         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30772         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30773         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30774         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30775         (test-xfail-POSIX/math.h/linknamespace): Likewise.
30776         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
30777         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
30778         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
30779         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
30780         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
30781         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
30782         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
30783         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
30784         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
30785         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
30787 2014-11-18  Tom de Vries  <tom@codesoucery.com>
30789         * manual/signal.texi (Primitives Interrupted by Signals): In section,
30790         replace BSD Handler xref with BSD Signal Handling.
30792 2014-11-17  Richard Henderson  <rth@redhat.com>
30794         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
30795         (_FP_PACK_RAW_2): Remove.
30796         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
30797         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
30798         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
30799         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
30800         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
30801         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
30802         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
30803         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
30804         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
30805         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
30806         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
30807         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
30808         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
30809         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
30810         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
30811         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
30813 2014-11-14  Roland McGrath  <roland@hack.frob.com>
30815         * signal/signal.h [__USE_MISC]
30816         (struct sigvec): Remove type.
30817         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
30818         (sigvec): Remove declaration.
30819         * sysdeps/posix/sigvec.c: Moved ...
30820         * signal/sigvec.c: ... here, replacing old file.
30821         (struct sigvec): New type, copied from old signal.h definition.
30822         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
30823         (__sigvec): Convert definition to prototype.
30824         (sigvec): Replace weak_alias with compat_symbol.
30825         * signal/Versions (libc: GLIBC_2.21): New version set.
30826         * include/signal.h: Remove __sigvec declaration.
30827         * sysdeps/unix/bsd/sigvec.c: Remove file.
30828         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
30829         * manual/signal.texi (BSD Handler): Remove subsection.
30830         Move siginterrupt up to ...
30831         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
30832         (Blocking in BSD): Fold subsection into its parent.
30833         * NEWS: Mention sigvec removal.
30835 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30837         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
30838         (DLA_FMS): Make definition conditional only on [__FMA4__].
30839         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
30840         definition.
30842         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
30843         Make definition conditional only on [PROF].
30844         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
30845         definition.
30846         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
30847         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
30849         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
30850         !__GNUC__].
30851         * include/signal.h (__sigpause): Move declaration above call to
30852         libc_hidden_proto.
30853         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
30854         variable.
30855         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30856         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30858 2014-11-14  David S. Miller  <davem@davemloft.net>
30860         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
30861         Define before including <string/memcpy.c> and <string/mempcpy.c>.
30863 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
30865         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
30866         * configure: Regenerated.
30867         * manual/install.texi (Tools for Compilation): Document a
30868         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
30869         compiler verified to work.
30870         * INSTALL: Regenerated.
30872         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
30873         redeclare with asm name.
30874         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
30875         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
30876         including <string.h>.
30877         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30878         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
30879         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30880         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
30881         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30882         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30883         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
30885 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
30887         * stdlib/strtol.c (__strtol): Use prototype definition.
30889         [BZ #17594]
30890         * stdlib/strtol.c (SYM__): New macro.
30891         (SYM__1): Likewise.
30892         (__strtol): Likewise.
30893         (strtol): Rename to __strtol and define as weak alias of
30894         __strtol.  Use libc_hidden_weak.
30896 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30898         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
30899         Use numbered labels in inline assembly.
30901 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30903         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
30904         Add setjmp LIBC_PROBE.
30905         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
30906         Likewise.
30907         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
30908         Add longjmp, longjmp_target LIBC_PROBE.
30909         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
30910         Likewise.
30912 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30914         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30915         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
30916         to get rid of unused variable warning.
30918 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
30920         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
30921         Check for unwind_backtrace ==  NULL only in SHARED case.
30922         (__backchain_backtrace): Compile only in SHARED case.
30923         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
30924         Likewise.
30925         (__backchain_backtrace): Declare as static.
30927 2014-11-12  Roland McGrath  <roland@hack.frob.com>
30929         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
30930         (__libc_multiple_threads_ptr): Variable moved ...
30931         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
30933 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
30935         * conform/GlibcConform.pm: New file.
30936         * conform/conformtest.pl: Use GlibcConform module.
30937         * conform/linknamespace.pl: New file.
30938         * conform/list-header-symbols.pl: Likewise.
30939         * conform/Makefile (linknamespace-symlists-base): New variable.
30940         (linknamespace-symlists-tests): Likewise.
30941         (linknamespace-header-base): Likewise.
30942         (linknamespace-header-tests): Likewise.
30943         (tests-special): Add new tests.
30944         ($(linknamespace-symlists-tests)): New rule.
30945         (linknamespace-libs): New variable.
30946         ($(objpfx)symlist-stdlibs): New rule.
30947         ($(linknamespace-header-tests)): Likewise.
30948         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
30949         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
30950         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
30951         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
30952         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
30953         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
30954         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
30955         (test-xfail-ISO/math.h/linknamespace): Likewise.
30956         (test-xfail-ISO/signal.h/linknamespace): Likewise.
30957         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
30958         (test-xfail-ISO/time.h/linknamespace): Likewise.
30959         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
30960         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
30961         (test-xfail-ISO99/math.h/linknamespace): Likewise.
30962         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
30963         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
30964         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
30965         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
30966         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
30967         (test-xfail-ISO11/math.h/linknamespace): Likewise.
30968         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
30969         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
30970         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
30971         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
30972         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
30973         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
30974         (test-xfail-XPG3/math.h/linknamespace): Likewise.
30975         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
30976         (test-xfail-XPG3/search.h/linknamespace): Likewise.
30977         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
30978         (test-xfail-XPG3/time.h/linknamespace): Likewise.
30979         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
30980         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
30981         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
30982         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
30983         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
30984         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
30985         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
30986         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
30987         (test-xfail-XPG4/math.h/linknamespace): Likewise.
30988         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
30989         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
30990         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
30991         (test-xfail-XPG4/search.h/linknamespace): Likewise.
30992         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
30993         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
30994         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
30995         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
30996         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
30997         (test-xfail-XPG4/time.h/linknamespace): Likewise.
30998         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
30999         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
31000         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
31001         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
31002         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
31003         (test-xfail-POSIX/math.h/linknamespace): Likewise.
31004         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
31005         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
31006         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
31007         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31008         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
31009         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
31010         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31011         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
31012         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
31013         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31014         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31015         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
31016         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
31017         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
31018         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31019         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31020         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
31021         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
31022         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
31023         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31024         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31025         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
31026         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31027         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
31028         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
31029         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
31030         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
31031         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
31032         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
31033         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
31034         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31035         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
31036         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
31037         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
31038         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
31039         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
31040         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
31041         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
31042         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
31043         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
31044         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
31045         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31046         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
31047         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31048         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
31049         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
31050         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
31051         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
31052         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
31053         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
31054         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31055         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
31056         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
31057         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
31058         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
31059         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
31060         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
31061         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
31062         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
31063         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
31064         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
31065         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
31066         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
31067         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
31068         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
31069         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31070         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
31071         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31072         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
31073         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
31074         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31075         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
31076         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
31077         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
31078         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
31079         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
31080         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
31081         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
31082         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
31083         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
31084         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
31085         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
31086         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
31087         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
31088         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
31089         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31090         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
31091         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
31092         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31093         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
31094         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31095         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
31096         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
31097         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
31098         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
31099         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
31100         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
31101         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31102         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
31103         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
31104         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
31105         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
31106         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
31107         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
31108         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
31110         [BZ #17589]
31111         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
31112         of fgets_unlocked.
31114         [BZ #17585]
31115         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
31116         (memmem): Rename to __memmem and define as weak alias of
31117         __memmem.  Use libc_hidden_weak.
31118         (__memmem): Use libc_hidden_def.
31119         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
31120         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
31121         memmem.
31123         [BZ #17582]
31124         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
31125         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
31126         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
31127         and define as weak alias of __fgets_unlocked.  Use
31128         libc_hidden_weak.
31129         (__fgets_unlocked): Use libc_hidden_def.
31130         * include/stdio.h (__fgets_unlocked): Declare.  Use
31131         libc_hidden_proto.
31132         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
31133         __fgets_unlocked instead of fgets_unlocked.
31134         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
31135         (GET_NPROCS_CONF_PARSER): Likewise.
31136         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
31137         (GET_NPROCS_CONF_PARSER): Likewise.
31139         [BZ #17574]
31140         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
31141         weak alias of __wmemset.  Use libc_hidden_weak.
31142         (__wmemset): Use libc_hidden_def.
31143         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
31144         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
31145         of wmemset.
31147         [BZ #17573]
31148         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
31149         with asm name __mempcpy.
31150         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
31152         [BZ #17572]
31153         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
31154         and define as weak alias of __rawmemchr.
31155         (__rawmemchr): Do not define as strong alias of rawmemchr.
31157         [BZ #17571]
31158         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
31159         alias of __qsort_r.
31160         (qsort): Call __qsort_r instead of qsort_r.
31161         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
31162         (__qsort_r): Declare.  Call libc_hidden_proto.
31163         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
31164         instead of qsort_r.
31165         * nscd/gai.c (__qsort_r): Define to qsort_r.
31166         * posix/tst-rfc3484.c (__qsort_r): Likewise.
31167         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
31168         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
31170         [BZ #17570]
31171         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
31172         define as weak alias of __malloc_info.
31174         [BZ #17584]
31175         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
31176         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31177         (__rewinddir): Use libc_hidden_def.
31178         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
31179         as weak alias of __rewinddir.  Don't use libc_hidden_def.
31180         (__rewinddir): Use libc_hidden_def.
31181         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
31182         weak alias of __rewinddir.  Don't use libc_hidden_def.
31183         (__rewinddir): Use libc_hidden_def.
31184         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
31185         (__rewinddir): Use libc_hidden_proto.
31186         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
31187         rewinddir.
31188         (__getcwd): Use __rewinddir instead of rewinddir.
31190         [BZ #17583]
31191         * libio/fileno.c (fileno): Rename to __fileno and define as weak
31192         alias of __fileno.  Use libc_hidden_weak.
31193         (__fileno): Use libc_hidden_def.
31194         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
31195         * libio/ftello.c (ftello): Rename to __ftello and define as weak
31196         alias of __ftello.
31197         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
31198         __ftello.
31199         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
31200         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
31201         libc_hidden_def.
31202         (fread_unlocked): Don't use libc_hidden_ver.
31203         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
31204         and define as weak alias of __fread_unlocked.  Don't use
31205         libc_hidden_def.
31206         (__fread_unlocked): Use libc_hidden_def.
31207         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
31208         (ftello): Don't use libc_hidden_proto.
31209         (__ftello): Declare.  Use libc_hidden_proto.
31210         (fread_unlocked): Don't use libc_hidden_proto.
31211         (__fread_unlocked): Declare.  Use libc_hidden_proto.
31212         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
31213         and __ftello instead of fileno, fread_unlocked and ftello.
31215 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31217         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
31218         GOT12.
31219         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
31220         Likewise.
31221         (_dl_start_user): Likewise.
31222         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
31224 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
31225             Siddhesh Poyarekar  <siddhesh@redhat.com>
31227         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
31228         Move argv and envp down instead of moving argc up.
31229         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
31231 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
31233         [BZ #17506]
31234         * test-skeleton.c (main): Return successful if one of
31235         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
31236         * string/tst-strcoll-overflow.c: Define expected status.
31238 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
31240         [BZ #17475]
31241         * locale/iso-639.def: Define Bhili and Tulu language codes.
31243 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
31245         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
31247 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
31249         [BZ #17555]
31250         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
31252 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31254         * configure.ac: Updated check of minimal required version to
31255         2.22.
31256         * manual/install.texi (Tools for Compilation): Updated version
31257         number.
31258         * configure: Regenerated.
31259         * INSTALL: Likewise.
31261 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
31263         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
31264         __tls_get_addr.
31266 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
31268         * include/sys/wait.h (__libc_waitpid): Remove declaration.
31269         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
31270         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31271         libc_hidden_weak.
31272         (waitpid): Define as alias of __waitpid.
31273         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
31274         __waitpid.
31275         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31276         libc_hidden_weak.
31277         (waitpid): Define as alias of __waitpid.
31278         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
31279         __libc_waitpid alias.
31280         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
31281         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
31282         Likewise.
31283         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
31284         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
31285         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
31286         alias.
31287         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
31288         __waitpid.
31289         (__waitpid): Don't define as alias.  Use libc_hidden_def not
31290         libc_hidden_weak.
31291         (waitpid): Define as alias of __waitpid.
31293 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
31295         * manual/llio.texi: Add comment that write safety has been
31296         fixed in Linux.
31298         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
31299         (localplt-build-dso): Add elf/ld.so.
31300         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
31301         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
31302         and free for ld.so.
31303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
31304         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
31305         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
31306         Likewise.
31307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
31308         Likewise.
31309         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
31310         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
31311         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
31312         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
31313         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
31314         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
31315         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
31316         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
31317         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
31318         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
31319         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
31321 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
31323         [BZ #14132]
31324         * include/libc-symbols.h (INTUSE): Remove macro.
31325         (INTDEF): Likewise.
31326         (INTVARDEF): Likewise.
31327         (_INTVARDEF): Likewise.
31328         (INTDEF2): Likewise.
31329         (INTVARDEF2): Likewise.
31330         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
31331         rtld_hidden_def instead of INTVARDEF.
31332         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
31333         (_dl_starting_up_internal): Remove declaration.
31334         (_dl_starting_up): Use rtld_hidden_proto.
31335         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
31336         declaration.
31337         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
31338         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
31339         _dl_starting_up.
31340         * elf/dl-writev.h (_dl_writev): Likewise.
31341         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
31342         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
31343         _dl_starting_up_internal.
31345 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31347         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31348         test-skeleton.c.
31350 2014-11-05  Will Newton  <will.newton@linaro.org>
31352         * benchtests/Makefile: (bench-malloc): Add malloc thread
31353         scalability benchmark.
31354         * benchtests/bench-malloc-threads.c: New file.
31356 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
31358         * sysdeps/aarch64/strchrnul.S: New file.
31360 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31362         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
31363         definition.
31364         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
31365         Likwise.
31366         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
31367         Likewise.
31368         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
31369         Likewise.
31370         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
31371         Likewise.
31372         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
31373         Likewise.
31375 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
31377         * catgets/test-gencat.c: Use test-skeleton.c.
31378         * catgets/tst-catgets.c: Likewise.
31379         * csu/tst-empty.c: Likewise.
31380         * elf/tst-audit2.c: Likewise.
31381         * elf/tst-global1.c: Likewise.
31382         * elf/tst-pathopt.c: Likewise.
31383         * elf/tst-piemod1.c: Likewise.
31384         * elf/tst-tls10.c: Likewise.
31385         * elf/tst-tls11.c: Likewise.
31386         * elf/tst-tls12.c: Likewise.
31387         * gnulib/tst-gcc.c: Likewise.
31388         * iconvdata/tst-e2big.c: Likewise.
31389         * iconvdata/tst-loading.c: Likewise.
31390         * iconv/tst-iconv1.c: Likewise.
31391         * iconv/tst-iconv2.c: Likewise.
31392         * inet/test-inet6_opt.c: Likewise.
31393         * inet/tst-gethnm.c: Likewise.
31394         * inet/tst-network.c: Likewise.
31395         * inet/tst-ntoa.c: Likewise.
31396         * intl/tst-codeset.c: Likewise.
31397         * intl/tst-gettext2.c: Likewise.
31398         * intl/tst-gettext3.c: Likewise.
31399         * intl/tst-ngettext.c: Likewise.
31400         * intl/tst-translit.c: Likewise.
31401         * io/test-stat.c: Likewise.
31402         * libio/test-fmemopen.c: Likewise.
31403         * libio/tst-freopen.c: Likewise.
31404         * libio/tst-sscanf.c: Likewise.
31405         * libio/tst-ungetwc1.c: Likewise.
31406         * libio/tst-ungetwc2.c: Likewise.
31407         * libio/tst-widetext.c: Likewise.
31408         * localedata/tst-ctype.c: Likewise.
31409         * localedata/tst-digits.c: Likewise.
31410         * localedata/tst-leaks.c: Likewise.
31411         * localedata/tst-mbswcs1.c: Likewise.
31412         * localedata/tst-mbswcs2.c: Likewise.
31413         * localedata/tst-mbswcs3.c: Likewise.
31414         * localedata/tst-mbswcs4.c: Likewise.
31415         * localedata/tst-mbswcs5.c: Likewise.
31416         * localedata/tst-setlocale.c: Likewise.
31417         * localedata/tst-trans.c: Likewise.
31418         * localedata/tst-wctype.c: Likewise.
31419         * localedata/tst-xlocale1.c: Likewise.
31420         * login/tst-grantpt.c: Likewise.
31421         * malloc/tst-calloc.c: Likewise.
31422         * malloc/tst-malloc.c: Likewise.
31423         * malloc/tst-mallocstate.c: Likewise.
31424         * malloc/tst-mcheck.c: Likewise.
31425         * malloc/tst-mtrace.c: Likewise.
31426         * malloc/tst-obstack.c: Likewise.
31427         * math/atest-exp2.c: Likewise.
31428         * math/atest-exp.c: Likewise.
31429         * math/atest-sincos.c: Likewise.
31430         * math/test-matherr.c: Likewise.
31431         * math/test-misc.c: Likewise.
31432         * math/test-powl.c: Likewise.
31433         * math/tst-definitions.c: Likewise.
31434         * misc/tst-dirname.c: Likewise.
31435         * misc/tst-efgcvt.c: Likewise.
31436         * misc/tst-fdset.c: Likewise.
31437         * misc/tst-hsearch.c: Likewise.
31438         * misc/tst-mntent2.c: Likewise.
31439         * nptl/tst-sem7.c: Likewise.
31440         * nptl/tst-sem8.c: Likewise.
31441         * nptl/tst-sem9.c: Likewise.
31442         * nss/test-netdb.c: Likewise.
31443         * posix/tst-fnmatch.c: Likewise.
31444         * posix/tst-getlogin.c: Likewise.
31445         * posix/tst-gnuglob.c: Likewise.
31446         * posix/tst-mmap.c: Likewise.
31447         * pwd/tst-getpw.c: Likewise.
31448         * resolv/tst-inet_ntop.c: Likewise.
31449         * rt/tst-timer.c: Likewise.
31450         * stdio-common/test-fseek.c: Likewise.
31451         * stdio-common/test-popen.c: Likewise.
31452         * stdio-common/test-vfprintf.c: Likewise.
31453         * stdio-common/tst-cookie.c: Likewise.
31454         * stdio-common/tst-fileno.c: Likewise.
31455         * stdio-common/tst-gets.c: Likewise.
31456         * stdio-common/tst-obprintf.c: Likewise.
31457         * stdio-common/tst-perror.c: Likewise.
31458         * stdio-common/tst-sprintf2.c: Likewise.
31459         * stdio-common/tst-sprintf3.c: Likewise.
31460         * stdio-common/tst-sprintf.c: Likewise.
31461         * stdio-common/tst-swprintf.c: Likewise.
31462         * stdio-common/tst-tmpnam.c: Likewise.
31463         * stdio-common/tst-unbputc.c: Likewise.
31464         * stdio-common/tst-wc-printf.c: Likewise.
31465         * stdlib/tst-environ.c: Likewise.
31466         * stdlib/tst-fmtmsg.c: Likewise.
31467         * stdlib/tst-limits.c: Likewise.
31468         * stdlib/tst-rand48-2.c: Likewise.
31469         * stdlib/tst-rand48.c: Likewise.
31470         * stdlib/tst-random2.c: Likewise.
31471         * stdlib/tst-random.c: Likewise.
31472         * stdlib/tst-strtol.c: Likewise.
31473         * stdlib/tst-strtoll.c: Likewise.
31474         * stdlib/tst-tls-atexit.c: Likewise.
31475         * stdlib/tst-xpg-basename.c: Likewise.
31476         * string/test-ffs.c: Likewise.
31477         * string/tst-bswap.c: Likewise.
31478         * string/tst-inlcall.c: Likewise.
31479         * string/tst-strtok.c: Likewise.
31480         * string/tst-strxfrm.c: Likewise.
31481         * sysdeps/x86_64/tst-audit10.c: Likewise.
31482         * sysdeps/x86_64/tst-audit3.c: Likewise.
31483         * sysdeps/x86_64/tst-audit4.c: Likewise.
31484         * sysdeps/x86_64/tst-audit5.c: Likewise.
31485         * time/tst-ftime_l.c: Likewise.
31486         * time/tst-getdate.c: Likewise.
31487         * time/tst-mktime3.c: Likewise.
31488         * time/tst-mktime.c: Likewise.
31489         * time/tst-posixtz.c: Likewise.
31490         * time/tst-strptime2.c: Likewise.
31491         * time/tst-strptime3.c: Likewise.
31492         * wcsmbs/tst-btowc.c: Likewise.
31493         * wcsmbs/tst-mbrtowc.c: Likewise.
31494         * wcsmbs/tst-mbsrtowcs.c: Likewise.
31495         * wcsmbs/tst-wchar-h.c: Likewise.
31496         * wcsmbs/tst-wcpncpy.c: Likewise.
31497         * wcsmbs/tst-wcrtomb.c: Likewise.
31498         * wcsmbs/tst-wcsnlen.c: Likewise.
31499         * wcsmbs/tst-wcstof.c: Likewise.
31501 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
31503         [BZ #14132]
31504         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
31505         INTDEF.
31506         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
31507         declaration.
31508         (_dl_mcount): Use rtld_hidden_proto.
31509         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
31510         _dl_mcount.
31511         * elf/rtld.c (_rtld_global_ro): Likewise.
31513         [BZ #14132]
31514         * elf/dl-init.c (_dl_init): Don't use INTDEF.
31515         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
31516         of _dl_init_internal.
31517         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
31518         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
31519         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
31520         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
31521         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
31522         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
31523         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
31524         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
31525         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
31526         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
31527         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
31528         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
31529         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
31530         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
31531         * sysdeps/tile/dl-start.S (_start): Likewise.
31532         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
31533         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
31535         [BZ #14132]
31536         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
31537         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
31538         (rtld_progname): Make macro definition unconditional.
31539         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
31540         INTDEF.
31541         (dlmopen_doit): Do not use INTUSE with _dl_argv.
31542         (dl_main): Likewise.
31543         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
31544         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
31545         instead of _dl_argv_internal.
31546         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
31547         __GI__dl_argv instead of INTUSE(_dl_argv).
31548         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
31549         __GI__dl_argv instead of _dl_argv_internal.
31551         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
31552         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
31553         macro.
31554         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
31555         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
31556         New macro.
31557         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
31558         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
31559         macro.
31560         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
31561         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
31563 2014-11-04  Andreas Schwab  <schwab@suse.de>
31565         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
31567 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31569         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
31570         mtvsrd instruction in binary form.
31572 2014-11-03  Andreas Schwab  <schwab@suse.de>
31574         [BZ #17522]
31575         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
31576         for less than MB_LEN_MAX use a local buffer of that size.
31577         * libio/tst-fputws.c: New file.
31578         * libio/Makefile (tests): Add tst-fputws.
31580 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
31582         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
31583         the size of the fpu_fr.fpu_dregs[] array.
31585 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
31587         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
31588         (__nanosleep): Do not define as alias.
31589         (nanosleep): Define as alias of __nanosleep.
31590         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
31591         __libc_nanosleep name.
31593 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31595         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
31596         install.texi in comment.
31598 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31600         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
31601         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
31602         ... add here and use lwsync or sync ...
31603         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
31604         ... and add here using lwsync.
31606 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31608         * elf/dl-machine-reject-phdr.h: New file.
31609         * elf/dl-load.c: #include that.
31610         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
31611         if that returned true.
31613 2014-10-31  Roland McGrath  <roland@hack.frob.com>
31615         [BZ #17496]
31616         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
31617         gen-as-const-headers chunk.  Add a big scare comment after the last
31618         safe place to touch before-compile.
31620 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
31622         * manual/install.texi (Tools for Compilation): Update autoconf
31623         version requirements.
31624         * INSTALL: Regenerated.
31626         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
31627         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
31628         (__libc_pselect): Likewise.
31630         [BZ #14138]
31631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
31632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31636 2014-10-31  Torvald Riegel  <triegel@redhat.com>
31638         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
31639         correct barrier instruction.
31640         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
31641         Likewise.
31642         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
31643         Likewise.
31645 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31647         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
31648         after defining inlines.  Instead, just use parens to defeat macro
31649         expansion of __isctype in its declaration.
31651 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31653         * include/sys/uio.h (__libc_readv): Remove declaration.
31654         (__libc_writev): Likewise.
31655         * misc/readv.c (__libc_readv): Rename to __readv.
31656         (__readv): Do not define as alias.
31657         (readv): Define as alias of __readv.
31658         * misc/writev.c (__libc_writev): Rename to __writev.
31659         (__writev): Do not define as alias.
31660         (writev): Define as alias of __writev.
31661         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
31662         (__readv): Do not define as alias.
31663         (readv): Define unconditionally as alias of __readv.
31664         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
31665         (__writev): Do not define as alias.
31666         (writev): Define unconditionally as alias of __writev.
31667         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
31668         name.
31669         (writev): Do not define __libc_writev name.
31671 2014-10-30  Roland McGrath  <roland@hack.frob.com>
31673         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
31674         (convert_charseq): New function, broken out of ...
31675         (use_from_charmap): ... here.  Call it.
31676         (use_to_charmap): Use convert_charseq and free instead of duplicating
31677         its code with a variable-length stack struct.
31679 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
31681         * include/fcntl.h (__libc_creat): Remove declaration.
31682         * io/creat.c (__libc_creat): Rename to creat.
31683         (creat): Do not define as alias.
31684         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
31685         of creat instead of __libc_creat.
31686         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
31687         to creat.
31688         (creat): Do not define as alias.
31689         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
31690         __libc_creat.
31691         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
31692         __libc_creat name.
31693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
31694         Likewise.
31696 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
31698         * manual/llio.texi: Add comments discussing why write() may be
31699         considered MT-unsafe on Linux.
31701 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
31703         * dl-load.c (local_strdup): Remove.
31704         (expand_dynamic_string_token): Use __strdup.
31705         (decompose_rpath): Likewise.
31706         (_dl_map_object): Likewise.
31708 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
31710         [BZ #14132]
31711         * sysdeps/generic/unwind-dw2-fde.c
31712         (__register_frame_info_bases_internal): Do not declare.
31713         (__register_frame_info_table_bases_internal): Likewise.
31714         (__deregister_frame_info_bases_internal): Likewise.
31715         (__register_frame_info_bases): Declare and use hidden_proto before
31716         definition.  Use hidden_def instead of INTDEF.
31717         (__register_frame_info_table_bases): Likewise.
31718         (__deregister_frame_info_bases): Likewise.
31719         (__register_frame_info): Do not use INTUSE.
31720         (__register_frame): Likewise.
31721         (__register_frame_info_table): Likewise.
31722         (__register_frame_table): Likewise.
31723         (__deregister_frame_info): Likewise.
31724         (__deregister_frame): Likewise.
31726 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
31728         * sysdeps/unix/sysv/linux/arm/kernel-features.h
31729         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
31730         not undefine.
31731         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
31732         Likewise.
31733         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
31734         Likewise.
31736 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
31738         [BZ #14138]
31739         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
31740         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
31741         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
31742         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
31743         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
31744         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
31745         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
31746         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
31747         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
31748         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
31749         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
31750         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
31751         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
31752         syscall.
31753         (setfsuid): Likewise.
31754         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
31755         (setfsuid): Likewise.
31756         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
31757         (setfsuid): Likewise.
31758         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
31759         Likewise.
31760         (setfsuid): Likewise.
31761         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
31762         (setfsuid): Likewise.
31763         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
31764         Likewise.
31765         (setfsuid): Likewise.
31767 2014-10-27  Andreas Schwab  <schwab@suse.de>
31769         [BZ #17501]
31770         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
31771         check for Slow_SSE4_2 feature bit.
31772         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
31773         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
31774         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
31775         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
31777 2014-10-24  Roland McGrath  <roland@hack.frob.com>
31779         * configure.ac: Validate compiler version with a empirical test of
31780         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
31781         $CC -v output.
31782         * configure: Regenerated.
31784         * inet/htons.c (htons): Prototypify.
31785         * inet/htonl.c (htonl): Likewise.
31787 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31789         * string/strncat.c (strncat): Improve performance by using strlen.
31791 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31793         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
31795 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31797         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
31798         Call libc_fetestexcept_aarch64.
31800 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31802         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
31803         Call libc_feholdexcept_aarch64.
31805 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31807         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
31808         Call get_rounding_mode.
31810 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31812         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31813         Simplify logic.
31815 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
31817         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
31818         Simplify logic.
31820 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
31822         [BZ #14138]
31823         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
31824         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
31825         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
31826         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
31827         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
31828         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
31829         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
31830         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
31831         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
31832         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
31833         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31834         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
31835         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
31836         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
31837         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
31838         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
31839         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
31840         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
31841         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
31842         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
31843         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
31844         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
31845         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
31846         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
31847         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
31848         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
31849         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
31850         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
31851         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
31852         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
31853         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
31854         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
31855         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
31856         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
31857         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
31858         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
31859         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
31860         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
31861         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
31862         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
31863         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
31864         syscall.
31865         (geteuid): Likewise.
31866         (getgid): Likewise.
31867         (getuid): Likewise.
31868         (getresgid): Likewise.
31869         (getresuid): Likewise.
31870         (getgroups): Likewise.
31871         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
31872         (geteuid): Likewise.
31873         (getgid): Likewise.
31874         (getuid): Likewise.
31875         (getresgid): Likewise.
31876         (getresuid): Likewise.
31877         (getgroups): Likewise.
31878         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
31879         (geteuid): Likewise.
31880         (getgid): Likewise.
31881         (getuid): Likewise.
31882         (getresgid): Likewise.
31883         (getresuid): Likewise.
31884         (getgroups): Likewise.
31885         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
31886         Likewise.
31887         (geteuid): Likewise.
31888         (getgid): Likewise.
31889         (getuid): Likewise.
31890         (getresgid): Likewise.
31891         (getresuid): Likewise.
31892         (getgroups): Likewise.
31893         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
31894         (geteuid): Likewise.
31895         (getgid): Likewise.
31896         (getuid): Likewise.
31897         (getresgid): Likewise.
31898         (getresuid): Likewise.
31899         (getgroups): Likewise.
31900         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
31901         Likewise.
31902         (geteuid): Likewise.
31903         (getgid): Likewise.
31904         (getuid): Likewise.
31905         (getgroups): Likewise.
31907         [BZ #14138]
31908         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
31909         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
31910         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
31911         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
31912         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
31913         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
31914         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
31915         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
31916         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
31917         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
31918         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
31919         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
31920         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
31921         __chown.
31922         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
31923         (lchown): Likewise.
31924         (fchown): Likewise.
31925         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
31926         Likewise.
31927         (lchown): Likewise.
31928         (fchown): Likewise.
31929         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
31930         (lchown): Likewise.
31931         (fchown): Likewise.
31932         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
31933         Likewise.
31934         (lchown): Likewise.
31935         (fchown): Likewise.
31937 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31939         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
31940         Simplify logic.
31942 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31944         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31945         Cleanup logic.
31947 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31949         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
31950         Remove unused include.
31952 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
31954         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
31955         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
31956         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
31957         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
31959 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
31960             Helge Deller <deller@gmx.de>
31962         [BZ #17508]
31963         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
31964         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
31965         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
31967 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
31969         [BZ #14132]
31970         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
31971         Remove macro definition.
31972         (__ashrdi3_v_glibc20): Likewise.
31973         (__lshrdi3_v_glibc20): Likewise.
31974         (__cmpdi2_v_glibc20): Likewise.
31975         (__ucmpdi2_v_glibc20): Likewise.
31976         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
31977         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
31978         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
31979         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
31980         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
31981         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
31983 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31985         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
31986         old GNU extension [0] syntax.
31987         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
31988         alloca rather than an array member with variable length.
31989         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
31990         * nscd/nscd.c (invalidate_db): New function, broken out of ...
31991         (parse_opt): ... here.  Likewise use alloca there.
31992         Validate the -i argument before checking for rootness.
31993         (send_shutdown): New function, broken out of ...
31994         (parse_opt): ... here.
31996 2014-10-22  Roland McGrath  <roland@hack.frob.com>
31998         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
31999         macro to get at the _rt_local_ro field.
32000         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
32001         ([PIC] case) or _dl_hwcap ([!PIC] case).
32002         * sysdeps/arm/setjmp.S: Likewise.
32004         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
32005         * sysdeps/arm/configure.ac: New check to define it.
32006         * sysdeps/arm/configure: Regenerated.
32007         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
32008         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
32009         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
32010         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
32011         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
32012         Use move/movt pair instead of a load.
32013         (LDST_GLOBAL): Macro removed.
32014         (LDR_GLOBAL): New macro replaces it.
32015         (LDR_HIDDEN): New macro.
32016         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
32017         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
32019         * setjmp/tst-setjmp-static.c: New file.
32020         * setjmp/Makefile (tests): Add it.
32021         (tests-static): New variable.
32023 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
32025         [BZ #17485]
32026         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
32028 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
32030         [BZ #14132]
32031         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
32033 2014-10-21  Roland McGrath  <roland@hack.frob.com>
32035         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
32037 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32039         * io/fts.c (dirent_not_directory): New function.
32040         (fts_build): Call it.
32042 2014-10-20  Roland McGrath  <roland@hack.frob.com>
32044         * nptl/version.c (__nptl_main): Use normal __write rather than
32045         INTERNAL_SYSCALL.
32046         (banner): Update copyright years.
32048         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
32049         gettimeofday.
32050         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32051         * nptl/pthread_cond_timedwait.c: Likewise.
32052         * nptl/pthread_mutex_timedlock.c: Likewise.
32053         * nptl/sem_timedwait.c: Likewise.
32055         * sysdeps/nptl/bits/libc-lock.h
32056         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
32057         (__libc_lock_init_recursive): Return void, not 0.
32058         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
32059         (__libc_rwlock_init): Likewise.
32060         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
32062 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32064         [BZ #15215]
32065         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
32066         (__pthread_once_slow): ... here.
32067         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
32068         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
32070 2014-10-20  Torvald Riegel  <triegel@redhat.com>
32072         [BZ #15215]
32073         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
32074         __PTHREAD_ONCE_FORK_GEN_INCR): New.
32075         * sysdeps/nptl/fork.c (__libc_fork): Use them.
32076         * nptl/pthread_once.c (__pthread_once): Likewise.
32077         Update comments.
32079 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
32081         [BZ #14138]
32082         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
32083         name.
32084         (writev): Use __libc_writev as strong name.
32085         * sysdeps/unix/sysv/linux/readv.c: Remove file.
32086         * sysdeps/unix/sysv/linux/writev.c: Likewise.
32088 2014-10-17  Roland McGrath  <roland@hack.frob.com>
32090         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
32092         * sysdeps/i386/nptl/tls.h
32093         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
32094         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
32095         New macros.
32096         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
32097         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
32098         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
32099         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
32100         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
32101         Call CHECK_THREAD_SYSINFO instead of doing an assert.
32103         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
32104         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
32105         on [__NR_futex].
32106         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
32107         broken out of ...
32108         (__pthread_mutex_init): ... here.  Call it.
32109         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
32110         Conditionalize PI cases on [__NR_futex].
32111         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
32112         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
32113         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
32115         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
32116         conditional on [SIGSETXID].
32117         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
32118         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
32119         is defined.  Likewise for SIGSETXID.
32120         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
32121         Conditionalize definitions on [SIGSETXID].
32122         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
32123         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
32124         unblocking on [SIGCANCEL].
32126         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
32127         [__NR_set_robust_list].
32129 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32131         * string/strcoll_l.c (get_next_seq): Fix up formatting.
32132         (do_compare): Likewise.
32134 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
32136         [BZ #15884]
32137         * string/strcoll_l.c: Don't include stdio.h.
32138         (coll_seq): Remove members idxarr and rulearr.
32139         (get_next_seq_cached): Remove function.
32140         (get_next_seq): Likewise.
32141         (get_next_seq_nocache): Rename to get_next_seq.
32142         (do_compare): Remove function.
32143         (do_compare_nocache): Rename to do_compare.
32144         (STRCOLL): Remove weight and rules cache.
32146 2014-10-16  Roland McGrath  <roland@hack.frob.com>
32148         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
32149         * sysdeps/arm/sfp-machine.h: ... to here.
32150         * sysdeps/arm/Implies: Remove arm/soft-fp.
32152 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
32154         * conform/data/sys/utsname.h-data (*_t): Allow.
32155         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
32156         [POSIX] (WEXITED): Do not expect constant.
32157         [POSIX] (WSTOPPED): Likewise.
32158         [POSIX] (WNOHANG): Likewise.
32159         [POSIX] (WNOWAIT): Likewise.
32160         [POSIX] (siginfo_t): Do not expect type or elements.
32161         [POSIX] (pid_t): Do not expect type.
32162         [POSIX] (signal.h): Do not allow header.
32163         [POSIX] (sys/resource.h): Likewise.
32164         [POSIX] (si_*): Do not allow pattern.
32165         [POSIX] (W*): Likewise.
32166         [POSIX] (P_*): Likewise.
32167         [POSIX] (BUS_*): Likewise.
32168         [POSIX] (CLD_*): Likewise.
32169         [POSIX] (FPE_*): Likewise.
32170         [POSIX] (ILL_*): Likewise.
32171         [POSIX] (POLL_*): Likewise.
32172         [POSIX] (SEGV_*): Likewise.
32173         [POSIX] (SI_*): Likewise.
32174         [POSIX] (TRAP_*): Likewise.
32175         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
32176         variable.
32178 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32180         [BZ #12926]
32181         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
32182         infinite loop when __recvmsg returns 0.
32184 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
32186         * CANCEL-FCT-WAIVE: Remove file.
32187         * CANCEL-FILE-WAIVE: Likewise.
32189         [BZ #14132]
32190         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
32191         instead of INTVARDEF.
32192         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32193         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
32194         rtld_hidden_data_def instead of INTVARDEF.
32195         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
32196         * elf/dl-deps.c (expand_dst): Likewise.
32197         * elf/dl-load.c (_dl_dst_count): Likewise.
32198         (_dl_dst_substitute): Likewise.
32199         (decompose_rpath): Likewise.
32200         (_dl_init_paths): Likewise.
32201         (open_path): Likewise.
32202         (_dl_map_object): Likewise.
32203         * elf/rtld.c (dl_main): Likewise.
32204         (process_dl_audit): Likewise.
32205         (process_envvars): Likewise.
32206         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
32207         Remove declaration.
32208         (__libc_enable_secure): Use rtld_hidden_proto.
32210 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32212         * elf/dl-load.c
32213         (add_path): New function broken out of _dl_rtld_di_serinfo.
32214         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
32216 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32218         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
32219         parentheses around macro arguments.
32220         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
32221         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
32222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
32223         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
32224         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
32225         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32226         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32227         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
32228         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
32229         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
32230         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
32231         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
32232         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
32233         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
32234         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
32235         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
32236         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
32237         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
32238         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
32239         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
32240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
32241         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
32242         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
32243         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
32244         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
32245         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
32246         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
32247         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
32248         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
32249         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
32250         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
32251         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
32252         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
32253         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
32254         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
32255         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
32256         Likewise.
32257         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
32258         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32259         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32260         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
32261         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
32262         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
32263         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
32264         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
32265         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
32266         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
32267         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
32268         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
32269         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
32270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
32271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
32272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
32273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
32274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
32275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
32276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
32277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
32278         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
32279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
32280         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
32281         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
32282         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
32283         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
32284         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
32285         (_FP_FRAC_SRS_1): Likewise.
32286         (_FP_FRAC_CLZ_1): Likewise.
32287         (_FP_MUL_MEAT_1_imm): Likewise.
32288         (_FP_MUL_MEAT_1_wide): Likewise.
32289         (_FP_MUL_MEAT_1_hard): Likewise.
32290         (_FP_SQRT_MEAT_1): Likewise.
32291         (_FP_FRAC_ASSEMBLE_1): Likewise.
32292         (_FP_FRAC_DISASSEMBLE_1): Likewise.
32293         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
32294         (__FP_CLZ_2): Likewise.
32295         (_FP_MUL_MEAT_2_wide): Likewise.
32296         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
32297         (_FP_MUL_MEAT_2_gmp): Likewise.
32298         (_FP_MUL_MEAT_2_120_240_double): Likewise.
32299         (_FP_SQRT_MEAT_2): Likewise.
32300         (_FP_FRAC_ASSEMBLE_2): Likewise.
32301         (_FP_FRAC_DISASSEMBLE_2): Likewise.
32302         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
32303         (_FP_FRAC_CLZ_4): Likewise.
32304         (_FP_MUL_MEAT_4_wide): Likewise.
32305         (_FP_MUL_MEAT_4_gmp): Likewise.
32306         (_FP_SQRT_MEAT_4): Likewise.
32307         (_FP_FRAC_ASSEMBLE_4): Likewise.
32308         (_FP_FRAC_DISASSEMBLE_4): Likewise.
32309         * soft-fp/op-common.h (_FP_CMP): Likewise.
32310         (_FP_CMP_EQ): Likewise.
32311         (_FP_CMP_UNORD): Likewise.
32312         (_FP_TO_INT): Likewise.
32313         (_FP_FROM_INT): Likewise.
32314         [!__FP_CLZ] (__FP_CLZ): Likewise.
32315         (_FP_DIV_HELP_imm): Likewise.
32316         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
32317         Likewise.
32318         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
32319         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
32320         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
32321         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
32322         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
32323         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32324         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32325         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
32326         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
32327         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
32328         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
32329         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
32330         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
32331         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
32332         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
32333         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
32334         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
32335         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
32336         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
32337         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
32338         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
32339         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
32340         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
32341         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
32342         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
32343         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
32344         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
32345         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
32346         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
32347         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
32348         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
32349         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
32350         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
32351         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
32352         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
32353         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
32354         (FP_UNPACK_RAW_SP): Likewise.
32355         (FP_PACK_RAW_S): Likewise.
32356         (FP_PACK_RAW_SP): Likewise.
32357         (FP_UNPACK_S): Likewise.
32358         (FP_UNPACK_SP): Likewise.
32359         (FP_UNPACK_SEMIRAW_S): Likewise.
32360         (FP_UNPACK_SEMIRAW_SP): Likewise.
32361         (FP_PACK_S): Likewise.
32362         (FP_PACK_SP): Likewise.
32363         (FP_PACK_SEMIRAW_S): Likewise.
32364         (FP_PACK_SEMIRAW_SP): Likewise.
32365         (_FP_SQRT_MEAT_S): Likewise.
32366         (FP_CMP_S): Likewise.
32367         (FP_CMP_EQ_S): Likewise.
32368         (FP_CMP_UNORD_S): Likewise.
32369         (FP_TO_INT_S): Likewise.
32370         (FP_FROM_INT_S): Likewise.
32372         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
32374         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
32375         (FP_EX_INVALID_IMZ): Likewise.
32376         (FP_EX_INVALID_IMZ_FMA): Likewise.
32377         (FP_EX_INVALID_ISI): Likewise.
32378         (FP_EX_INVALID_ZDZ): Likewise.
32379         (FP_EX_INVALID_IDI): Likewise.
32380         (FP_EX_INVALID_SQRT): Likewise.
32381         (FP_EX_INVALID_CVI): Likewise.
32382         (FP_EX_INVALID_VC): Likewise.
32383         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
32384         "invalid" exceptions.
32385         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
32386         (_FP_ADD_INTERNAL): Likewise.
32387         (_FP_MUL): Likewise.
32388         (_FP_FMA): Likewise.
32389         (_FP_DIV): Likewise.
32390         (_FP_CMP_CHECK_NAN): Likewise.
32391         (_FP_SQRT): Likewise.
32392         (_FP_TO_INT): Likewise.
32393         (FP_EXTEND): Likewise.
32395 2014-10-09  Allan McRae  <allan@archlinux.org>
32397         * po/fr.po: Update French translation from translation project.
32399 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
32401         [BZ #14132]
32402         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
32403         of INTDEF.
32404         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
32405         (__cxa_atexit): Use libc_hidden_proto.
32406         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
32408         [BZ #14132]
32409         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
32410         declaration.
32411         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
32412         [!_ISOMAC] (__iswspace_l_internal): Likewise.
32413         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
32414         [!_ISOMAC] (__iswctype_internal): Likewise.
32415         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
32416         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
32417         alias.
32418         (fcntl): Remove __fcntl_internal alias.
32419         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
32420         __connect_internal alias.
32421         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
32422         Likewise.
32424         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
32425         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
32426         FP_DENORM_ZERO.
32427         (_FP_CHECK_FLUSH_ZERO): New macro.
32428         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
32429         (_FP_CMP): Likewise.
32430         (_FP_CMP_EQ): Likewise.
32431         (_FP_TO_INT): Do not set inexact for subnormal arguments if
32432         FP_DENORM_ZERO.
32433         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
32434         (FP_TRUNC): Likewise.
32436         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
32437         treated as invalid conversion, not as normal exponent.
32439         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
32440         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
32441         (_FP_CMP_EQ): Likewise.
32442         (_FP_CMP_UNORD): Likewise.
32443         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
32444         (FP_CMP_EQ_D): Likewise.
32445         (FP_CMP_UNORD_D): Likewise.
32446         * soft-fp/extended.h (FP_CMP_E): Likewise.
32447         (FP_CMP_EQ_E): Likewise.
32448         (FP_CMP_UNORD_E): Likewise.
32449         * soft-fp/quad.h (FP_CMP_Q): Likewise.
32450         (FP_CMP_EQ_Q): Likewise.
32451         (FP_CMP_UNORD_Q): Likewise.
32452         * soft-fp/single.h (FP_CMP_S): Likewise.
32453         (FP_CMP_EQ_S): Likewise.
32454         (FP_CMP_UNORD_S): Likewise.
32455         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
32456         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
32457         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
32458         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
32459         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
32460         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
32461         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
32462         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
32463         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
32464         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
32465         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
32466         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
32467         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
32468         to FP_CMP_Q.
32469         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
32470         FP_CMP_Q.
32471         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
32472         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
32473         FP_CMP_EQ_Q.
32474         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
32475         FP_CMP_Q.
32476         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
32477         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
32478         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
32479         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
32480         FP_CMP_EQ_Q.
32481         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
32482         FP_CMP_Q.
32483         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
32484         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
32485         FP_CMP_EQ_Q.
32486         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
32487         FP_CMP_Q.
32488         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
32489         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
32490         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
32491         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
32492         FP_CMP_EQ_Q.
32494         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
32495         a subnormal result, set the underflow exception if trapping on
32496         underflow is enabled.
32497         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
32498         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
32499         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
32500         redefine to 0.
32501         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
32502         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32503         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
32504         * soft-fp/extendxftf2.c (__extendxftf2): Use
32505         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
32507         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
32508         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
32509         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32510         FP_HANDLE_EXCEPTIONS.
32511         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
32512         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32513         FP_HANDLE_EXCEPTIONS.
32514         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
32515         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32516         FP_HANDLE_EXCEPTIONS.
32517         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
32518         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
32519         FP_HANDLE_EXCEPTIONS.
32521 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
32523         [BZ #14132]
32524         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
32525         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
32526         use INTUSE.
32527         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
32528         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
32529         Remove alias.
32530         (__adjtimex): Define using libc_hidden_ver.
32531         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
32532         Remove declaration.
32533         (ntp_gettime): Call __adjtimex directly.
32534         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
32535         Remove declaration.
32536         (ntp_gettimex): Call __adjtimex directly.
32537         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
32538         __adjtimex_internal alias.
32540 2014-10-08  Roland McGrath  <roland@hack.frob.com>
32542         [BZ #17460]
32543         * nscd/nscd.c (more_help): Rewrite list of tables collection
32544         using xstrdup and asprintf.
32546         * nscd/nscd_conf.c: Remove local xstrdup declaration.
32548 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32549             Roland McGrath  <roland@hack.frob.com>
32551         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
32552         (do_lookup_unique): ... local function 'enter' here; update callers.
32554 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
32556         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
32557         compat_symbol calls on [SHARED].
32558         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
32559         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
32560         Remove.
32561         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32562         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
32563         (oldsetrlimit): Remove.
32564         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32566         (lchown): New syscall entry.
32567         (oldsetrlimit): Remove.
32568         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32569         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
32570         (oldsetrlimit): Remove.
32571         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
32573         [BZ #14138]
32574         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
32575         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
32576         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
32577         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
32578         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
32579         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
32580         (fchown): Likewise.
32581         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
32582         (fchown): Likewise.
32583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
32584         Likewise.
32586 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32588         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
32589         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
32590         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
32591         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
32592         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
32593         Likewise.
32594         (__old_sem_post): Likewise.
32596 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
32598         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
32599         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
32600         HAVE_CLOCK_GETTIME_VSYSCALL macros.
32601         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
32602         Use INLINE_VSYSCALL macro.
32603         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
32604         __vdso_clock_gettime.
32605         * sysdeps/unix/sysv/linux/tile/init-first.c
32606         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
32607         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
32608         __vdso_clock_gettime.
32610         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
32611         to set up frame more cleanly.
32613         * sysdeps/tile/memcmp.c: New file.
32615         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
32617         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
32618         * sysdeps/tile/tilegx/strcasestr.c: New file.
32619         * sysdeps/tile/tilegx/strnlen.c: New file.
32620         * sysdeps/tile/tilegx/strstr.c: New file.
32622         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
32624 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
32626         * nptl/tst-setuid3.c: Write errors to stdout.
32628 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32630         * elf/dl-deps.c
32631         (preload): New functions broken out of _dl_map_object_deps.
32632         (_dl_map_object_deps):  Remove a nested function. Update call sites.
32634 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
32636         [BZ #14138]
32637         * sysdeps/unix/sysv/linux/execve.c: Remove file.
32638         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
32640 2014-10-01  Steve Ellcey  <sellcey@mips.com>
32642         * sysdeps/mips/strcmp.S: New.
32644 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
32646         [BZ #14138]
32647         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
32648         (linkat): Likewise.
32649         (mkdirat): Likewise.
32650         (readlinkat): Likewise.
32651         (renameat): Likewise.
32652         (symlinkat): Likewise.
32653         (unlinkat): Likewise.
32654         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
32655         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
32656         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
32657         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
32658         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
32659         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
32660         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
32662 2014-09-30  Will Newton  <will.newton@linaro.org>
32664         * math/math.h: Define long double math functions if
32665         _LIBC_TEST is defined.
32666         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
32668         * localedata/Makefile: Move assignment to tests-special
32669         into an ifdef testing run-built-tests.
32670         * timezone/Makefile: Likewise.
32672 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
32674         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
32675         with $(BASH) not $(SHELL).
32677 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
32678             Matthew LeGendre  <legendre1@llnl.gov>
32680         [BZ #17411]
32681         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
32682         l_reloc_result.
32684 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
32686         * stdio-common/printf_fp.c
32687         (hack_digit): New function, broken out of ...
32688         (__printf_fp): ... local function here.  Update call sites.
32689         hack_digit now takes an additional parameter that is a pointer
32690         to a struct of the referenced locals.  Those locals moved inside
32691         the struct and references updated.
32693 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
32695         * aclocal.m4: Require autoconf 2.69.
32696         * configure: Regenerated.
32697         * sysdeps/aarch64/configure: Likewise.
32698         * sysdeps/alpha/configure: Likewise.
32699         * sysdeps/arm/armv7/configure: Likewise.
32700         * sysdeps/arm/configure: Likewise.
32701         * sysdeps/ia64/configure: Likewise.
32702         * sysdeps/mach/configure: Likewise.
32703         * sysdeps/mips/configure: Likewise.
32704         * sysdeps/s390/configure: Likewise.
32705         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
32706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
32708         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
32709         file.
32710         * sysdeps/ia64/configure.ac: Likewise.
32712 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
32714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
32715         specify symbol version for ld.so.  Do not include entry for
32716         libpthread.
32717         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32718         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32719         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32721         [BZ #14171]
32722         * Makeconfig [$(build-shared) = yes]
32723         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
32724         makefiles.
32725         [$(build-shared) = yes && $(soversions.mk-done) = t]
32726         ($(common-objpfx)gnu/lib-names.h): Remove rule.
32727         [$(build-shared) = yes && $(soversions.mk-done) = t]
32728         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
32729         to Makerules.
32730         [$(build-shared) = yes && $(soversions.mk-done) = t]
32731         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
32732         here.
32733         [$(build-shared) = yes && $(soversions.mk-done) = t]
32734         (common-generated): Don't append gnu/lib-names.h and
32735         gnu/lib-names.stmp here.
32736         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
32737         (lib-names-h-abi): New variable.
32738         [$(build-shared) = yes && $(soversions.mk-done) = t]
32739         (lib-names-stmp-abi): Likewise.
32740         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32741         abi-variants] (before-compile): Append
32742         $(common-objpfx)$(lib-names-h-abi).
32743         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32744         abi-variants] (common-generated): Append gnu/lib-names.h.
32745         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32746         abi-variants] (install-others-nosubdir): Depend on
32747         $(inst_includedir)/$(lib-names-h-abi).
32748         [$(build-shared) = yes && $(soversions.mk-done) = t &&
32749         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
32750         [$(build-shared) = yes && $(soversions.mk-done) = t]
32751         ($(common-objpfx)$(lib-names-h-abi)): New rule.
32752         [$(build-shared) = yes && $(soversions.mk-done) = t]
32753         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
32754         [$(build-shared) = yes && $(soversions.mk-done) = t]
32755         (common-generated): Append $(lib-names-h-abi) and
32756         $(lib-names-stmp-abi).
32757         * scripts/lib-names.awk: Do not handle multi being set.
32758         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
32759         Remove variable.
32760         (abi-lp64_be-ld-soname): Likewise.
32761         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
32762         Likewise.
32763         (abi-hard-ld-soname): Likewise.
32764         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
32765         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
32766         Remove variable.
32767         (abi-o32_hard-ld-soname): Likewise.
32768         (abi-o32_soft_2008-ld-soname): Likewise.
32769         (abi-o32_hard_2008-ld-soname): Likewise.
32770         (abi-n32_soft-ld-soname): Likewise.
32771         (abi-n32_hard-ld-soname): Likewise.
32772         (abi-n32_soft_2008-ld-soname): Likewise.
32773         (abi-n32_hard_2008-ld-soname): Likewise.
32774         (abi-n64_soft-ld-soname): Likewise.
32775         (abi-n64_hard-ld-soname): Likewise.
32776         (abi-n64_soft_2008-ld-soname): Likewise.
32777         (abi-n64_hard_2008-ld-soname): Likewise.
32778         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
32779         Likewise.
32780         (abi-64-v2-ld-soname): Likewise.
32781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
32782         ld.so entries.
32783         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
32784         variable.
32785         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
32786         entry.
32787         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
32788         variable.
32789         (abi-64-ld-soname): Likewise.
32790         (abi-x32-ld-soname): Likewise.
32791         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
32792         entry.
32793         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32795 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
32797         [BZ #14138]
32798         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
32799         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
32800         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
32801         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
32802         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
32803         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
32804         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
32805         syscall entry for GLIBC_2.2 symbol version.
32806         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
32807         Likewise.
32808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
32809         (setrlimit): Likewise.
32810         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
32811         Likewise.
32813 2014-09-23  Will Newton  <will.newton@linaro.org>
32815         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
32816         _LINUX_ARM_SYSDEP_H include guard too.
32817         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
32818         define.
32820 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
32822         * sysdeps/unix/sysv/linux/eventfd.c:
32823         Make first argument unsigned.
32824         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
32825         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
32827 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
32829         [BZ #16852]
32830         * socket/recvmmsg.c (recvmmsg): Drop const argument.
32831         * socket/sys/socket.h: Likewise.
32832         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
32834 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32836         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
32838 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
32840         * time/tst-ftime.c: New test.
32841         * time/Makefile (tests): Add tst-ftime.
32843 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
32845         * soft-fp/extended.h: Fix comment formatting.
32846         * soft-fp/op-1.h: Likewise.
32847         * soft-fp/op-2.h: Likewise.
32848         * soft-fp/op-4.h: Likewise.
32849         * soft-fp/op-8.h: Likewise.
32850         * soft-fp/op-common.h: Likewise.
32851         * soft-fp/soft-fp.h: Likewise.
32853         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
32855 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
32857         [BZ #6652]
32858         * Makeconfig (soversions-default-setname): Remove variable.
32859         ($(common-objpfx)soversions.i): Don't pass default_setname to
32860         soversions.awk.
32861         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
32862         oldest_abi to abi-versions.awk.
32863         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
32864         * config.make.in (oldest-abi): Remove variable.
32865         * configure.ac (--enable-oldest-abi): Remove configure option.
32866         * configure: Regenerated.
32867         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
32868         text.
32869         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
32870         * scripts/soversions.awk: Do not handle default_setname variable.
32871         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
32872         variable.
32873         * sysdeps/mach/hurd/configure: Regenerated.
32874         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
32875         variable.
32876         * sysdeps/unix/sysv/linux/configure: Regenerated.
32878 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32880         * elf/Makefile (CFLAGS-interp.c): Remove.
32881         ($(elf-objpfx)runtime-linker.h): Generate header with linker
32882         path string.
32883         * elf/interp.c: Include generated runtime-linker.h
32885         * Makerules (lib%.so): Don't include $(+interp) in
32886         prerequisites.
32887         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
32888         * dlfcn/eval.c: Remove file.
32890         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
32891         macros.
32893         [BZ #17266]
32894         * misc/sys/cdefs.h: Define __extern_always_inline for clang
32895         4.2 and newer.
32897         [BZ #17370]
32898         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
32900 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32901             Jakub Jelinek  <jakub@redhat.com>
32903         [BZ #17266]
32904         * libio/stdio.h: Check definition of __fortify_function
32905         instead of __extern_always_inline to include bits/stdio2.h.
32906         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
32907         check if __extern_always_inline is defined.
32908         [__USE_MISC || __USE_XOPEN]: Likewise.
32909         [__USE_ISOC99] Likewise.
32910         * misc/sys/cdefs.h (__fortify_function): Define only if
32911         __extern_always_inline is defined.
32912         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
32913         __extern_always_inline and __extern_inline only for g++-4.3
32914         and newer or a compatible gcc.
32916 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
32918         [BZ #17371]
32919         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
32920         last change to handle zero prefix length.
32922 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
32924         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
32925         _SC_REGEX_VERSION.
32927         * posix/getconf.c (vars): Add _POSIX_IPV6 and
32928         _POSIX_RAW_SOCKETS.
32930 2014-09-13  Allan McRae  <allan@archlinux.org>
32932         * po/ru.po: Update Russian translation from translation project.
32934 2014-09-12  Roland McGrath  <roland@hack.frob.com>
32936         * locale/programs/locale.c (show_locale_vars): Inline local function
32937         into its sole call site.  Clean up some style nits.
32938         (print_item): New function, broken out of ...
32939         (show_info): ... local function here.  Clean up style nits.
32941         * locale/programs/ld-ctype.c (set_one_default): New function, broken
32942         out of ...
32943         (set_class_defaults): ... local function set_default here.
32944         Define set_default as a macro locally to pass constant parameters.
32945         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
32946         rather than a shared local.
32948         * stdlib/rpmatch.c (try): New function, broken out of ...
32949         (rpmatch): ... local function here.  Also, prototypify definition.
32951 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
32953         * scripts/soversions.awk: Do not handle configuration names.
32954         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
32955         vendor and os variables to soversions.awk.
32956         * configure.ac: Do not modify gnu-* host_os.
32957         * configure: Regenerated
32958         * shlib-versions: Remove first column with configuration names.
32959         * nptl/shlib-versions: Likewise.
32960         * nptl_db/shlib-versions: Likewise.
32961         * sysdeps/hppa/shlib-versions: Likewise.
32962         * sysdeps/m68k/shlib-versions: Likewise.
32963         * sysdeps/mach/hurd/shlib-versions: Likewise.
32964         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
32965         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
32966         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
32967         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
32968         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
32969         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
32970         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
32971         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
32972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32973         Likewise.
32974         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
32975         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
32976         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32977         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
32978         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
32979         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
32980         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
32981         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
32983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
32984         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
32985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32986         Regenerated.
32987         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
32988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
32989         Condition symbol version definitions on [HAVE_ELFV2_ABI].
32991         * shlib-versions: Remove OS-specific entries.  Moved to files in
32992         sysdeps.
32993         * sysdeps/mach/hurd/shlib-versions: New file.
32994         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
32996         * nptl/shlib-versions: Remove architecture-specific entries.
32997         Moved to files in sysdeps.
32998         * shlib-versions: Likewise.
32999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
33000         file.
33001         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
33002         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
33003         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
33004         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
33006         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
33007         (UDP_NO_CHECK6_RX): Likewise.
33009 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33011         * sysdeps/posix/sysconf.c (__sysconf): Spell
33012         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
33014 2014-08-12  Florian Weimer  <fweimer@redhat.com>
33016         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
33017         loading.
33018         * iconv/Versions (__gconv_transliterate): Export for use from
33019         gconv modules.
33020         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
33021         (struct __gconv_trans_data, __gconv_trans_fct,
33022         __gconv_trans_context_fct, __gconv_trans_query_fct,
33023         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
33024         definitions.
33025         (struct __gconv_step_data): Remove __trans member.
33026         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
33027         longer hidden.  Remove unused trans_data argument.
33028         * iconv/gconv_int.h (struct trans_struct): Remove definition.
33029         (__gconv_translit_find): Remove declaration.
33030         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
33031         prototype.
33032         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
33033         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
33034         trans_data argument.  Add hidden definition.
33035         (__gconv_translit_find): Remove.
33036         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
33037         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
33038         * iconv/skeleton.c: Remove transliteration initialization.
33039         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
33040         __gconv_step_data initialization.
33041         * libio/iofwide.c (__libio_translit_): Remove.
33042         (_IO_fwide): Adjust struct __gconv_step_data initialization.
33043         * wcsmbs/btowc.c (__btowc): Likewise.
33044         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
33045         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
33046         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
33047         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
33048         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
33049         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
33050         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
33051         * wcsmbs/wctob.c (wctob): Likewise.
33053 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33055         [BZ #16194]
33056         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
33057         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
33058         register usage.
33059         * sysdeps/x86/Makefile: Adjust.
33061 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
33062             Roland McGrath  <roland@hack.frob.com>
33064         * locale/weight.h: Add include guard.
33065         (findidx): Make static rather than auto; take new parameters
33066         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
33067         * locale/weightwc.h: Likewise.
33068         * posix/fnmatch_loop.c
33069         (FCT): Change type of EXTRA from int32_t to wint_t.
33070         Don't include either header inside the function.
33071         Call FINDIDX rather than findidx, and pass new arguments.
33072         #undef FINDIDX at the end of the file.
33073         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
33074         FINDIDX before including fnmatch_loop.c for the non-wide version.
33075         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
33076         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
33077         for the wide version.
33078         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
33079         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
33080         Pass new arguments to findidx.
33081         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
33082         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
33083         Don't #include it inside the function.  Pass new arguments to findidx.
33084         * posix/regex_internal.h
33085         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
33086         (re_string_elem_size_at): Don't #include it inside the function.
33087         Pass new arguments to findidx.
33088         * string/strcoll_l.c: #include WEIGHT_H at top level.
33089         (get_next_seq): Don't #include it inside the function.
33090         Pass new arguments to findidx.
33091         (get_next_seq_nocache): Likewise.
33092         * string/strxfrm_l.c: #include WEIGHT_H at top level.
33093         (STRXFRM): Don't #include it inside the function.
33094         Pass new arguments to findidx.
33096 2014-09-11  Florian Weimer  <fweimer@redhat.com>
33098         [BZ #17344]
33099         * malloc/malloc.c (unlink): Turn asserts into a call to
33100         malloc_printerr.
33102 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
33104         [BZ #17370]
33105         * libio/wfileops (do_ftell_wide): Free OUT.
33107 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
33109         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
33111 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33113         [BZ #17363]
33114         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
33115         group if the current group is empty.
33117 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33119         * benchtests/bench-memset.c (test_main): Add more test from size
33120         from 32 to 512 bytes.
33121         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33122         Add POWER8 memset object.
33123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
33124         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
33125         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
33126         implementation.
33127         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
33128         Likewise.
33129         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
33130         multiarch POWER8 memset optimization.
33131         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
33132         POWER8 memset optimization.
33134         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
33135         Remove bzero multiarch objects.
33136         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
33137         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
33138         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
33139         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
33140         Remove define.
33141         [__bzero]: Redefine to specific name.
33142         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
33143         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
33144         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
33145         define.
33146         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33147         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33149 2014-09-10  Florian Weimer  <fweimer@redhat.com>
33151         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
33152         warnings into errors.
33154         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
33155         __cxa_thread_atexit_impl prototype.
33157 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33159         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
33160         Fix capitalization of error message.
33162 2014-09-09  Steve Ellcey  <sellcey@mips.com>
33164         * sysdeps/mips/preconfigure: Modify ABI tests.
33166 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
33168         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
33170 2014-09-07  Roland McGrath  <roland@hack.frob.com>
33171             Carlos O'Donell  <carlos@systemhalted.org>
33173         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
33174         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
33175         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
33176         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
33177         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
33178         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
33179         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
33180         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
33181         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
33182         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
33183         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
33184         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
33185         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
33186         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
33187         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
33188         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
33189         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
33190         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
33191         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
33192         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
33193         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
33194         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
33195         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
33196         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
33197         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
33198         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
33199         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
33200         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
33201         Deconditionalize the code that was previously under [RESET_PID].
33202         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
33203         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
33204         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
33205         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
33206         include sysdep.h.
33208 2014-09-08  Allan McRae  <allan@archlinux.org>
33210         * version.h (RELEASE): Set to "development".
33211         (VERSION): Set to "2.20.90"
33213 2014-09-07  Allan McRae  <allan@archlinux.org
33215         * version.h (RELEASE): Set to "stable".
33216         (VERSION): Set to "2.20"
33217         * include/features.h (__GLIBC_MINOR__): Set to 20.
33219         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
33220         Liebler.
33222         * po/ko.po: Update Korean translation from translation project.
33224 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
33226         [BZ #17354]
33227         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
33228         macro for handling signed relocations.
33230 2014-09-03  Florian Weimer  <fweimer@redhat.com>
33232         [BZ #17325]
33233         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
33234         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
33235         assert.
33236         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
33237         * iconvdata/ibm935.c (BODY): Likewise.
33238         * iconvdata/ibm937.c (BODY): Likewise.
33239         * iconvdata/ibm939.c (BODY): Likewise.
33240         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
33241         assert.
33242         * iconvdata/Makefile (iconv-test.out): Pass module list to test
33243         script.
33244         * iconvdata/run-iconv-test.sh: New test loop for checking for
33245         decoder crashers.
33247 2014-09-02  Khem Raj  <raj.khem@gmail.com>
33249         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
33250         libm_hidden_ver.
33252 2014-09-01  Allan McRae  <allan@archlinux.org>
33254         * po/eo.po: Update Esperanto translation from translation project.
33256         * po/ca.po: Update Catalan translation from translation project.
33258 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33260         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
33261         __proc_dostop call.
33263 2014-08-27  Mark Wielaard  <mjw@redhat.com>
33265         [BZ #17319]
33266         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
33267         to call set_thread_area instead of hand written asm.
33268         (__NR_set_thread_area): Removed define.
33269         (TLS_FLAG_WRITABLE): Likewise.
33270         (__ASSUME_SET_THREAD_AREA): Remove check.
33271         (TLS_EBX_ARG): Remove define.
33272         (TLS_LOAD_EBX): Likewise.
33274 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33276         Simplify atomicity of socket creation in bind.
33278         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
33279         looking up the name after linking the file.
33281 2014-08-27  Allan McRae  <allan@archlinux.org>
33283         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33285 2014-08-26  Florian Weimer  <fweimer@redhat.com>
33287         [BZ #17187]
33288         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
33289         trans_compare, open_translit, __gconv_translit_find):
33290         Remove module loading code.
33292 2014-08-26  Allan McRae  <allan@archlinux.org>
33294         * po/vi.po: Update Vietnamese translation from translation project.
33296         * po/uk.po: Update Ukrainian translation from translation project.
33298         * po/fr.po: Update French translation from translation project.
33300         * po/ru.po: Update Russian translation from translation project.
33302         * po/pl.po: Update Polish translation from translation project.
33304         * po/cs.po: Update Czech translation from translation project.
33306         * po/de.po: Update German translation from translation project.
33308         * po/bg.po: Update Bulgarian translation from translation project.
33310         * po/sv.po: Update Sweedish translation from translation project.
33312         * po/nl.po: Update Dutch translation from translation project.
33314         * po/es.po: Update Spanish translation from translation project.
33316 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33318         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
33320         * catgets/Makefile (CPPFLAGS-gencat): Remove.
33321         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
33322         (CPPFLAGS-iconvconfig): Likewise.
33323         * timezone/Makefile (CPPFLAGS-zic): Likewise.
33325         * include/libc-symbols.h: Remove unnecessary check for
33326         NOT_IN_libc.
33327         * nptl/pthreadP.h: Likewise.
33328         * sysdeps/aarch64/setjmp.S: Likewise.
33329         * sysdeps/alpha/setjmp.S: Likewise.
33330         * sysdeps/arm/sysdep.h: Likewise.
33331         * sysdeps/i386/setjmp.S: Likewise.
33332         * sysdeps/m68k/setjmp.c: Likewise.
33333         * sysdeps/posix/getcwd.c: Likewise.
33334         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33335         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33336         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33337         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33338         * sysdeps/sh/sh3/setjmp.S: Likewise.
33339         * sysdeps/sh/sh4/setjmp.S: Likewise.
33340         * sysdeps/unix/alpha/sysdep.h: Likewise.
33341         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33342         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33343         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33344         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33348         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33349         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33350         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33351         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33352         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33354         * sysdeps/x86_64/setjmp.S: Likewise.
33356 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
33358         [BZ #17263]
33359         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
33360         <stdint.h>.
33361         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
33362         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
33364 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
33366         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
33368         [BZ #17262]
33369         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
33370         and __x86_64__ when disabling x87 inline functions.
33372 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
33374         [BZ #17259]
33375         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
33376         asm statement with __cpuid_count.
33378 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
33380         * configure.ac: Change __ehdr_start code to dereference the struct.
33381         Run readelf on the output to look for relocations.
33382         * configure: Regenerated.
33384 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
33386         [BZ #17261]
33387         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
33388         value to 0.
33389         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
33391 2014-08-12  Roland McGrath  <roland@hack.frob.com>
33393         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
33395 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
33397         [BZ #16892]
33398         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
33399         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
33401 2014-08-12  Sean Anderson  <seanga2@gmail.com>
33403         * malloc/malloc.c: Fix typo in comment.
33405 2014-08-09  Allan McRae  <allan@archlinux.org>
33407         * Regenerate libc.po.
33409 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
33411         * intl/tst-gettext2.sh: Check every lang file for creation.
33413 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33415         * sysdeps/aarch64/fpu/math_private.h
33416         (libc_feholdsetround_noex_aarch64_ctx): New function.
33418 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
33420         * sysdeps/arm/armv6/strcpy.S (strcpy):
33421         Fix performance issue in misaligned cases.
33423 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33425         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
33426         Move definition from termios.h.
33427         (struct termio): Likewise.
33428         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33429         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33430         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33431         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33432         Likewise.
33433         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
33434         Move definition to ioctl-types.h
33435         (struct termio): Likewise.
33436         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
33437         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
33438         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
33439         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
33440         Likewise.
33442 2014-08-05  Richard Henderson  <rth@redhat.com>
33444         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
33445         exceptions.
33446         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
33447         Add fraiseexcpt.
33448         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
33449         Use __feraiseexcept.
33450         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
33451         Protect libm symbols with IS_IN_libm.
33453         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
33455 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
33457         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
33459 2014-08-04  Will Newton  <will.newton@linaro.org>
33461         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
33462         file.
33464 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
33466         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
33467         variants for each function.
33469 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33471         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
33472         appended ...
33473         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
33474         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
33475         appended ...
33476         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
33477         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
33478         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
33479         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
33480         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
33481         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
33482         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
33483         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
33484         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
33485         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
33486         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
33487         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
33488         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
33489         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
33490         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
33491         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
33492         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
33493         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
33494         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
33495         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
33496         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
33497         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
33498         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
33499         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
33500         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
33501         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
33502         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
33503         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
33504         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
33505         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
33506         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
33507         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
33508         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
33509         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
33510         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
33511         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
33512         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
33513         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
33514         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
33515         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
33516         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
33517         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
33518         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
33519         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
33520         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
33521         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
33522         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
33523         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
33524         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
33525         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
33526         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
33527         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
33528         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
33529         Update #include.
33530         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
33531         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
33533 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33535         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
33536         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
33537         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
33538         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
33539         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
33540         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
33542 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33544         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
33545         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
33546         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33547         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
33549 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33551         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
33552         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
33553         (__libc_vfork): Define function under this name.
33554         (__vfork): Define as an alias.
33555         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
33556         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
33558 2014-08-04  Roland McGrath  <roland@hack.frob.com>
33560         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
33561         that was previously under [RESET_PID].
33562         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
33564 2014-08-04  Andreas Schwab  <schwab@suse.de>
33566         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
33568 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
33570         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
33571         (main): Likewise.
33573 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33575         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
33577 2014-08-01  Richard Henderon  <rth@redhat.com>
33579         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
33580         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
33581         typo in exact zero test.
33582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33583         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33584         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33586 2014-08-01  Roland McGrath  <roland@hack.frob.com>
33588         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
33589         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
33590         * sysdeps/arm/sysdep.h: ... here.
33591         [!__ASSEMBLER__]: Include <stdint.h>.
33593 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33595         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
33596         (HAVE_WCTYPE_H): Likewise.
33597         (HAVE_ISWCTYPE): Likewise.
33598         (ENABLE_NLS): Likewise.
33599         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
33600         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
33602         * posix/regex_internal.c: Check if DEBUG is defined and is
33603         set.
33605         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
33606         (HAVE_MBSRTOWCS): Likewise.
33607         * posix/fnmatch.c: Include string.h unconditionally.
33609 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33611         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
33612         reversal.
33614 2014-07-31  Roland McGrath  <roland@hack.frob.com>
33616         * sysdeps/generic/safe-fatal.h: New file.
33617         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
33618         * nptl/forward.c: Include it.
33619         (__pthread_unwind): Use __safe_fatal as default action, rather
33620         than a bogus use of INTERNAL_SYSCALL that could never work.
33622         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
33623         * configure.ac (libc_cv_builtin_trap): New test.
33624         * configure: Regenerated.
33625         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
33626         (ABORT_INSTRUCTION): Define using __builtin_trap.
33628         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
33629         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
33630         * sysdeps/nptl/nptl-signals.h: New file.
33631         * nptl/pthreadP.h: Include <nptl-signals.h>.
33633 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33635         * sysdeps/s390/s390-64/utf16-utf32-z9.c
33636         (ONE_DIRECTION): Define.
33637         * sysdeps/s390/s390-64/utf8-utf16-z9.c
33638         (ONE_DIRECTION): Define.
33639         * sysdeps/s390/s390-64/utf8-utf32-z9.c
33640         (ONE_DIRECTION): Define.
33642 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
33644         * sysdeps/s390/Makefile: Delete file.
33645         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
33646         * sysdeps/s390/__longjmp.c: Delete file.
33647         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
33648         Remove fields __flags and __reserved.
33649         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
33650         and add versioning.
33651         * sysdeps/s390/rtld-__longjmp.c: Delete file.
33652         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
33653         * sysdeps/s390/rtld-setjmp.S: Likewise.
33654         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
33655         * sysdeps/s390/s390-32/__longjmp.c: ... here.
33656         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
33657         * sysdeps/s390/s390-32/setjmp.S: ... here.
33658         Add versioning.
33659         (__sigsetjmp): Remove setting __flags field.
33660         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
33661         * sysdeps/s390/s390-64/__longjmp.c: ... here.
33662         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
33663         * sysdeps/s390/s390-64/setjmp.S: ... here.
33664         Add versioning.
33665         (__sigsetjmp): Remove setting __flags field.
33666         * sysdeps/s390/setjmp.S: Delete file.
33667         * sysdeps/s390/sigjmp.c: Likewise.
33668         * sysdeps/s390/v1-longjmp.c: Likewise.
33669         * sysdeps/s390/v1-setjmp.h: Likewise.
33670         * sysdeps/s390/v1-sigjmp.c: Likewise.
33671         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
33672         Remove v1-longjmp_chk.
33673         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
33674         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
33675         Include debug/longjmp_chk.c and add versioning.
33676         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
33677         Include nptl/pt-longjmp.c and add versioning.
33678         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
33679         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
33680         Include __longjmp.c.
33681         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
33682         Move to ...
33683         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
33684         (__getcontext): Remove setting __flags field.
33685         Add versioning.
33686         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
33687         Don't restore upper high grps.
33688         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
33689         Likewise.
33690         (__swapcontext): Remove setting uc_flags field.
33691         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
33692         Delete file.
33693         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
33694         Include __longjmp.c.
33695         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
33696         Move to ...
33697         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
33698         (__getcontext): Remove setting __flags field.
33699         Add versioning.
33700         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
33701         (__swapcontext): Remove setting uc_flags field.
33702         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
33703         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
33704         Remove fields uc_high_gprs and __reserved.
33705         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
33706         New file with reverted content.
33707         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
33708         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
33709         Regenerated.
33710         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
33711         Regenerated.
33713 2014-07-31  Andreas Schwab  <schwab@suse.de>
33715         * config.h.in (HAVE_IFUNC): Define to 0.
33716         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
33717         definedness.
33719 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
33721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33722         memmove-avx-unaligned, memcpy-avx-unaligned and
33723         mempcpy-avx-unaligned.
33724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33725         Add tests for AVX memcpy functions.
33726         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
33727         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
33728         memcpy_chk.
33729         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
33730         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
33731         memmove_chk.
33732         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
33733         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
33734         mempcpy_chk.
33735         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
33736         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
33737         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
33739 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33741         [BZ #17213]
33742         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
33743         powerpc64le.
33745 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
33747         [BZ #16839]
33748         * manual/llio.texi: Add section about open file description locks.
33749         * manual/examples/ofdlocks.c: Example of open file description
33750         lock usage.
33751         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
33752         F_OFD_SETLK, and F_OFD_SETLKW.
33754 2014-07-23  Allan McRae  <allan@archlinux.org>
33756         * po/es.po: Update Spanish translation from translation project.
33758 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
33760         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
33762 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
33764         [BZ #17078]
33765         * sysdeps/arm/dl-machine.h (elf_machine_rela)
33766         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
33767         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
33769 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
33771         [BZ #17088]
33772         * math/fesetenv.c (__fesetenv)
33773         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
33774         * math/feupdateenv.c (__feupdateenv)
33775         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
33777         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
33778         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
33779         (__ASSUME_SOCKETCALL): Do not define.
33781         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
33782         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
33783         (__ASSUME_SOCKETCALL): Do not define.
33784         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
33785         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33786         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33787         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
33788         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33789         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
33790         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33791         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33793         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
33794         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
33795         (__ASSUME_SOCKETCALL): Do not define.
33796         (__ASSUME_IPC64): Define unconditionally.
33797         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33798         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33799         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
33800         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33801         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
33802         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33803         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
33804         Likewise.
33806         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
33807         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
33808         (__ASSUME_SOCKETCALL): Do not define.
33809         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
33810         (__ASSUME_FUTEX_LOCK_PI): Likewise.
33811         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33812         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
33813         (__ASSUME_REQUEUE_PI): Define unconditionally.
33814         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
33815         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
33816         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33817         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
33818         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33819         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33821         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
33822         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
33823         (__ASSUME_SOCKETCALL): Do not define.
33824         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
33825         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33826         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33827         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
33828         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33829         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
33831         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
33832         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
33833         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
33834         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
33835         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
33836         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
33837         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
33838         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
33839         (__ASSUME_GETCPU_SYSCALL): Likewise.
33841         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
33842         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
33843         cases for individual architectures.
33844         * sysdeps/gnu/configure: Regenerated.
33845         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
33846         LIBC_SLIBDIR_RTLDDIR.
33847         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
33848         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
33849         LIBC_SLIBDIR_RTLDDIR.
33850         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
33851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
33852         LIBC_SLIBDIR_RTLDDIR.
33853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
33854         Regenerated.
33855         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
33856         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
33857         file.
33858         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
33859         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
33860         file.
33861         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
33862         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
33863         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
33864         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
33866         * sysdeps/aarch64/shlib-versions: Move to ...
33867         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
33868         * sysdeps/alpha/shlib-versions: Move to ...
33869         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
33870         * sysdeps/arm/shlib-versions: Move to ...
33871         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
33872         * sysdeps/hppa/shlib-versions: Move all contents except for
33873         libgcc_s entry to ...
33874         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
33875         entry from ...
33876         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
33877         * sysdeps/ia64/shlib-versions: Move to ...
33878         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
33879         entry from ...
33880         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
33881         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
33882         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
33883         * sysdeps/microblaze/shlib-versions: Move to ...
33884         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
33885         * sysdeps/mips/shlib-versions: Move to ...
33886         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
33887         entry from ...
33888         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
33889         * sysdeps/tile/shlib-versions: Move to ...
33890         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
33891         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
33892         from ...
33893         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
33894         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
33895         entry from ...
33896         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
33898 2014-07-17  Will Newton  <will.newton@linaro.org>
33900         * sysdeps/arm/bits/atomic.h
33901         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
33902         (__arch_compare_and_exchange_bool_16_int): Likewise.
33903         (__arch_compare_and_exchange_bool_64_int): Likewise.
33905         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
33906         into an #else block.
33908 2014-07-16  Roland McGrath  <roland@hack.frob.com>
33910         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
33911         just Linux configurations.  Test empirically that the compiler sets
33912         __ARM_EABI__, rather than using the tuple to decide.
33913         * sysdeps/arm/preconfigure: Regenerated.
33914         * sysdeps/unix/sysv/linux/arm/configure: File removed.
33915         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
33916         contents appended ...
33917         * sysdeps/arm/configure.ac: ... here.
33918         * sysdeps/arm/configure: Regenerated.
33920 2014-07-15  Roland McGrath  <roland@hack.frob.com>
33922         * nptl/pthread_kill.c: New file.
33923         * nptl/pthread_sigmask.c: New file.
33924         * nptl/pthread_sigqueue.c: New file.
33926         * sysdeps/nptl/lowlevellock.h: New file.
33927         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
33928         * sysdeps/nptl/lowlevellock-futex.h: New file.
33930         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
33931         Remove dead declarations.
33933 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
33935         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
33936         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
33937         config-cflags-avx2.
33938         * sysdeps/x86_64/configure.ac: Likewise.
33939         * sysdeps/i386/configure: Regenerated.
33940         * sysdeps/x86_64/configure: Likewise.
33941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33942         memset-avx2 only if config-cflags-avx2 is yes.
33943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33944         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
33945         defined.
33946         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
33947         only if HAVE_AVX2_SUPPORT is defined.
33948         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33950 2014-07-14  Alan Modra  <amodra@gmail.com>
33952         [BZ #17153]
33953         * elf/elf.h (DT_PPC64_NUM): Correct value.
33954         * NEWS: Add to fixed bug list.
33956 2014-07-13  Jim Meyering  <meyering@fb.com>
33958         [BZ 17150]
33959         regex: don't deref NULL upon heap allocation failure
33960         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
33961         failure in one more place.
33962         To trigger the segfault, configure grep -with-included-regex,
33963         build it, and run these commands:
33964         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
33966 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
33968         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33970 2014-07-11  Richard Henderson  <rth@redhat.com>
33972         * sysdeps/aarch64/libm-test-ulps: Update.
33974 2014-07-10  Florian Weimer  <fweimer@redhat.com>
33976         [BZ #17135]
33977         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
33978         * nptl/allocatestack.c (__nptl_setxid_error): New function.
33979         (__nptl_setxid): Initialize error member.  Call
33980         __nptl_setxid_error.
33981         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
33982         * nptl/descr.h (struct xid_command): Add error member.
33983         * nptl/tst-setuid3.c: New file.
33984         * nptl/Makefile (tests): Add it.
33986 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33988         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
33989         New define.
33990         (__lll_trylock): Use __lll_base_trylock.
33991         (__lll_cond_trylock): Likewise.
33993 2014-07-10  Roland McGrath  <roland@hack.frob.com>
33995         * nptl/pthread_create.c (start_thread): Use atomic_or and
33996         lll_futex_wake directly rather than lll_robust_dead.
33997         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
33998         (lll_robust_dead): Macro removed.
33999         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
34000         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34001         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34002         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34003         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34004         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34005         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34006         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34007         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34008         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34009         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34010         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34011         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34012         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34013         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34015         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
34016         Use atomic_compare_and_exchange_val_acq directly rather than
34017         lll_robust_trylock.
34018         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
34019         (__lll_robust_trylock, lll_robust_trylock): Removed.
34020         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
34021         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
34022         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
34023         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
34024         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
34025         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
34026         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
34027         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
34028         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
34029         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
34030         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
34031         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
34032         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
34033         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
34035 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34037         * manual/locale.texi (Locale Names): New section documenting
34038         locale name syntax.  Adjust menu and node chaining accordingly.
34039         (Choosing Locale): Reference Locale Names, Locale Categories.
34040         Mention setting LC_ALL=C.  Reflect that name syntax is now
34041         documented.
34042         (Locale Categories): New section title.  Reference Locale Names.
34043         LC_ALL is an environment variable, but not a category.
34044         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
34045         description, now in Locale Name.  Reference that section.  Locale
34046         name syntax is now documented.
34048 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34050         [BZ #17137]
34051         * locale/findlocale.c (name_present, valid_locale_name): New
34052         functions.
34053         (_nl_find_locale): Use the loc_name variable to store name
34054         candidates.  Call name_present and valid_locale_name to check and
34055         validate locale names.  Return an error if the locale is invalid.
34057 2014-07-02  Florian Weimer  <fweimer@redhat.com>
34059         * locale/setlocale.c (setlocale): Use strdup for allocating
34060         composite name copy.
34062 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34064         Sync up with gnulib.
34065         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
34066         [!_LIBC && ENABLE_NLS]: Include gettext.h.
34067         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
34068         and _GL_ARG_NONNULL.
34069         [USE_UNLOCKED_IO]: Include unlocked-io.h.
34070         [!_LIBC]: Include code for Windows and Cygwin.
34071         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
34072         Include prototype for int strerror_r.
34073         [!_LIBC] (is_open): New function.
34074         (flush_stdout): New function.
34075         (print_errno_message): Use it.
34076         (error): Likewise.
34077         (error_at_line): Likewise.
34078         (error_tail) Add function attribute macros.  Use
34079         __builtin_expect.
34081         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
34083         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
34085         * io/ftw.c: Include sys/param.h unconditionally.
34087         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
34089         [BZ #17125]
34090         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
34091         libc_freeres_ptr.
34092         (freecache): New function to free CACHE on exit.
34094         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
34095         initialization.
34097 2014-07-09  David S. Miller  <davem@davemloft.net>
34099         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34101         * sysdeps/sparc/nptl/internaltypes.h: Delete.
34102         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
34103         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
34104         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
34105         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
34106         * sysdeps/sparc/nptl/sem_init.c: Likewise.
34107         * sysdeps/sparc/nptl/sem_post.c: Likewise.
34108         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
34109         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
34110         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
34111         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
34112         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
34113         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
34115 2014-07-09  Andreas Schwab  <schwab@suse.de>
34117         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
34118         output.
34119         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
34120         (do_test): Likewise.
34122         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34124 2014-07-09  Will Newton  <will.newton@linaro.org>
34126         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
34127         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
34128         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
34129         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
34130         * sysdeps/hppa/start.S (_start): Likewise.
34132 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
34134         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
34136         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
34137         defined.
34139 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34141         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
34142         after checking that it is non-NULL.
34144         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
34146 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34148         * sysdeps/powerpc/memmove.c: Remove file.
34149         * sysdeps/powerpc/powerpc32/power4/memcopy.h
34150         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
34151         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
34152         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
34153         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
34154         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
34155         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
34156         string memmove instead of removed powerpc one.
34158         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
34159         [weak_alias]: Fix compiler warning due trailing data.
34160         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
34161         [weak_alias]: Likewise.
34162         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
34163         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
34165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
34166         (__libc_ifunc_impl_list): Add memmove functions.
34168 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34170         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
34171         Remove code.
34172         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
34173         Likewise.
34174         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
34175         Likewise.
34176         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
34177         Likewise.
34178         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
34179         Likewise.
34180         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
34181         Likewise.
34182         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
34183         Likewise.
34184         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
34185         Likewise.
34186         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
34187         Likewise.
34188         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
34189         Likewise.
34190         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
34191         Likewise.
34192         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
34193         Likewise.
34194         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
34195         Likewise.
34196         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
34197         Likewise.
34198         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
34199         Likewise.
34200         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
34201         Likewise.
34202         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
34203         Likewise.
34205 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34207         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
34208         to avoid alignment traps in non-cacheable memory.
34209         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
34211         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
34212         multiarch objects.
34213         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
34214         file: multiarch power7 memmove.
34215         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
34216         multiarch default memmove.
34217         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
34218         multiarch memove for powerpc32/power4.
34220         * string/bcopy.c: Use full path to include memmove.c.
34221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
34222         multiarch objects.
34223         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
34224         bcopy for powerpc64.
34225         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
34226         bcopy for powerpc64.
34227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
34228         and memmove implementations.
34229         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
34230         optimized multiarch memmove for POWER7/powerpc64.
34231         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
34232         default multiarch memmove for powerpc64.
34233         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
34234         multiarch for powerpc64.
34235         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
34236         for POWER7/powerpc64.
34237         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
34238         memmove for POWER7/powerpc64.
34240         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
34241         glibc default one.
34243         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
34244         __ELF_NATIVE_CLASS equal to 64.
34246 2014-07-07  Roland McGrath  <roland@hack.frob.com>
34248         * sysdeps/nptl/lowlevellock.h: File removed.
34250         * NEWS: NPTL is no longer an add-on!
34251         * nptl/internaltypes.h: Moved ...
34252         * sysdeps/nptl/internaltypes.h: ... here.
34253         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
34254         * sysdeps/nptl/fork.c: Likewise.
34255         * sysdeps/nptl/gai_misc.h: Likewise.
34256         * sysdeps/nptl/librt-cancellation.c: Likewise.
34257         * sysdeps/nptl/jmp-unwind.c: Likewise.
34258         * sysdeps/nptl/setxid.h: Likewise.
34259         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
34260         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
34261         * sysdeps/unix/sysv/linux/arm/Implies: New file.
34262         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
34263         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
34264         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
34265         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
34266         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
34267         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
34268         * sysdeps/unix/sysv/linux/mips/Implies: New file.
34269         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
34270         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
34271         * sysdeps/unix/sysv/linux/sh/Implies: New file.
34272         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
34273         * sysdeps/unix/sysv/linux/tile/Implies: New file.
34274         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
34275         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
34276         * nptl/Makeconfig: Moved ...
34277         * sysdeps/nptl/Makeconfig: ... here.
34278         * nptl/configure: File removed.
34279         * nptl/ANNOUNCE: File removed.
34280         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
34281         * sysdeps/unix/sysv/linux/configure: Regenerated.
34283         * nptl/Makefile (routines): Add libc_pthread_init,
34284         libc_multiple_threads, register-atfork and unregister-atfork.
34285         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
34286         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
34287         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
34288         pthread-pi-defines.sym, structsem.sym.
34289         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
34290         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
34291         [$(subdir) = nptl] (tests): Add tst-setgetname.
34292         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
34293         * sysdeps/unix/sysv/linux/sigaction.c: Just include
34294         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
34295         [!LIBC_SIGACTION]: Remove aliases.
34296         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34297         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34298         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34299         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
34300         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34301         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
34302         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
34303         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
34304         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34305         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
34306         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
34307         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
34308         __libc_allocate_rtsig_private.
34309         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
34310         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
34311         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
34312         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
34313         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
34314         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
34315         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
34316         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
34317         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
34318         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
34319         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
34320         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
34321         * nptl/internaltypes.h: ... here.
34322         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
34323         * sysdeps/nptl/jmp-unwind.c: ... here.
34324         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
34325         * nptl/libc-lowlevellock.c: ... here.
34326         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
34327         * nptl/libc_multiple_threads.c: ... here.
34328         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
34329         * nptl/libc_pthread_init.c: ... here.
34330         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
34331         * nptl/lowlevelbarrier.sym: ... here.
34332         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
34333         * nptl/lowlevelcond.sym: ... here.
34334         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
34335         * nptl/lowlevellock.c: ... here.
34336         * nptl/lowlevellock.h: Moved ...
34337         * sysdeps/nptl/lowlevellock.h: ... here.
34338         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
34339         * nptl/lowlevelrobustlock.c: ... here.
34340         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
34341         * nptl/lowlevelrobustlock.sym: ... here.
34342         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
34343         * nptl/lowlevelrwlock.sym: ... here.
34344         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
34345         * nptl/pt-fork.c: ... here.
34346         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
34347         * nptl/pthread-pi-defines.sym: ... here.
34348         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
34349         * nptl/pthread_attr_getaffinity.c: ... here.
34350         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
34351         * nptl/pthread_attr_setaffinity.c: ... here.
34352         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
34353         * nptl/pthread_mutex_cond_lock.c: ... here.
34354         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
34355         Update #include.
34356         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
34357         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
34358         * nptl/pthread_once.c: ... here, replacing old file.
34359         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
34360         * nptl/pthread_yield.c: ... here.
34361         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
34362         * nptl/register-atfork.c: ... here.
34363         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
34364         * nptl/sem_post.c: ... here.
34365         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
34366         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
34367         * nptl/sem_timedwait.c: ... here.
34368         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
34369         * nptl/sem_trywait.c: ... here.
34370         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
34371         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
34372         * nptl/sem_wait.c: ... here.
34373         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
34374         * nptl/structsem.sym: ... here.
34375         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
34376         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
34377         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
34378         * nptl/unregister-atfork.c: ... here.
34379         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
34380         * nptl/unwindbuf.sym: ... here.
34381         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
34382         * sysdeps/nptl/fork.c: ... here.
34383         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
34384         * sysdeps/nptl/fork.h: ... here.
34385         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
34386         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
34387         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
34388         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
34389         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
34390         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
34391         * sysdeps/unix/sysv/linux/getpid.c: ... here.
34392         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
34393         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
34394         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
34395         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
34396         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
34397         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
34398         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
34399         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
34400         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
34401         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
34402         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
34403         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
34404         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
34405         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
34406         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
34407         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
34408         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
34409         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
34410         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
34411         * sysdeps/unix/sysv/linux/raise.c: ... here.
34412         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
34413         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
34414         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
34415         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
34416         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
34417         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
34418         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
34419         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
34420         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
34421         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
34422         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
34423         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
34424         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
34425         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
34426         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
34428 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
34430         * sysdeps/generic/memcopy.h: Add comment for
34431         MEMCPY_OK_FOR_FWD_MEMMOVE.
34433 2014-07-04  Will Newton  <will.newton@linaro.org>
34435         * string/memchr.c: Merge from gnulib.
34436         [_LIBC]: Remove conditionals.
34437         (__ptr_t): Remove define.
34438         (LONG_MAX_32_BITS): Likewise.
34439         (LONG_MAX): Likewise.
34440         (MEMCHR): Use ANSI prototype and optimize algorithm.
34442         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
34444 2014-07-03  Roland McGrath  <roland@hack.frob.com>
34446         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
34447         (lll_futex_timed_wait_bitset): Fix syscall argument count.
34449         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
34450         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
34451         in a bare environment with no <stdlib.h> installed.
34452         * sysdeps/nptl/configure: Regenerated.
34454         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
34456         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
34457         AC_EGREP_CPP for kernel header checks, so they only succeed if
34458         including <linux/version.h> actually works right.
34459         * sysdeps/unix/sysv/linux/configure: Regenerated.
34461         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
34462         value so it's not diagnosed as unused.
34464         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
34465         thing) with "ifeq ($(subdir),rt)".
34467 2014-07-03  Richard Henderson  <rth@redhat.com>
34469         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
34470         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
34471         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
34473         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
34474         (math_force_eval): New.
34476         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
34477         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
34479         * sysdeps/alpha/fpu/s_round.c: Remove file.
34480         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
34482         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
34483         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
34484         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
34485         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
34486         (_dl_start, print_statistics): Likewise.
34487         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
34488         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
34490         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34491         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34492         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34493         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34494         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34495         (HP_SMALL_TIMING_AVAIL): Define.
34496         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34497         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34498         (HP_SMALL_TIMING_AVAIL): Define.
34499         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34500         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
34502         * sysdeps/aarch64/hp-timing.h: New file.
34504         * sysdeps/generic/hp-timing.h: Remove dead comment.
34505         * sysdeps/generic/hp-timing-common.h: New file.
34506         * sysdeps/alpha/hp-timing.h: Include it.
34507         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
34508         * sysdeps/i386/i686/hp-timing.h: Likewise.
34509         * sysdeps/ia64/hp-timing.h: Likewise.
34510         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34511         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34512         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34513         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34514         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
34515         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
34516         (hp_timing_t): New.
34518         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
34519         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
34520         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
34521         * elf/rtld.c (_dl_start_final): Likewise.
34522         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
34523         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34524         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34525         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34526         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34527         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34528         (HP_TIMING_DIFF_INIT): Remove.
34529         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34530         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
34531         (HP_TIMING_DIFF_INIT): Remove.
34532         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
34533         * sysdeps/i386/i686/hp-timing.c: Remove file.
34534         * sysdeps/x86_64/hp-timing.c: Remove file.
34535         * sysdeps/ia64/hp-timing.c: Remove file.
34536         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
34537         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
34538         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
34539         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
34541         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
34542         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
34543         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
34544         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34545         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
34546         (HP_TIMING_ACCUM): Remove.
34547         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34548         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
34549         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
34551         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
34552         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
34553         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
34554         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
34555         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
34556         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34557         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
34558         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
34560         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
34562 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
34564         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
34566 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34568         Sync up with gettext.
34569         * intl/loadmsgcat.c: Define O_BINARY if not defined.
34570         [_MSC_VER]: Include malloc.h
34571         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
34572         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
34573         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
34574         TEMP_FAILURE_RETRY.  Cast return of alloca.
34575         [!_LIBC] Call gl_rwlock_init.
34576         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
34578 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34580         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
34581         before checking its value.
34583 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34585         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
34587         * debug/memcpy_chk.c: Don't include pagecopy.h.
34588         * debug/mempcpy_chk.c: Likewise.
34589         * string/memcpy.c: Likewise.
34590         * string/memmove.c: Likewise.
34591         * sysdeps/powerpc/memmove.c: Likewise.
34592         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
34593         definition of PAGE_COPY_FWD_MAYBE here...
34594         * sysdeps/generic/pagecopy.h: ... from here.
34595         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
34597 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
34598             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34600         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
34601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
34602         optimizations.
34603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
34604         (__libc_ifunc_impl_list): Likewise.
34605         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
34606         multiarch strcat for PPC64.
34607         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
34608         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
34610 2014-07-02  Roland McGrath  <roland@hack.frob.com>
34612         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
34614 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34616         * intl/loadmsgcat.c: Remove declaration of
34617         get_sysdep_segment_value.
34618         (get_sysdep_segment_value): Use ISO C style.
34619         (_nl_load_domain): Use ISO C style.  Get rid of redundant
34620         semicolon.  Fix typo and formatting in comment.
34621         (_nl_unload_domain): Use ISO C style.
34623         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
34625 2014-07-02  Will Newton  <will.newton@linaro.org>
34627         * malloc/obstack.c: Merge from gnulib master.
34628         [HAVE_CONFIG_H]: Remove conditional code.
34629         [!_LIBC]: Include config.h.
34630         [!ELIDE_CODE]: Don't include inttypes.h, include
34631         stdint.h unconditionally.
34632         (print_and_abort): Mark as _Noreturn.
34633         (_obstack_allocated_p): Mark as __attribute_pure__.
34634         (obstack_free): Rename to __obstack_free.
34635         [!__attribute__]: Remove conditional code.
34636         * malloc/obstack.h: Merge from gnulib master.
34637         [__cplusplus]: Move conditional down.
34638         [!__attribute_pure__]: Define __attribute_pure__ here
34639         if it is not already defined.
34640         (_obstack_memory_used): Mark as __attribute_pure__.
34641         [!__obstack_free]: Define as obstack_free.
34642         [__GNUC__]: Remove check for ancient NeXT gcc.
34644 2014-07-02  Will Newton  <will.newton@linaro.org>
34645             Paul Eggert  <eggert@cs.ucla.edu>
34647         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
34649 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34651         * resolv/gethnamaddr.c: Add comment warning that the file is
34652         not maintained.
34654 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
34656         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
34657         entries.
34659         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
34660         entry for aio_cancel and aio_cancel64.
34661         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
34662         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
34663         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
34664         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
34665         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
34666         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
34667         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
34668         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
34669         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
34670         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
34671         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
34672         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
34673         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
34675 2014-07-01  Roland McGrath  <roland@hack.frob.com>
34677         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
34678         * nptl/pthread_mutex_lock.c: Likewise.
34679         * nptl/pthread_mutex_timedlock.c: Likewise.
34680         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
34682 2014-07-01  Richard henderson  <rth@redhat.com>
34684         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
34685         (__isnan, __isnanl): Remove.
34686         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
34688         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34690 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
34692         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34694 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34696         * resolv/nss_dns/dns-host.c (getanswer_r)
34697         [MULTI_PTRS_ARE_ALIASES]: Remove code.
34699 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
34701         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
34702         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
34703         undefine.
34704         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
34705         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
34707 2014-07-01  Roland McGrath <roland@hack.frob.com>
34709         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
34710         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
34712         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
34713         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
34715         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
34716         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
34717         ... here.
34718         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
34719         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
34721         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
34722         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
34723         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
34724         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
34726         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
34727         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
34728         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
34729         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
34730         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
34731         Moved ...
34732         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
34733         ... here.
34734         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
34735         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
34736         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
34737         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
34738         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
34739         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
34740         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
34741         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
34742         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
34743         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
34744         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
34745         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
34746         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
34747         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
34748         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
34749         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
34750         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
34751         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
34752         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
34753         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
34754         ... here.
34755         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
34756         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
34757         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
34758         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
34759         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
34760         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
34761         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
34762         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
34764 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
34766         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
34767         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
34768         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
34769         Add sysdep.
34771 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34773         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34775 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34777         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34778         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34780         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34782         * sysdeps/arm/libm-test-ulps: Regenerated.
34784 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34785             Roland McGrath <roland@hack.frob.com>
34787         * test-skeleton.c (signal_handler): Kill the whole process group
34788         before killing the child individually.
34789         (main): Report any failure on `setpgid'.
34791 2014-06-30  Roland McGrath  <roland@hack.frob.com>
34793         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
34794         from _TLS_H to _ARM_NPTL_TLS_H.
34795         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
34796         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
34798 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
34800         [BZ #16539]
34801         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
34802         (__expm1l): Return argument unchanged when small but not
34803         subnormal.
34805         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
34806         include macro name.
34807         (_FP_UNPACK_RAW_1_P): Likewise.
34808         (_FP_PACK_RAW_1): Likewise.
34809         (_FP_PACK_RAW_1_P): Likewise.
34810         (_FP_MUL_MEAT_1_wide): Likewise.
34811         (_FP_MUL_MEAT_DW_1_hard): Likewise.
34812         (_FP_MUL_MEAT_1_hard): Likewise.
34813         (_FP_DIV_MEAT_1_imm): Likewise.
34814         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
34815         (_FP_DIV_MEAT_1_udiv): Likewise.
34816         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
34817         (_FP_UNPACK_RAW_2): Likewise.
34818         (_FP_UNPACK_RAW_2_P): Likewise.
34819         (_FP_PACK_RAW_2): Likewise.
34820         (_FP_PACK_RAW_2_P): Likewise.
34821         (_FP_MUL_MEAT_DW_2_wide): Likewise.
34822         (_FP_MUL_MEAT_2_wide): Likewise.
34823         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
34824         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
34825         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
34826         (_FP_MUL_MEAT_2_gmp): Likewise.
34827         (_FP_DIV_MEAT_2_udiv): Likewise.
34828         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
34829         (_FP_FRAC_SRL_4): Likewise.
34830         (_FP_FRAC_SRST_4): Likewise.
34831         (_FP_FRAC_SRS_4): Likewise.
34832         (_FP_UNPACK_RAW_4): Likewise.
34833         (_FP_UNPACK_RAW_4_P): Likewise.
34834         (_FP_PACK_RAW_4): Likewise.
34835         (_FP_PACK_RAW_4_P): Likewise.
34836         (_FP_MUL_MEAT_DW_4_wide): Likewise.
34837         (_FP_MUL_MEAT_4_wide): Likewise.
34838         (_FP_MUL_MEAT_4_gmp): Likewise.
34839         (umul_ppppmnnn): Likewise.
34840         (_FP_DIV_MEAT_4_udiv): Likewise.
34841         (__FP_FRAC_ADD_4): Likewise.
34842         (__FP_FRAC_SUB_3): Likewise.
34843         (__FP_FRAC_SUB_4): Likewise.
34844         (__FP_FRAC_DEC_3): Likewise.
34845         (__FP_FRAC_DEC_4): Likewise.
34846         (__FP_FRAC_ADDI_4): Likewise.
34847         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
34848         (_FP_FRAC_SRL_8): Likewise.
34849         (_FP_FRAC_SRS_8): Likewise.
34851         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
34852         include macro name.
34853         (FP_UNPACK_RAW_EP): Likewise.
34854         (FP_PACK_RAW_E): Likewise.
34855         (FP_PACK_RAW_EP): Likewise.
34856         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
34857         (_FP_ISSIGNAN): Likewise.
34858         (_FP_ADD_INTERNAL): Likewise.
34859         (_FP_FMA): Likewise.
34860         (_FP_CMP): Likewise.
34861         (_FP_SQRT): Likewise.
34862         (_FP_TO_INT): Likewise.
34863         (_FP_FROM_INT): Likewise.
34864         (FP_EXTEND): Likewise.
34865         (_FP_DIV_MEAT_N_loop): Likewise.
34867 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
34869         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
34870         throughout.
34872 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
34874         [BZ #17097]
34875         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
34876         result with correct sign in case of exponents that produce
34877         overflow except for X very close to 1.
34879 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
34881         mktime: merge #if/#ifdef usage from glibc
34882         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
34883         as that works with both Glibc's and Gnulib's style.
34884         See thread starting at Siddhesh Poyarekar's bug report at:
34885         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
34887 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34889         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
34890         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
34891         * sysdeps/tile/tilegx/memmove.c: Remove file.
34893 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
34895         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
34896         abi-name definition.
34897         * scripts/soversions.awk: Do not handle or generate ABI lines.
34898         * shlib-versions: Remove ABI entries.
34899         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
34900         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
34902 2014-06-27  Roland McGrath  <roland@hack.frob.com>
34904         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
34905         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
34906         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
34907         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
34908         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
34909         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
34910         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
34911         Moved ...
34912         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
34913         ... here.
34914         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
34915         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
34916         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
34917         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
34918         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
34919         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
34920         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
34921         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
34922         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
34923         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
34924         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
34925         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
34926         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
34927         Moved ...
34928         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
34929         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
34930         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
34931         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
34932         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
34933         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
34934         Moved ...
34935         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
34936         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
34937         Moved ...
34938         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
34939         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
34940         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
34941         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
34942         Moved ...
34943         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
34944         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
34945         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
34946         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
34947         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
34948         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
34949         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
34950         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
34951         Moved ...
34952         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
34953         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
34954         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
34955         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
34956         Moved ...
34957         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
34958         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
34959         Moved ...
34960         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
34961         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
34962         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
34963         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
34964         Moved ...
34965         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
34966         ... here.
34967         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
34968         Identical file removed.
34969         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
34970         Moved ...
34971         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
34972         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
34973         Identical file removed.
34974         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
34975         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
34976         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
34977         Moved ...
34978         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
34979         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
34980         Identical file removed.
34981         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
34982         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
34983         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
34984         Identical file removed.
34985         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
34986         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
34987         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
34988         Identical file removed.
34989         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
34990         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
34991         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
34992         Identical file removed.
34993         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
34994         Moved ...
34995         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
34996         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
34997         Identical file removed.
34998         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
34999         Moved ...
35000         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
35001         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
35002         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
35003         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
35004         Identical file removed.
35005         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
35006         Moved ...
35007         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
35008         ... here.
35009         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
35010         Identical file removed.
35011         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
35012         Moved ...
35013         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
35014         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
35015         Identical file removed.
35016         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
35017         Moved ...
35018         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
35019         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
35020         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
35021         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
35022         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
35023         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
35024         Moved ...
35025         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
35026         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
35027         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
35029         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
35030         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
35031         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
35032         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
35033         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
35035 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
35037         [BZ #17092]
35038         * nscd/nscd.c (monitor_child): Return exit status of child
35039         instead of return value from wait syscall.
35041 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
35043         * configure.ac (libc_commonpagesize): Remove variable.
35044         (libc_relro_required): Likewise.
35045         (libc_cv_z_relro): Remove configure test.
35046         * configure: Regenerated.
35047         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
35048         variable.
35049         (libc_relro_required): Likewise.
35050         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
35051         (libc_relro_required): Likewise.
35052         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
35053         (libc_relro_required): Likewise.
35054         * sysdeps/arm/preconfigure: Regenerated.
35055         * sysdeps/ia64/preconfigure: Remove file.
35056         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
35057         variable.
35058         (libc_relro_required): Likewise.
35060         [BZ #16561]
35061         [BZ #16562]
35062         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
35063         (__ieee754_yn): Set FE_TONEAREST mode internally and then
35064         recompute overflowing results in original rounding mode.
35065         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
35066         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
35067         recompute overflowing results in original rounding mode.
35068         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
35069         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35070         recompute overflowing results in original rounding mode.
35071         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
35072         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35073         recompute overflowing results in original rounding mode.
35074         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
35075         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
35076         recompute overflowing results in original rounding mode.
35077         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
35078         (libc_feholdsetround_ctx): New macro.
35079         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
35080         * sysdeps/i386/fpu/libm-test-ulps: Update.
35081         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
35083 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35085         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
35086         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
35087         corresponding .cpsetup call.
35089 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35091         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
35092         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
35093         * sysdeps/arm/Makefile [$(subdir) = csu]
35094         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
35095         (static-only-routines): Add aeabi_read_tp here.
35096         (shared-only-routines): Add libc-aeabi_read_tp here.
35097         (CFLAGS-libc-start.c): Add -fexceptions here.
35098         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
35099         (sysdep_routines, static-only-routines, shared-only-routines):
35100         Don't add to these here.
35101         (CFLAGS-libc-start.c): Likewise.
35103         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
35104         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35105         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
35106         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35107         * sysdeps/arm/Makefile [$(subdir) = rt]
35108         (librt-sysdep_routines, librt-shared-only-routines):
35109         Append rt-aeabi_unwind_cpp_pr1 here.
35110         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
35111         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
35112         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
35113         (libpthread-sysdep_routines, libpthread-shared-only-routines):
35114         Append nptl-aeabi_unwind_cpp_pr1 here.
35115         (tests): Filter out tst-cleanupx4 here.
35116         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
35117         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
35118         Don't do those here.
35120 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35122         * scripts/list-sources.sh: Do not handle ports specially.
35124 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35126         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
35127         * sysdeps/arm/feupdateenv.c: Likewise.
35129         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
35131 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35133         * manual/texinfo.tex: Update to version 2014-05-05.10 with
35134         trailing whitespace removed.
35135         * scripts/config.guess: Update to version 2014-03-23.
35136         * scripts/config.sub: Update to version 2014-05-01
35137         * scripts/install-sh: Update to version 2013-12-25.23.
35138         * scripts/move-if-change: Update from gnulib.
35140 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35142         * debug/memmove_chk.c: Remove pagecopy.h include.
35144 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
35146         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
35147         identical to gnulib mktime.
35149 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
35151         * configure.ac: Do not test for machine being rs6000.  Do not test
35152         for powerpc*-*soft.
35153         * configure: Regenerated.
35155         [BZ #11505]
35156         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
35157         test.
35158         * configure: Regenerated.
35159         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
35160         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
35161         Remove configure test.
35162         * sysdeps/arm/configure: Regenerated.
35163         * sysdeps/nptl/configure.ac: Do not check
35164         libc_cv_asm_cfi_directives.
35165         * sysdeps/nptl/configure: Regenerated.
35166         * sysdeps/x86_64/nptl/configure.ac: Remove file.
35167         * sysdeps/x86_64/nptl/configure: Remove generated file.
35168         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
35169         unconditional.
35170         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
35172 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
35174         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
35175         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
35176         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
35177         it is defined.
35179         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
35180         instead of whether it is defined.
35181         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
35182         * sysdeps/hppa/dl-machine.h: Likewise.
35183         * sysdeps/ia64/dl-machine.h: Likewise.
35184         * sysdeps/m68k/dl-machine.h: Likewise.
35185         * sysdeps/microblaze/dl-machine.h: Likewise.
35186         * sysdeps/mips/dl-machine.: Likewise.
35187         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
35188         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
35189         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
35190         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
35191         * sysdeps/sh/dl-machine.h: Likewise.
35192         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35193         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35194         * sysdeps/tile/dl-machine.h: Likewise.
35195         * sysdeps/x86_64/dl-machine.h: Likewise.
35197         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
35198         code.
35199         (verify_persistent_db): Likewise.
35201 2014-06-26  Roland McGrath  <roland@hack.frob.com>
35203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
35204         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
35205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
35206         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
35207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35208         Moved ...
35209         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
35210         ... here.
35211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
35212         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
35213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
35214         Identical file removed.
35215         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
35216         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
35217         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
35218         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
35219         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
35220         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
35221         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
35222         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
35223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
35224         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
35225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35226         Moved ...
35227         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
35228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
35229         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
35230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
35231         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
35232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35233         Moved ...
35234         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
35235         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
35236         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
35237         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
35238         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
35239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
35240         Identical file removed.
35241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
35242         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
35243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
35244         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
35245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35246         Moved ...
35247         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
35248         ... here.
35249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
35250         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
35251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
35252         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
35253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
35254         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
35255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
35256         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
35257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
35258         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
35259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35260         Moved ...
35261         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
35262         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
35263         Moved ...
35264         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
35265         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
35266         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
35267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35268         Moved ...
35269         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
35270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
35271         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
35273         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
35274         folded into ...
35275         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
35276         * sysdeps/unix/sysv/linux/s390/Versions
35277         (libpthread: GLIBC_2.19): New version set.
35278         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
35279         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
35280         (librt: GLIBC_2.3.3): New version set.
35281         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
35282         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
35283         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
35284         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
35285         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
35286         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
35287         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
35288         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
35289         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
35290         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
35291         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
35292         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
35293         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
35294         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
35295         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
35296         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
35297         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
35298         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
35299         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
35300         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
35301         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
35302         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
35303         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
35304         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
35305         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
35306         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
35307         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
35308         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
35309         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
35310         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
35311         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
35312         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
35313         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
35314         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
35315         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
35316         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
35317         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
35318         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
35319         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
35320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
35321         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
35322         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
35323         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
35324         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
35325         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
35327         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
35328         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
35329         (__libc_vfork): Define the function under this name.
35330         [!NOT_IN_libc] (__vfork): Make this an alias.
35331         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35332         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
35333         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
35334         (__libc_vfork): Define the function under this name.
35335         [!NOT_IN_libc] (__vfork): Make this an alias.
35336         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
35337         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
35338         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
35339         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
35340         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
35341         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
35343         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
35344         code that was previously under [RESET_PID].
35345         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
35346         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
35347         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
35349         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
35350         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
35351         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
35352         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
35353         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
35354         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
35355         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
35356         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
35357         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
35358         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
35359         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
35360         Moved ...
35361         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
35362         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
35363         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
35364         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
35365         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
35366         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
35367         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
35368         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
35369         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
35370         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
35371         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
35372         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
35373         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
35374         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
35375         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
35376         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
35377         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
35378         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
35379         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
35380         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
35381         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
35382         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
35383         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
35384         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
35385         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
35386         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
35387         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
35388         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
35389         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
35391 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35393         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
35394         that was previously under [RESET_PID].
35395         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
35397 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35399         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
35400         not undefine and redefine.
35401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
35402         [O_CLOEXEC]: Make code unconditional.
35403         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
35404         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
35405         <kernel-features.h>.
35406         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
35407         conditional variable definition.
35408         (shm_open) [O_CLOEXEC]: Make code unconditional.
35409         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
35410         code.
35412         * configure.ac (USE_REGPARMS): Don't define here.
35413         * configure: Regenerated.
35414         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
35415         * sysdeps/i386/configure: Regenerated.
35417         * nptl/createthread.c: Don't include kernel-features.h.
35418         * nptl/pthread_cancel.c: Likewise.
35419         * nptl/pthread_condattr_setclock.c: Likewise.
35420         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
35421         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
35422         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
35423         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
35424         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
35425         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
35426         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
35427         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
35428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
35429         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
35430         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
35431         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
35432         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
35433         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
35434         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
35435         * nscd/gai.c: Likewise.
35436         * nss/nss_db/db-open.c: Likewise.
35437         * sysdeps/generic/ldsodefs.h: Likewise.
35438         * sysdeps/sh/nptl/tls.h: Likewise.
35439         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
35440         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
35441         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
35442         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
35443         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
35444         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
35445         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
35446         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
35447         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35448         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35449         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35450         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35451         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
35452         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
35453         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
35454         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
35455         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
35456         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
35457         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
35458         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
35459         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
35460         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
35461         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
35462         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
35463         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
35464         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
35465         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
35466         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
35467         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
35468         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
35469         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
35470         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
35471         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
35472         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35473         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35474         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
35475         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35476         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
35477         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
35478         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
35479         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
35480         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
35481         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
35482         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35483         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
35484         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
35485         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
35486         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
35487         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
35488         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
35489         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
35490         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
35491         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
35492         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
35493         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
35494         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
35495         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35496         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
35497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
35498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
35499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
35500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
35501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
35502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
35503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
35504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
35505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
35506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
35507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
35508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
35509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
35510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
35511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
35512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
35513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
35514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
35515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
35516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
35517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
35518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
35519         * sysdeps/unix/sysv/linux/pread.c: Likewise.
35520         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
35521         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
35522         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
35523         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
35524         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
35525         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
35526         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
35527         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
35528         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
35529         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
35530         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
35531         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
35532         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
35533         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
35534         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
35535         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
35536         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
35537         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
35538         * sysdeps/unix/sysv/linux/system.c: Likewise.
35539         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
35540         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35541         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
35542         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
35543         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35544         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
35545         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35547         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
35548         * configure: Regenerated.
35549         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
35551         * configure.ac (base_machine): Do not set specially for particular
35552         machines here.
35553         * configure: Regenerated.
35554         * sysdeps/powerpc/preconfigure: Move machine and base_machine
35555         settings from configure.ac.
35556         * sysdeps/i386/preconfigure: New file.
35557         * sysdeps/s390/preconfigure: Likewise.
35558         * sysdeps/sh/preconfigure: Likewise.
35559         * sysdeps/sparc/preconfigure: Likewise.
35561 2014-06-25  Roland McGrath  <roland@hack.frob.com>
35563         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
35564         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
35565         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
35566         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
35567         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
35568         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
35569         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
35570         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
35571         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
35572         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
35573         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
35574         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
35575         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
35576         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
35577         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
35578         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
35579         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
35580         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
35581         * sysdeps/sparc/sparc64/Makefile: ... appended here.
35583         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
35584         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
35585         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
35586         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
35587         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
35588         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
35589         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
35590         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
35591         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
35592         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
35593         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
35594         * sysdeps/sparc/sparc32/sem_post.c: ... here.
35595         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
35596         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
35597         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
35598         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
35599         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
35600         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
35601         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
35602         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
35603         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
35604         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
35605         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
35606         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
35607         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
35608         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
35609         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
35610         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
35611         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
35612         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
35613         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
35614         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
35615         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
35616         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
35617         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
35618         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
35619         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
35620         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
35622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
35623         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
35624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
35625         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
35626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
35627         Moved ...
35628         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
35629         ... here.
35630         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
35631         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
35632         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
35633         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
35634         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
35635         Moved ...
35636         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
35637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
35638         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
35639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
35640         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
35641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
35642         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
35643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35644         Moved ...
35645         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
35646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
35647         Moved ...
35648         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
35649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
35650         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
35651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
35652         Moved ...
35653         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
35654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
35655         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
35656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
35657         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
35658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
35659         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
35660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
35661         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
35662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
35663         Moved ...
35664         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
35665         ... here.
35666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
35667         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
35668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
35669         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
35670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
35671         Moved ...
35672         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
35673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
35674         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
35675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
35676         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
35677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
35678         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
35679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35680         Moved ...
35681         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
35682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
35683         Moved ...
35684         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
35685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
35686         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
35687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
35688         Moved ...
35689         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
35690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
35691         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
35692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
35693         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
35695 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35697         * timezone/checktab.awk: Update from tzcode 2014e.
35698         * timezone/private.h: Likewise.
35699         * timezone/tzfile.h: Likewise.
35700         * timezone/zdump.c: Likewise.
35701         * timezone/zic.c: Likewise.
35703         * sysdeps/unix/sysv/linux/kernel-features.h
35704         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
35705         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
35706         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
35707         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
35708         Remove conditional code.
35710 2014-06-25  Will Newton  <will.newton@linaro.org>
35712         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
35713         (_dl_arm_cap_flags): Add HWCAP2 values.
35714         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
35715         (_DL_HWCAP_COUNT): Increase to 37.
35716         (_DL_HWCAP_LAST): New define.
35717         (_DL_HWCAP2_LAST): New define.
35718         (_dl_procinfo): Add support for printing
35719         AT_HWCAP2 entries.
35720         (_dl_string_hwcap): Use _dl_hwcap_string.
35722 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35726 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
35728         * README: Do not mention ports directory.
35730         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
35731         Remove macro.
35732         * sysdeps/unix/sysv/linux/futimes.c: Do not include
35733         <kernel-features.h>.
35734         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
35735         conditional variable definition.
35736         (__futimes): Update comment.
35737         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
35738         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
35740         [BZ #16560]
35741         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
35742         arguments close to 0.
35743         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
35744         Likewise.
35745         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
35746         Likewise.
35747         * math/auto-libm-test-in: Add more tests of exp10.
35748         * math/auto-libm-test-out: Regenerated.
35749         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35751         * sysdeps/unix/sysv/linux/kernel-features.h
35752         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
35753         * sysdeps/unix/sysv/linux/readv.c: Do not include
35754         <kernel-features.h>.
35755         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35756         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35757         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35758         unconditional.
35759         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35760         conditional code.
35761         * sysdeps/unix/sysv/linux/writev.c: Do not include
35762         <kernel-features.h>.
35763         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
35764         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
35765         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
35766         unconditional.
35767         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
35768         conditional code.
35770 2014-06-25  Will Newton  <will.newton@linaro.org>
35772         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
35773         comment changes throughout the file.  Remove checks
35774         for HAVE_*_H definitions that are not required.
35775         (__gen_tempname): Call abort if an unknown kind value is
35776         passed.
35778 2014-06-25  Andreas Schwab  <schwab@suse.de>
35780         [BZ #17086]
35781         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
35782         scalbln, scalblnf, scalblnl in libc.
35784 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35786         [BZ #17086]
35787         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
35788         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35789         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35791 2014-06-24  Roland McGrath  <roland@hack.frob.com>
35793         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
35794         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
35795         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
35796         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
35797         Update #include.
35798         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
35799         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
35800         Update #include.
35801         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
35802         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
35803         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
35804         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
35805         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
35806         * sysdeps/x86/bits/pthreadtypes.h: ... here.
35807         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
35808         * sysdeps/x86/bits/semaphore.h: ... here.
35809         * sysdeps/x86/nptl/elide.h: Moved ...
35810         * sysdeps/x86/elide.h: ... here.
35811         * sysdeps/x86_64/nptl/Implies: File removed.
35812         * sysdeps/i386/nptl/Implies: File removed.
35814 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
35816         [BZ #16539]
35817         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
35818         return the argument for normal arguments with exponent below -64.
35819         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35820         Likewise.
35821         * math/auto-libm-test-in: Add another test of expm1.
35822         * math/auto-libm-test-out: Regenerated.
35824         [BZ #16287]
35825         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
35826         calling __erfcl for arguments at least 16.
35827         * math/auto-libm-test-in: Add more tests of erf.
35828         * math/auto-libm-test-out: Regenerated.
35830         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
35831         individual architectures.
35832         * sysdeps/unix/sysv/linux/configure: Regenerated.
35833         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
35834         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
35835         * sysdeps/unix/sysv/linux/powerpc/configure.ac
35836         (ldd_rewrite_script): Define variable.
35837         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
35838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
35839         file.
35840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
35841         generated file.
35842         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
35843         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
35844         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
35845         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
35846         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
35847         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
35848         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
35849         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
35851 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35853         [BZ #17084]
35854         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
35855         Rename member __data.d to __data.__elision_data.
35857 2014-06-24  Wilco  <wdijkstr@arm.com>
35859         * NEWS: Add 16918 to fixed bug list.
35861 2014-06-24  Wilco  <wdijkstr@arm.com>
35863         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
35865 2014-06-24  Wilco  <wdijkstr@arm.com>
35867         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
35868         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
35869         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
35870         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
35871         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
35872         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
35873         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
35874         Use _FPU_MASK_RM.
35876 2014-06-24  Wilco  <wdijkstr@arm.com>
35878         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
35880 2014-06-24  Wilco  <wdijkstr@arm.com>
35882         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
35883         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
35884         * sysdeps/arm/fesetround.c (fesetround): Remove space.
35885         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
35887 2014-06-24  Wilco  <wdijkstr@arm.com>
35889         [BZ #16918]
35890         * sysdeps/arm/feupdateenv.c (feupdateenv):
35891         Rewrite to reduce FPSCR accesses and fix return value.
35893 2014-06-24  Wilco  <wdijkstr@arm.com>
35895         * sysdeps/arm/fclrexcpt.c (feclearexcept):
35896         Optimize to avoid unnecessary FPSCR writes.
35897         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
35898         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
35899         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
35900         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
35902 2014-06-24  Wilco  <wdijkstr@arm.com>
35904         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
35905         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
35906         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
35907         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
35908         Call libc_fetestexcept_vfp.
35909         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
35910         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
35911         __SOFTFP__ ifdef so that they can be built for softfp.
35913 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
35915         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
35916         argument type signed char.
35918         * Makerules (check-abi): Dump diff of symlist if the test
35919         fails.
35921 2014-06-23  Roland McGrath  <roland@hack.frob.com>
35923         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
35924         using abort.
35926         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
35927         Remove unused variable ST.
35929 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
35931         [BZ #16354]
35932         [BZ #17061]
35933         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
35934         small arguments before calling __expm1.
35935         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
35936         small arguments before calling __expm1f.
35937         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
35938         small arguments before calling __expm1l.
35939         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
35940         Likewise.
35941         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35942         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
35943         spurious underflow for some cosh tests.
35944         * math/auto-libm-test-out: Regenerated.
35945         * sysdeps/i386/fpu/libm-test-ulps: Update.
35947         [BZ #17050]
35948         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
35949         (__ieee754_y1): Set errno if return value overflows.
35950         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
35951         (__ieee754_y1f): Set errno if return value overflows.
35952         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
35953         (__ieee754_y1l): Set errno if return value overflows.
35954         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
35955         (__ieee754_y1l): Set errno if return value overflows.
35956         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
35957         * math/auto-libm-test-out: Regenerated.
35959         * math/gen-auto-libm-tests.c: Document use of
35960         ignore-zero-inf-sign.
35961         (input_flag_type): Add value flag_ignore_zero_inf_sign.
35962         (input_flags): Add ignore-zero-inf-sign.
35963         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
35964         * math/gen-libm-test.pl (generate_testfile): Handle
35965         ignore-zero-inf-sign.
35966         * math/auto-libm-test-in: Mark some cpow tests with
35967         ignore-zero-inf-sign and some with xfail-rounding.
35968         * math/auto-libm-test-out: Regenerated.
35969         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
35970         * sysdeps/i386/fpu/libm-test-ulps: Update.
35971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35973         [BZ #16315]
35974         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
35975         overflowing or underflowing operations take place with sign of
35976         result.
35977         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35978         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
35979         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
35980         (__ieee754_pow): Recompute overflowing and underflowing results in
35981         original rounding mode.
35982         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
35983         (__powl_helper): Allow negative argument X and scale negated value
35984         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
35985         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
35986         overflowing or underflowing operations take place with sign of
35987         result.
35988         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
35989         Include <math.h>.
35990         * math/auto-libm-test-in: Add more tests of pow.
35991         * math/auto-libm-test-out: Regenerated.
35992         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
35993         (pow_tonearest_test_data): Remove.
35994         (pow_test_tonearest): Likewise.
35995         (pow_towardzero_test_data): Likewise.
35996         (pow_test_towardzero): Likewise.
35997         (pow_downward_test_data): Likewise.
35998         (pow_test_downward): Likewise.
35999         (pow_upward_test_data): Likewise.
36000         (pow_test_upward): Likewise.
36001         (main): Don't call removed functions.
36002         * sysdeps/i386/fpu/libm-test-ulps: Update.
36003         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36005 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
36008         Moved ...
36009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
36010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36011         Moved ...
36012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
36013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
36014         Moved ...
36015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
36016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36017         Moved ...
36018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
36019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36020         File removed.
36021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
36022         File removed.
36023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
36024         File removed.
36025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
36026         File removed.
36027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
36028         File removed.
36029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
36030         File removed.
36031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
36032         File removed.
36033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
36034         File removed.
36035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
36036         File removed.
36037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
36038         File removed.
36039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
36040         File removed.
36041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
36042         File removed.
36043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
36044         Moved ...
36045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
36046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
36047         Moved ...
36048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
36049         ... here.
36050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
36051         Moved ...
36052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
36053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
36054         Moved ...
36055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
36056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
36057         Moved ...
36058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
36059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
36060         Moved ...
36061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
36062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
36063         Moved ...
36064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
36065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
36066         Moved ...
36067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
36068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
36069         Moved ...
36070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
36071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
36072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
36073         ... here.
36074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
36075         Moved ...
36076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
36077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
36078         Moved ...
36079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
36080         ... here.
36081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
36082         Moved ...
36083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
36084         ... here.
36085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
36086         Moved ...
36087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
36088         ... here.
36089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36090         Moved ...
36091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
36092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
36093         Moved ...
36094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
36095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
36096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
36097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
36098         Moved ...
36099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
36100         ... here.
36101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
36102         Moved ...
36103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
36104         ... here.
36105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
36106         Moved ...
36107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
36108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
36109         Moved ...
36110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
36111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
36112         Moved ...
36113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
36114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36115         Moved ...
36116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
36117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
36118         Moved ...
36119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
36120         ... here.
36121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
36122         Moved ...
36123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
36124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
36125         Moved ...
36126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
36127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
36128         Moved ...
36129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
36130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
36131         Moved ...
36132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
36133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
36134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
36135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
36136         Moved ...
36137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
36138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
36139         Moved ...
36140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
36141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
36142         Moved ...
36143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
36144         ... here.
36145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
36146         Moved ...
36147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
36148         ... here.
36149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
36150         Moved ...
36151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
36152         ... here.
36153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
36154         Moved ...
36155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
36156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
36157         Moved ...
36158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
36159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
36160         Moved ...
36161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
36162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
36163         Moved ...
36164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
36165         ... here.
36166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
36167         Moved ...
36168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
36169         ... here.
36170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
36171         Moved ...
36172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
36173         ... here.
36174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
36175         Moved ...
36176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
36177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36178         Moved ...
36179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
36181 2014-06-23  Will Newton  <will.newton@linaro.org>
36182             Wilco  <wdijkstr@arm.com>
36184         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
36185         implementation.  Include get-rounding-mode.h.
36186         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
36187         [!libc_feholdsetround_noex_ctx]: Define
36188         libc_feholdsetround_noex_ctx.
36189         [!libc_feholdsetround_noexf_ctx]: Define
36190         libc_feholdsetround_noexf_ctx.
36191         [!libc_feholdsetround_noexl_ctx]: Define
36192         libc_feholdsetround_noexl_ctx.
36193         (libc_feholdsetround_ctx): New function.
36194         (libc_feresetround_ctx): New function.
36195         (libc_feholdsetround_noex_ctx): New function.
36196         (libc_feresetround_noex_ctx): New function.
36198 2014-06-23  Roland McGrath  <roland@hack.frob.com>
36200         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
36201         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
36202         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
36203         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
36204         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
36205         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
36207         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
36208         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
36209         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
36210         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
36211         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
36212         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
36213         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
36214         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
36215         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
36216         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
36217         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
36218         Moved ...
36219         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
36220         ... here.
36221         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
36222         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
36223         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
36224         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
36225         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
36226         Moved ...
36227         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
36228         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
36229         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
36230         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
36231         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
36232         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
36233         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
36234         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
36235         Moved ...
36236         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
36237         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
36238         Moved ...
36239         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
36240         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
36241         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
36242         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
36243         Moved ...
36244         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
36245         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
36246         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
36247         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
36248         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
36249         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
36250         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
36251         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
36252         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
36253         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
36254         Moved ...
36255         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
36256         ... here.
36257         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
36258         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
36259         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
36260         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
36261         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
36262         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
36263         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
36264         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
36265         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
36266         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
36267         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
36268         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
36269         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
36270         Moved ...
36271         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
36272         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
36273         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
36274         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
36275         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
36276         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
36277         Moved ...
36278         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
36279         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
36280         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
36281         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
36282         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
36284         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
36285         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
36286         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
36287         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
36288         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
36289         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
36290         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
36291         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
36292         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
36293         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
36294         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
36295         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
36296         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
36297         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
36298         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
36299         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
36300         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
36301         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
36302         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
36303         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
36304         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
36305         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
36306         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
36307         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
36308         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
36309         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
36310         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
36311         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
36313 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
36315         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
36316         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36317         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
36318         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
36319         (IPV6_PMTUDISC_INTERFACE): Likewise.
36320         (IPV6_PMTUDISC_OMIT): Likewise.
36322 2014-06-23  Andreas Schwab  <schwab@suse.de>
36324         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
36325         Remove unused errout label.
36327 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36329         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
36330         macro: hardware supports Vector Crypto instructions.
36332 2014-06-23  Will Newton  <will.newton@linaro.org>
36334         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
36335         rather than __builtin_expect.
36337         * elf/dl-lookup.c (undefined_msg): Remove variable.
36338         (_dl_lookup_symbol_x): Replace undefined_msg with string
36339         literal.
36341         * elf/dl-lookup.c (do_lookup_unique): New function.
36342         (do_lookup_x): Move STB_GNU_UNIQUE handling code
36343         to a separate function.
36345 2014-06-23  Andreas Schwab  <schwab@suse.de>
36347         [BZ #17079]
36348         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
36349         before reading the next line.
36351 2014-06-23  Will Newton  <will.newton@linaro.org>
36353         * test-skeleton.c (signal_handler): Use printf and %m
36354         rather than perror.  Use printf rather than fprintf to
36355         stderr.  Use puts rather than fputs to stderr.
36356         (main): Likewise.
36358 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
36360         * nscd/nscd.c (thread_info_t): Remove typedef.
36361         (thread_info): Remove variable.
36363 2014-06-21  Allan McRae  <allan@archlinux.org>
36365         * NEWS: Mention CVE-2014-4043.
36367 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36369         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
36370         * nptl/smp.h: ... here.
36372         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
36374         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
36375         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
36376         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
36377         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
36379         * nptl/allocatestack.c: Include <stack-aliasing.h>.
36380         * nptl/stack-aliasing.h: New file.
36381         * sysdeps/i386/i686/stack-aliasing.h: New file.
36382         * sysdeps/i386/i686/nptl/Makefile: File removed.
36383         * sysdeps/x86_64/stack-aliasing.h: New file.
36384         * sysdeps/x86_64/nptl/Makefile
36385         (CFLAGS-pthread_create.c): Variable removed.
36387         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
36388         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
36389         old file.
36390         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
36391         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
36392         old file.
36394 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
36396         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36397         (__ASSUME_SIGFRAME_V2): Remove macro.
36398         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
36399         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
36400         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
36401         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
36402         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
36403         Declare as function.  Remove conditional macro definitions.
36404         (__default_rt_sa_restorer): Likewise.
36405         (__default_sa_restorer_v1): Remove declaration.
36406         (__default_sa_restorer_v2): Likewise.
36407         (__default_rt_sa_restorer_v1): Likewise.
36408         (__default_rt_sa_restorer_v2): Likewise.
36409         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
36410         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
36411         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
36413 2014-06-20  Roland McGrath  <roland@hack.frob.com>
36415         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
36416         (libpthread-routines): Add sysdep.
36417         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
36418         * sysdeps/unix/sysv/linux/sparc/Versions
36419         (libpthread: GLIBC_2.3.3): New version set.
36420         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
36421         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
36422         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
36423         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
36424         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
36425         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
36426         Moved ...
36427         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
36428         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
36429         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
36430         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
36431         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
36432         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
36433         * sysdeps/sparc/nptl/sem_init.c: ... here.
36434         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
36435         * sysdeps/sparc/nptl/sem_post.c: ... here.
36436         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
36437         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
36438         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
36439         * sysdeps/sparc/nptl/sem_wait.c: ... here.
36440         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
36441         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
36442         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
36443         (libpthread-routines): Add cpu_relax.
36444         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
36445         File removed.
36446         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
36447         (librt: GLIBC_2.3.3): New version set.
36448         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
36449         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
36450         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
36451         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
36452         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
36453         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
36454         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
36455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
36456         Moved ...
36457         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
36458         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
36459         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
36460         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
36461         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
36462         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
36463         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
36464         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
36465         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
36466         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
36467         Moved ...
36468         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
36469         Update #include.
36470         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
36471         Moved ...
36472         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
36473         Update #include.
36474         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
36475         Moved ...
36476         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
36477         Update #include.
36478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
36479         Moved ...
36480         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
36481         Update #include.
36482         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
36483         Moved ...
36484         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
36485         Update #include.
36486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
36487         Moved ...
36488         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
36489         Update #include.
36490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
36491         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
36492         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
36493         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
36494         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
36495         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
36496         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
36497         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
36498         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
36499         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
36500         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
36501         Moved ...
36502         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
36503         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
36504         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
36505         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
36506         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
36508 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36510         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
36511         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
36512         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
36513         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
36514         * nscd/nscd.c: Likewise.
36515         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
36516         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
36517         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
36518         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
36520         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
36521         <kernel-features.h>.
36522         (init_mq_netlink): Remove conditional have_sock_cloexec
36523         definitions.  Remove code conditional on have_sock_cloexec < 0.
36524         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
36525         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
36526         * sysdeps/unix/sysv/linux/opensock.c: Do not include
36527         <kernel-features.h>.
36528         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
36529         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
36531 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36534         Add tests for memset_chk and memset.
36536         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
36537         with AVX2_Usable.
36539 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36541         [BZ #16046]
36542         * elf/tst-dl-iter-static.c: New file.
36543         * elf/Makefile (tests-static): Add tst-dl-iter-static.
36545         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
36546         error.
36548 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36550         * sysdeps/unix/sysv/linux/kernel-features.h
36551         (__ASSUME_F_GETOWN_EX): Remove macro.
36552         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
36553         <kernel-features.h>.
36554         (miss_F_GETOWN_EX): Remove variable or macro.
36555         (do_fcntl): Do not check miss_F_GETOWN_EX.
36556         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
36558         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
36559         Remove macro.
36560         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
36561         [!__ASSUME_AT_RANDOM]: Remove conditional code.
36562         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
36564         * sysdeps/unix/sysv/linux/kernel-features.h
36565         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
36566         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
36567         [ADJ_OFFSET_SS_READ]: Make code unconditional.
36568         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
36570 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
36572         [BZ #17075]
36573         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
36574         Fix calculation of the symbol's value.
36575         * sysdeps/arm/tst-armtlsdescloc.c: New file.
36576         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
36577         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
36578         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
36579         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
36580         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
36581         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
36582         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
36583         (modules-names): Add `tst-armtlsdescmod',
36584         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
36585         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
36586         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36587         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
36588         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
36589         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
36590         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
36591         ($(objpfx)tst-armtlsdescloc): New dependency.
36592         ($(objpfx)tst-armtlsdescextnow): Likewise.
36593         ($(objpfx)tst-armtlsdescextlazy): Likewise.
36594         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
36595         TLS scheme support.
36596         * sysdeps/arm/configure: Regenerate.
36598 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
36600         * include/fcntl.h (__atfct_seterrno): Remove prototype.
36601         (__atfct_seterrno_2): Likewise.
36602         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
36603         <kernel-features.h>.
36604         (__ASSUME_ATFCTS): Do not undefine and redefine.
36605         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
36606         (__have_atfcts): Remove conditional definition.
36607         (__fxstatat([__NR_fstatat64]: Make code unconditional.
36608         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
36609         unreachable if [__ASSUME_ATFCTS].
36610         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
36611         not undefine and redefine.
36612         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
36613         <kernel-features.h>.
36614         (faccessat) [__NR_faccessat]: Make code unconditional.
36615         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
36616         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
36617         <kernel-features.h>.
36618         (fchmodat) [__NR_fchmodat]: Make code unconditional.
36619         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36620         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
36621         <kernel-features.h>.
36622         (fchownat) [__NR_fchownat]: Make code unconditional.
36623         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
36624         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
36625         <kernel-features.h>.
36626         (futimesat) [__NR_futimesat]: Make code unconditional.
36627         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
36628         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36629         <kernel-features.h>.
36630         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36631         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36632         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36633         <kernel-features.h>.
36634         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
36635         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36636         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
36637         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36638         <kernel-features.h>.
36639         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
36640         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36641         * sysdeps/unix/sysv/linux/linkat.c: Do not include
36642         <kernel-features.h>.
36643         (linkat) [__NR_linkat]: Make code unconditional.
36644         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36645         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
36646         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
36647         <kernel-features.h>.
36648         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
36649         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
36650         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
36651         <kernel-features.h>.
36652         (mkdirat) [__NR_mkdirat]: Make code unconditional.
36653         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
36654         * sysdeps/unix/sysv/linux/openat.c: Do not include
36655         <kernel-features.h>.
36656         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
36657         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
36658         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
36659         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
36660         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
36661         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
36662         <kernel-features.h>.
36663         (readlinkat) [__NR_readlinkat]: Make code unconditional.
36664         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
36665         result of INLINE_SYSCALL directly, not via int variable.
36666         * sysdeps/unix/sysv/linux/renameat.c: Do not include
36667         <kernel-features.h>.
36668         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
36669         (renameat) [__NR_renameat]: Make code unconditional.
36670         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
36671         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
36672         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
36673         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
36674         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
36675         (__ASSUME_ATFCTS): Do not undefine and redefine.
36676         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
36677         <kernel-features.h>.
36678         (symlinkat) [__NR_symlinkat]: Make code unconditional.
36679         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36680         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
36681         <kernel-features.h>.
36682         (unlinkat) [__NR_unlinkat]: Make code unconditional.
36683         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
36684         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
36685         (__ASSUME_ATFCTS): Do not undefine and redefine.
36686         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36687         <kernel-features.h>.
36688         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
36689         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
36690         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36691         <kernel-features.h>.
36692         (__xmknodat) [__NR_mknodat]: Make code unconditional.
36693         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
36695 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
36697         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
36699 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
36701         [BZ #17069]
36702         * posix/regcomp.c (parse_reg_exp): Deallocate partially
36703         constructed tree before returning error.
36704         * posix/bug-regexp36.c: Expand test case.
36706 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36708         [BZ #6803]
36709         * math/libm-test.inc (scalbln_test_date):
36710         Add errno expectations.
36711         * math/w_scalblnf.c: New File.
36712         Add wrapper which checks for setting errno to ERANGE.
36713         Add weak_alias for corresponding scalbln function.
36714         * math/w_scalbln.c: Likewise.
36715         * math/w_scalblnl.c: Likewise.
36716         * math/Makefile (libm-calls): Add w_scalbln.
36717         * sysdeps/ieee754/flt-32/s_scalblnf.c:
36718         Remove weak_alias for corresponding scalbln function.
36719         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
36720         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
36721         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
36722         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36723         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
36724         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
36725         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
36726         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
36727         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
36728         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
36729         Remove long_double_symbol for scalblnl function in libm, libc.
36730         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
36731         Add wrapper which checks for setting errno to ERANGE.
36732         Add long_double_symbol for scalblnl function in libm, libc.
36733         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
36734         Remove long_double_symbol for scalblnl in libm.
36735         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
36736         Add wrapper which checks for setting errno to ERANGE.
36737         Add long_double_symbol for scalblnl function in libm.
36738         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
36739         Do not use wrapper because of own implementation.
36741 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
36743         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
36744         3 bytes for __pad1 for x32.
36745         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
36747 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
36748             H.J. Lu  <hongjiu.lu@intel.com>
36750         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
36751         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
36752         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36753         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36754         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
36756 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
36758         [BZ #17069]
36759         * posix/regcomp.c (parse_expression): Deallocate partially
36760         constructed tree before returning error.
36761         * posix/Makefile.c (tests): Add bug-regex36.
36762         (generated): Add bug-regex36.mtrace.
36763         (tests-special): Add $(objpfx)bug-regex36-mem.out
36764         (bug-regex36-ENV): New variable.
36765         ($(objpfx)bug-regex36-mem.out): New rule.
36766         * posix/bug-regex36.c: New file.
36768 2014-06-19  Will Newton  <will.newton@linaro.org>
36770         * malloc/malloc.c (systrim): If extra is zero then return
36771         early.
36773 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36775         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
36777 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
36779         * sysdeps/aarch64/strchr.S: New file.
36781 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36783         [BZ #17022]
36784         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
36785         from arguments -2 or below.
36786         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
36787         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
36789 2014-06-18  Andreas Schwab  <schwab@suse.de>
36791         [BZ #17062]
36792         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
36793         of a bracket expr not to run off the end of the string.
36794         * posix/Makefile (tests): Add tst-fnmatch3.
36795         * posix/tst-fnmatch3.c: New file.
36797 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
36799         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
36800         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36801         [$(cross-compiling) = no]: Likewise.
36802         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36803         [$(cross-compiling) = no]: Likewise.
36805 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
36807         [BZ #17031]
36808         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
36809         double, adjusted for any remainder from the high double.
36810         * math/libm-test.inc (nearbyint): Add tests.
36811         (rint): Likewise.
36813 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36815         * nptl/sysdeps/powerpc/Makefile: Moved ...
36816         * sysdeps/powerpc/nptl/Makefile: ... here.
36817         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
36818         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
36819         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
36820         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
36821         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
36822         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
36823         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
36824         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
36825         * nptl/sysdeps/powerpc/tls.h: Moved ...
36826         * sysdeps/powerpc/nptl/tls.h: ... here.
36828 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
36830         [BZ #16681]
36831         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
36832         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
36833         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
36834         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
36835         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
36836         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
36837         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
36838         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
36839         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
36841 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
36843         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36845 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
36847         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
36848         defined operator.
36850         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
36851         $TIMEOUTFACTOR.
36853 2014-06-16  Florian Weimer  <fweimer@redhat.com>
36855         [BZ #17058]
36856         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
36857         non-executed part of the test.
36859 2014-06-16  Andreas Schwab  <schwab@suse.de>
36861         * string/bits/string2.h (strdup, strndup): Update feature guard.
36863 2014-06-14  David S. Miller  <davem@davemloft.net>
36865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36867 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
36869         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
36870         that was previously under [RESET_PID].
36871         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
36873         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
36874         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
36875         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
36876         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36877         (__libc_vfork): New strong alias.
36878         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
36880 2014-06-14 Andi Kleen  <ak@linux.intel.com>
36882         * sysdeps/generic/elide.h: New file.
36884 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
36886         * Makefile (installed-headers): Adjust path of pthread.h header.
36888 2014-06-13  Roland McGrath  <roland@hack.frob.com>
36890         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
36891         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
36892         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
36893         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
36895         * nptl/sysdeps/s390/Makefile: Moved ...
36896         * sysdeps/s390/nptl/Makefile: ... here.
36897         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
36898         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
36899         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
36900         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
36901         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
36902         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
36903         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
36904         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
36905         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
36906         * sysdeps/s390/nptl/pthreaddef.h: ... here.
36907         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
36908         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
36909         * nptl/sysdeps/s390/tls.h: Moved ...
36910         * sysdeps/s390/nptl/tls.h: ... here.
36912         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
36913         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
36915 2014-06-13  David S. Miller  <davem@davemloft.net>
36917         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
36918         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
36919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
36920         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
36921         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
36922         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
36923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
36924         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
36925         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
36926         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
36927         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
36928         Remove RESET_PID cpp guards.
36929         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
36930         Remove RESET_PID cpp guards.
36931         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
36933 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
36935         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
36936         __sp to uintptr_t.
36938 2014-06-13  Andi Kleen  <ak@linux.intel.com>
36940         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
36941         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
36942         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
36943         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
36944         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
36945         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
36946         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
36947         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
36948         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
36949         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
36950         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
36951         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
36952         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
36953         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
36954         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
36955         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
36956         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
36957         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
36958         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
36959         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
36961         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
36962         (pthread_rwlock_rdlock): Add elision.
36963         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
36964         (pthread_rwlock_wrlock): Add elision.
36965         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
36966         (pthread_rwlock_trywrlock): Add elision.
36967         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
36968         (pthread_rwlock_tryrdlock): Add elision.
36969         * nptl/pthread_rwlock_unlock.c: Include elide.h.
36970         (pthread_rwlock_tryrdlock): Add elision unlock.
36971         * nptl/sysdeps/pthread/pthread.h:
36972         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
36973         (PTHREAD_RWLOCK_INITIALIZER,
36974         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
36975         Handle new elision field.
36976         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
36977         * sysdeps/arm/nptl/bits/pthreadtypes.h
36978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36979         * sysdeps/sh/nptl/bits/pthreadtypes.h
36980         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36981         * sysdeps/tile/nptl/bits/pthreadtypes.h
36982         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36983         * sysdeps/a/nptl/bits/pthreadtypes.h
36984         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36985         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36986         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36987         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36988         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36989         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
36990         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36991         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36992         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36993         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36994         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36995         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36996         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36997         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36998         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
36999         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
37000         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37001         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
37002         (elision_init): Set try_xbegin to zero when no RTM.
37003         * sysdeps/x86/nptl/bits/pthreadtypes.h
37004         (pthread_rwlock_t): Change __pad1 to __rwelision.
37005         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
37007 2014-06-13  Andi Kleen  <ak@linux.intel.com>
37009         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
37010         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
37011         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
37012         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
37014 2014-06-13  Meador Inge  <meadori@codesourcery.com>
37016         [BZ #16996]
37017         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
37018         that the cached result has been set before returning it.
37020 2014-06-12  Roland McGrath  <roland@hack.frob.com>
37022         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
37023         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
37024         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
37025         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
37026         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
37027         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
37029         * nptl/sysdeps/sparc/Makefile: Moved ...
37030         * sysdeps/sparc/nptl/Makefile: ... here.
37031         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
37032         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
37033         * nptl/sysdeps/sparc/tls.h: Moved ...
37034         * sysdeps/sparc/nptl/tls.h: ... here.
37035         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
37036         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
37037         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
37038         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
37039         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
37040         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
37041         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
37042         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
37043         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
37044         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
37045         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
37046         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
37047         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
37048         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
37049         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
37050         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
37051         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
37052         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
37053         Update #include.
37054         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
37055         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
37056         Update #include.
37057         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
37058         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
37059         Update #include.
37060         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
37061         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
37062         Update #include.
37064         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37066         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
37067         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
37069         * sysdeps/pthread/posix-timer.h: Include <list.h>.
37070         (struct list_links): Type removed.
37071         (struct thread_node, struct timer_node): Replace struct list_links
37072         with struct list_head.
37073         (list_unlink_ip): Likewise.
37074         * sysdeps/pthread/timer_routines.c
37075         (timer_free_list, thread_free_list, thread_active_list): Likewise.
37076         (list_append, list_insbefore): Likewise.
37077         (list_init): Function removed.
37078         (thread_init, init_module): Use INIT_LIST_HEAD instead.
37079         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
37080         * sysdeps/pthread/Makefile: ... here, new file.
37082         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
37083         * sysdeps/nptl/Implies: ... here.
37084         * sysdeps/unix/sysv/linux/Implies: Add nptl.
37085         * nptl/sysdeps/pthread/list.h: Moved ...
37086         * include/list.h: ... here.
37087         * nptl/sysdeps/pthread/createthread.c: Moved ...
37088         * nptl/createthread.c: ... here.
37089         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
37090         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
37091         * nptl/pt-longjmp.c: ... here.
37092         * nptl/sysdeps/pthread/Makefile: Moved ...
37093         * sysdeps/nptl/Makefile: ... here.
37094         * nptl/sysdeps/pthread/Subdirs: Moved ...
37095         * sysdeps/nptl/Subdirs: ... here.
37096         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
37097         * sysdeps/nptl/aio_misc.h: ... here.
37098         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
37099         * sysdeps/nptl/bits/libc-lock.h: ... here.
37100         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
37101         * sysdeps/nptl/bits/libc-lockP.h: ... here.
37102         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
37103         * sysdeps/nptl/bits/stdio-lock.h: ... here.
37104         * nptl/sysdeps/pthread/configure: Moved ...
37105         * sysdeps/nptl/configure: ... here.
37106         * nptl/sysdeps/pthread/configure.ac: Moved ...
37107         * sysdeps/nptl/configure.ac: ... here.
37108         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
37109         * sysdeps/nptl/gai_misc.h: ... here.
37110         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
37111         * sysdeps/nptl/librt-cancellation.c: ... here.
37112         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
37113         * sysdeps/nptl/malloc-machine.h: ... here.
37114         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
37115         * sysdeps/nptl/pthread-functions.h: ... here.
37116         * nptl/sysdeps/pthread/pthread.h: Moved ...
37117         * sysdeps/nptl/pthread.h: ... here.
37118         * nptl/sysdeps/pthread/setxid.h: Moved ...
37119         * sysdeps/nptl/setxid.h: ... here.
37120         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
37121         * sysdeps/nptl/sigfillset.c: ... here.
37122         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
37123         * sysdeps/nptl/tcb-offsets.h: ... here.
37124         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
37125         * sysdeps/nptl/tst-mqueue8x.c: ... here.
37126         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
37127         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
37128         * nptl/sysdeps/pthread/allocalim.h: Moved ...
37129         * sysdeps/pthread/allocalim.h: ... here.
37130         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
37131         * sysdeps/pthread/bits/sigthread.h: ... here.
37132         * nptl/sysdeps/pthread/flockfile.c: Moved ...
37133         * sysdeps/pthread/flockfile.c: ... here.
37134         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
37135         * sysdeps/pthread/ftrylockfile.c: ... here.
37136         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
37137         * sysdeps/pthread/funlockfile.c: ... here.
37138         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
37139         * sysdeps/pthread/posix-timer.h: ... here.
37140         * nptl/sysdeps/pthread/timer_create.c: Moved ...
37141         * sysdeps/pthread/timer_create.c: ... here.
37142         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
37143         * sysdeps/pthread/timer_delete.c: ... here.
37144         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
37145         * sysdeps/pthread/timer_getoverr.c: ... here.
37146         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
37147         * sysdeps/pthread/timer_gettime.c: ... here.
37148         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
37149         * sysdeps/pthread/timer_routines.c: ... here.
37150         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
37151         * sysdeps/pthread/timer_settime.c: ... here.
37152         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
37153         * sysdeps/pthread/tst-timer.c: ... here.
37154         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
37155         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
37157         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
37158         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
37160         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
37161         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
37162         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
37163         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
37164         Update #include target.
37165         * nptl/sysdeps/i386/i686/Makefile: Moved ...
37166         * sysdeps/i386/i686/nptl/Makefile: ... here.
37167         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
37168         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
37169         Update #include target.
37170         * nptl/sysdeps/i386/i686/tls.h: Moved ...
37171         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
37172         * nptl/sysdeps/i386/Makefile: Moved ...
37173         * sysdeps/i386/nptl/Makefile: ... here.
37174         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
37175         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
37176         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
37177         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
37178         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
37179         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
37180         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
37181         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
37182         * sysdeps/i386/nptl/pthreaddef.h: ... here.
37183         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
37184         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
37185         * nptl/sysdeps/i386/tls.h: Moved ...
37186         * sysdeps/i386/nptl/tls.h: ... here.
37188         * sysdeps/sh/Makefile [$(subdir) = csu]
37189         (gen-as-const-headers): Add tcb-offsets.sym.
37190         * nptl/sysdeps/sh/Makefile: File removed.
37191         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
37192         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
37193         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
37194         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
37195         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
37196         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
37197         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
37198         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
37199         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
37200         * sysdeps/sh/nptl/pthreaddef.h: ... here.
37201         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
37202         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
37203         * nptl/sysdeps/sh/tls.h: Moved ...
37204         * sysdeps/sh/nptl/tls.h: ... here.
37205         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
37206         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
37207         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
37208         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
37209         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
37210         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
37211         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
37212         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
37213         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
37214         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
37215         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
37216         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
37217         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
37218         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
37219         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
37220         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
37221         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
37222         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
37223         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
37224         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
37225         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
37226         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
37227         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
37228         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
37229         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
37230         Moved ...
37231         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
37232         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
37233         Moved ...
37234         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
37235         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
37236         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
37237         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
37238         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
37239         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
37240         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
37241         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
37242         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
37243         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
37244         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
37245         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
37246         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
37247         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
37248         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
37249         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
37250         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
37251         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
37252         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
37254 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
37256         * posix/spawn_faction_addopen.c: Include string.h.
37258 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37260         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
37261         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
37262         * nptl/sysdeps/x86_64/Makefile: Moved ...
37263         * sysdeps/x86_64/nptl/Makefile: ... here.
37264         * nptl/sysdeps/x86_64/configure: Moved ...
37265         * sysdeps/x86_64/nptl/configure: ... here.
37266         * nptl/sysdeps/x86_64/configure.ac: Moved ...
37267         * sysdeps/x86_64/nptl/configure.ac: ... here.
37268         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
37269         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
37270         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
37271         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
37272         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
37273         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
37274         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
37275         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
37276         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
37277         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
37278         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
37279         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
37280         * nptl/sysdeps/x86_64/tls.h: Moved ...
37281         * sysdeps/x86_64/nptl/tls.h: ... here.
37282         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
37283         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
37284         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
37285         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
37287         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
37289 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37293 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
37295         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
37296         type.
37297         [POSIX] (off_t): Likewise.
37298         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
37299         [POSIX] (S_ISBLK): Require macro.
37300         [POSIX] (S_ISCHR): Likewise.
37301         [POSIX] (S_ISDIR): Likewise.
37302         [POSIX] (S_ISFIFO): Likewise.
37303         [POSIX] (S_ISREG): Likewise.
37304         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
37305         optional-macro.
37306         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
37307         type.
37308         [POSIX] (time_t): Likewise.
37309         [POSIX] (timer_t): Likewise.
37311 2014-06-11  Florian Weimer  <fweimer@redhat.com>
37313         [BZ #17048]
37314         * posix/spawn_int.h (struct __spawn_action): Make the path string
37315         non-const to support deallocation.
37316         * posix/spawn_faction_addopen.c
37317         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
37318         * posix/spawn_faction_destroy.c
37319         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
37320         path in all spawn_do_open actions.
37321         * posix/tst-spawn.c (do_test): Exercise the copy operation in
37322         posix_spawn_file_actions_addopen.
37324 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
37326         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
37327         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
37328         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
37329         conditional code always true.
37330         (__libc_vfork): New alias.
37332 2014-06-11  Roland McGrath  <roland@hack.frob.com>
37334         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37335         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
37337         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
37339         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37340         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
37342         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
37343         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
37345         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37346         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
37348 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37350         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
37351         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
37352         multiarch strcmp for PPC64.
37353         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
37354         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
37355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
37356         multiarch optimizations.
37357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37358         (__libc_ifunc_impl_list): Likewise.
37360 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37362         * benchtests/scripts/validate_benchout.py: New script.
37363         * benchtests/Makefile (bench-func): Call it.
37364         * benchtests/scripts/benchout.schema.json: New file.
37366 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
37368         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
37369         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
37370         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
37371         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
37372         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
37373         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
37374         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
37375         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
37376         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
37377         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
37378         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
37379         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
37380         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
37381         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
37382         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
37383         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
37384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
37385         Moved ...
37386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
37387         ... here.
37388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
37389         Moved ...
37390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
37391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
37392         Moved ...
37393         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
37394         ... here.
37395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
37396         Moved ...
37397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
37398         ... here.
37399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
37400         Moved ...
37401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
37402         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
37403         Moved ...
37404         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
37405         ... here.
37406         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
37407         Moved ...
37408         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
37409         ... here.
37410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
37411         Moved ...
37412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
37413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
37414         Moved ...
37415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
37416         ... here.
37417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
37418         Moved ...
37419         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
37420         ... here.
37421         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
37422         Moved ...
37423         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
37424         ... here.
37425         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
37426         Moved ...
37427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
37428         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
37429         Moved ...
37430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
37431         ... here.
37432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
37433         Moved ...
37434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
37435         ... here.
37436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
37437         Moved ...
37438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
37439         ... here.
37440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
37441         Moved ...
37442         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
37443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
37444         Moved ...
37445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
37446         ... here.
37447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
37448         Moved ...
37449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
37450         ... here.
37451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
37452         Moved ...
37453         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
37454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
37455         Moved ...
37456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
37457         ... here.
37458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
37459         Moved ...
37460         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
37461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
37462         Moved ...
37463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
37464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
37465         Moved ...
37466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
37467         ... here.
37468         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
37469         Moved ...
37470         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
37471         ... here.
37472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
37473         Moved ...
37474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
37475         ... here.
37476         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
37477         Moved ...
37478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
37479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
37480         Moved ...
37481         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
37482         ... here.
37483         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
37484         Moved ...
37485         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
37486         ... here.
37487         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
37488         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
37489         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
37490         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
37491         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
37492         Moved ...
37493         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
37494         ... here.
37495         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
37496         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
37497         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
37498         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
37499         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
37500         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
37501         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
37502         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
37503         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
37504         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
37505         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
37506         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
37507         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
37508         Moved ...
37509         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
37510         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
37511         Moved ...
37512         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
37513         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
37514         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
37515         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
37516         Moved ...
37517         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
37518         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
37519         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
37520         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
37521         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
37522         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
37523         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
37525 2014-06-10  Wilco  <wdijkstr@arm.com>
37527         * math/test-fenv-return.c: New file.
37528         * math/Makefile: Add new test test-fenv-return.
37530 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
37532         [BZ #17042]
37533         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
37534         when x - 1 is zero.
37535         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
37536         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
37537         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
37538         0.0L for an argument of 1.0L.
37539         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
37540         Likewise.
37541         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
37542         value when x - 1 is zero.
37543         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
37544         * sysdeps/i386/fpu/libm-test-ulps: Update.
37545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37547 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
37549         [BZ #15119]
37550         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
37552 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37554         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
37555         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
37557 2014-06-09  Roland McGrath  <roland@hack.frob.com>
37559         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37560         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
37562         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37563         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
37565         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37566         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
37568         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
37569         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
37571         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
37572         if not already defined.
37573         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
37574         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
37575         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
37576         (TLS_INIT_TP): Use it.
37577         (TLS_DEFINE_INIT_TP): New macro.
37578         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
37580 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
37582         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
37583         constant.
37584         [POSIX] (IXANY): Likewise.
37585         [POSIX] (OLCUC): Likewise.
37586         [POSIX || POSIX2008] (CBAUD): Do not allow.
37587         [POSIX || POSIX2008] (DEFECHO): Likewise.
37588         [POSIX || POSIX2008] (ECHOCTL): Likewise.
37589         [POSIX || POSIX2008] (ECHOKE): Likewise.
37590         [POSIX || POSIX2008] (ECHOPRT): Likewise.
37591         [POSIX || POSIX2008] (EXTA): Likewise.
37592         [POSIX || POSIX2008] (EXTB): Likewise.
37593         [POSIX || POSIX2008] (FLUSHO): Likewise.
37594         [POSIX || POSIX2008] (LOBLK): Likewise.
37595         [POSIX || POSIX2008] (PENDIN): Likewise.
37596         [POSIX || POSIX2008] (SWTCH): Likewise.
37597         [POSIX || POSIX2008] (VDISCARD): Likewise.
37598         [POSIX || POSIX2008] (VDSUSP): Likewise.
37599         [POSIX || POSIX2008] (VLNEXT): Likewise.
37600         [POSIX || POSIX2008] (VREPRINT): Likewise.
37601         [POSIX || POSIX2008] (VSTATUS): Likewise.
37602         [POSIX || POSIX2008] (VWERASE): Likewise.
37603         (B*): Change to B[0123456789]*.
37604         * conform/data/time.h-data [POSIX || UNIX98]
37605         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
37606         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
37607         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
37608         [POSIX] (tm_*): Do not allow.
37610 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
37612         * Makefile (install): Don't set LANGUAGE.
37613         * Makefile.in (install): Likewise.
37614         * assert/Makefile (test-assert-ENV): Remove variable.
37615         (test-assert-perr-ENV): Likewise.
37616         * elf/Makefile (neededtest4-ENV): Likewise.
37617         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37618         [$(cross-compiling) = no]: Don't set LANGUAGE.
37619         * io/ftwtest-sh (LANG): Remove variable.
37620         * libio/Makefile (tst-widetext-ENV): Likewise.
37621         * manual/install.texi (Running make install): Don't refer to
37622         environment settings for make install.
37623         * INSTALL: Regenerated.
37624         * nptl/tst-tls6.sh: Don't set LANG.
37625         * posix/globtest.sh (LANG): Remove variable.
37626         * string/Makefile (tester-ENV): Likewise.
37627         (inl-tester-ENV): Likewise.
37628         (noinl-tester-ENV): Likewise.
37629         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37630         [$(cross-compiling) = no]: Don't set LANGUAGE.
37631         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
37632         without explicit environment settings.
37634 2014-06-06  Roland McGrath  <roland@hack.frob.com>
37636         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
37637         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
37638         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
37639         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
37641 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
37643         * crypt/crypt-private.h [DOS]: Add some includes taken from the
37644         other files in the crypt directory.
37645         * crypt/crypt.c: Remove duplicate includes.
37646         * crypt/crypt-entry.c: Likewise.
37647         * crypt/crypt_util.c: Likewise.
37649 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
37651         * Makeconfig (run-program-env): New variable.
37652         (run-program-prefix-before-env): Likewise.
37653         (run-program-prefix-after-env): Likewise.
37654         (run-program-prefix): Define in terms of new variables.
37655         (built-program-cmd-before-env): New variable.
37656         (built-program-cmd-after-env): Likewise.
37657         (built-program-cmd): Define in terms of new variables.
37658         (test-program-prefix-before-env): New variable.
37659         (test-program-prefix-after-env): Likewise.
37660         (test-program-prefix): Define in terms of new variables.
37661         (test-program-cmd-before-env): New variable.
37662         (test-program-cmd-after-env): Likewise.
37663         (test-program-cmd): Define in terms of new variables.
37664         * Rules (make-test-out): Use $(run-program-env).
37665         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
37666         (help): Do not mention environment variables.  Mention
37667         --timeoutfactor option.
37668         (timeoutfactor): New variable.
37669         (blacklist_exports): Remove function.
37670         (exports): Remove variable.
37671         (command): Do not include ${exports}.
37672         * manual/install.texi (Configuring and compiling): Do not mention
37673         test wrappers preserving environment variables.  Mention that last
37674         assignment to a variable must take precedence.
37675         * INSTALL: Regenerated.
37676         * benchtests/Makefile (run-bench): Use $(run-program-env).
37677         * catgets/Makefile ($(objpfx)test1.cat): Use
37678         $(built-program-cmd-before-env), $(run-program-env) and
37679         $(built-program-cmd-after-env).
37680         ($(objpfx)test2.cat): Do not specify environment variables
37681         explicitly.
37682         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
37683         $(run-program-env) and $(built-program-cmd-after-env).
37684         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
37685         $(run-program-env) and $(test-program-cmd-after-env).
37686         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
37687         explicitly.
37688         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
37689         run_program_env and test_program_cmd_after_env arguments.
37690         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
37691         * elf/tst-pathopt.sh: Use run_program_env argument.
37692         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
37693         $(test-wrapper-env) and $(run-program-env).
37694         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
37695         run_program_env arguments.
37696         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
37697         * intl/Makefile ($(objpfx)tst-gettext.out): Use
37698         $(test-program-prefix-before-env), $(run-program-env) and
37699         $(test-program-prefix-after-env).
37700         ($(objpfx)tst-gettext2.out): Likewise.
37701         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
37702         run_program_env and test_program_prefix_after_env arguments.
37703         * intl/tst-gettext2.sh: Likewise.
37704         * intl/tst-gettext4.sh: Do not set environment variables
37705         explicitly.
37706         * intl/tst-gettext6.sh: Likewise.
37707         * intl/tst-translit.sh: Likewise.
37708         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
37709         $(test-program-prefix-before-env), $(run-program-env) and
37710         $(test-program-prefix-after-env).
37711         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
37712         run_program_env and test_program_prefix_after_env arguments.
37713         * math/Makefile (run-regen-ulps): Use $(run-program-env).
37714         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
37715         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
37716         explicitly with each use of ${test_wrapper_env}.
37717         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
37718         $(test-program-prefix-before-env), $(run-program-env) and
37719         $(test-program-prefix-after-env).
37720         * posix/tst-getconf.sh: Do not set environment variables
37721         explicitly.
37722         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
37723         run_program_env and test_program_prefix_after_env arguments.
37724         * stdio-common/tst-printf.sh: Do not set environment variables
37725         explicitly.
37726         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
37727         $(test-program-prefix-before-env), $(run-program-env) and
37728         $(test-program-prefix-after-env).
37729         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
37730         run_program_env and test_program_prefix_after_env arguments.
37731         Split $test calls into $test_pre and $test.
37732         * timezone/Makefile (build-testdata): Use
37733         $(built-program-cmd-before-env), $(run-program-env) and
37734         $(built-program-cmd-after-env).
37736 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37738         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
37739         strlen for non SHARED builds.
37741 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37743         * nptl/allocatestack.c (check_list): Inlined function...
37744         (__reclaim_stacks): ... here.
37746 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37748         [BZ #15698]
37749         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
37750         memory overrun.
37752 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
37754         * Rules (make-test-out): Include
37755         LOCPATH=$(common-objpfx)localedata in default environment.
37756         * debug/Makefile (tst-chk1-ENV): Remove variable.
37757         (tst-chk2-ENV): Likewise.
37758         (tst-chk3-ENV): Likewise.
37759         (tst-chk4-ENV): Likewise.
37760         (tst-chk5-ENV): Likewise.
37761         (tst-chk6-ENV): Likewise.
37762         (tst-lfschk1-ENV): Likewise.
37763         (tst-lfschk2-ENV): Likewise.
37764         (tst-lfschk3-ENV): Likewise.
37765         (tst-lfschk4-ENV): Likewise.
37766         (tst-lfschk5-ENV): Likewise.
37767         (tst-lfschk6-ENV): Likewise.
37768         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
37769         (tst-iconv7-ENV): Likewise.
37770         * intl/Makefile (LOCPATH-ENV): Likewise.
37771         (tst-codeset-ENV): Likewise.
37772         (tst-gettext3-ENV): Likewise.
37773         (tst-gettext5-ENV): Likewise.
37774         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
37775         (tst-fopenloc-ENV): Likewise.
37776         (tst-fgetws-ENV): Remove variable.
37777         (tst-ungetwc1-ENV): Likewise.
37778         (tst-ungetwc2-ENV): Likewise.
37779         (bug-ungetwc2-ENV): Likewise.
37780         (tst-swscanf-ENV): Likewise.
37781         (bug-ftell-ENV): Likewise.
37782         (tst-fgetwc-ENV): Likewise.
37783         (tst-fseek-ENV): Likewise.
37784         (tst-ftell-partial-wide-ENV): Likewise.
37785         (tst-ftell-active-handler-ENV): Likewise.
37786         (tst-ftell-append-ENV): Likewise.
37787         * posix/Makefile (tst-fnmatch-ENV): Likewise.
37788         (tst-regexloc-ENV): Likewise.
37789         (bug-regex1-ENV): Likewise.
37790         (tst-regex-ENV): Likewise.
37791         (tst-regex2-ENV): Likewise.
37792         (bug-regex5-ENV): Likewise.
37793         (bug-regex6-ENV): Likewise.
37794         (bug-regex17-ENV): Likewise.
37795         (bug-regex18-ENV): Likewise.
37796         (bug-regex19-ENV): Likewise.
37797         (bug-regex20-ENV): Likewise.
37798         (bug-regex22-ENV): Likewise.
37799         (bug-regex23-ENV): Likewise.
37800         (bug-regex25-ENV): Likewise.
37801         (bug-regex26-ENV): Likewise.
37802         (bug-regex30-ENV): Likewise.
37803         (bug-regex32-ENV): Likewise.
37804         (bug-regex33-ENV): Likewise.
37805         (bug-regex34-ENV): Likewise.
37806         (bug-regex35-ENV): Likewise.
37807         (tst-rxspencer-ENV): Likewise.
37808         (tst-rxspencer-no-utf8-ENV): Likewise.
37809         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
37810         (tst-sscanf-ENV): Likewise.
37811         (tst-swprintf-ENV): Likewise.
37812         (tst-swscanf-ENV): Likewise.
37813         (test-vfprintf-ENV): Likewise.
37814         (scanf13-ENV): Likewise.
37815         (bug14-ENV): Likewise.
37816         (tst-grouping-ENV): Likewise.
37817         * stdlib/Makefile (tst-strtod-ENV): Likewise.
37818         (tst-strtod3-ENV): Likewise.
37819         (tst-strtod4-ENV): Likewise.
37820         (tst-strtod5-ENV): Likewise.
37821         (testmb2-ENV): Likewise./
37822         * string/Makefile (tst-strxfrm-ENV): Likewise.
37823         (tst-strxfrm2-ENV): Likewise.
37824         (bug-strcoll1-ENV): Likewise.
37825         (test-strcasecmp-ENV): Likewise.
37826         (test-strncasecmp-ENV): Likewise.
37827         * time/Makefile (tst-strptime-ENV): Likewise.
37828         (tst-ftime_l-ENV): Likewise.
37829         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
37830         (tst-mbrtowc-ENV): Likewise.
37831         (tst-wcrtomb-ENV): Likewise.
37832         (tst-mbrtowc2-ENV): Likewise.
37833         (tst-c16c32-1-ENV): Likewise.
37834         (tst-mbsnrtowcs-ENV): Likewise.
37836 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
37838         * manual/resource.texi (How to get information about the memory
37839         subsystem?): Fix typo.
37840         Reported by Peon de la Parra Ivan <peon@keba.com>
37842 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
37844         [BZ #16882]
37845         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
37846         (pthread_spin_lock): Branch out of spin loop to proper location.
37847         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
37848         (pthread_spin_lock): Likewise.
37850         * nptl/tst-spin4.c: New test.
37851         * nptl/Makefile (tests): Add tst-spin4.
37853 2014-06-03  Andreas Schwab  <schwab@suse.de>
37855         [BZ #15946]
37856         * resolv/res_send.c (send_dg): Reload file descriptor after
37857         calling reopen.
37859 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
37861         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37863 2014-06-03  Richard Henderson  <rth@redhat.com>
37865         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
37866         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
37867         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
37868         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
37869         in the SAVE_PID block.
37870         (__libc_vfork): New alias.
37871         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
37873         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
37874         child in registers, not on the stack.  Remove RESET_PID conditionals.
37875         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
37877 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
37879         * sysdeps/aarch64/libm-test-ulps: Regenerate.
37881 2014-06-03  Wilco  <wdijkstr@arm.com>
37883         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
37884         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
37885         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37886         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
37887         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
37888         Likewise.
37890 2014-06-03  Wilco  <wdijkstr@arm.com>
37892         * sysdeps/aarch64/fpu/math_private.h
37893         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
37894         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
37895         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
37896         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
37897         Fix declarations.
37899 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
37901         * crypt/crypt-private.h: Include ufc-crypt.h.
37902         (__b64_from_24bit): Declare extern.
37903         * crypt/crypt_util.c(__b64_from_24bit): New function.
37904         (b64t): New static const variable.
37905         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
37906         (b64t): Remove variable.
37907         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
37908         * crypt/sha256-crypt.c: Include crypt-private.h.
37909         (b64t): Remove variable.
37910         (__sha256_crypt_r): Remove b64_from_24bit and replace
37911         with __b64_from_24bit.
37912         * crypt/sha512-crypt.c: Likewise.
37914 2014-06-02  Roland McGrath  <roland@hack.frob.com>
37916         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
37917         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
37918         Label the code __libc_vfork rather than __vfork.
37919         [!NOT_IN_libc] (vfork): Define as weak alias.
37920         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
37921         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
37922         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
37924 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37926         * malloc/malloc.c (malloc_info): Fix format specifier for
37927         n_mmaps.
37929 2014-06-02  Wilco  <wdijkstr@arm.com>
37931         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
37932         FPCR write.
37934 2014-06-02  Wilco  <wdijkstr@arm.com>
37936         [BZ #17009]
37937         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
37938         Rewrite to reduce FPCR/FPSR accesses.
37940 2014-06-01  David S. Miller  <davem@davemloft.net>
37942         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37944 2014-05-31  David S. Miller  <davem@davemloft.net>
37946         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
37947         to occur in round to nearest mode when |x| >= 2.0
37949 2014-05-30  Richard Henderson  <rth@twiddle.net>
37951         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
37952         (PSEUDO_RET_NOERRNO): Remove.
37953         (ret): Don't redefine.
37954         (ret_NOERRNO): Define in terms of ret.
37955         (ret_ERRVAL): Likewise.
37957         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
37958         use of PSEUDO_RET; perform the error check directly.
37960 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
37962         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
37963         with __int128_t.
37965 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37967         * malloc/malloc (malloc_info): Fix formatting.
37969 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37970             Roland McGrath  <roland@hack.frob.com>
37972         * malloc/malloc (malloc_info): Also print mmapped statistics.
37974 2014-05-30  Roland McGrath  <roland@hack.frob.com>
37976         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
37977         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
37979 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
37981         * malloc/malloc.c (malloc_info): Inline mi_arena.
37983 2014-05-29  Richard Henderson  <rth@twiddle.net>
37985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
37986         Remove comma before expanding ASM_ARGS_##nr.
37987         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
37988         Make _x0 a strict output; make _x8 a strict input; adjust expansion
37989         of ASM_ARGS_##nr.
37990         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
37991         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
37992         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
37993         (ASM_ARGS_1): Add leading comma.
37995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
37996         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
37997         to __errno_location.
37998         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
37999         Remove the expected plt for __errno_location.
38001         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38002         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
38003         call to __read_tp.
38005         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38006         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
38007         it and break it down.
38008         (DOCARGS_0, DOCARGS_1): Do nothing.
38009         (DOCARGS_2): Update to store into the new stack frame.
38010         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
38011         (UNDOCARGS_1): Update to restore from the new stack frame.
38012         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
38013         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
38015         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38016         (SINGLE_THREAD_P): New parameter for result regno.
38017         (PSEUDO): Update to match; use cbz instead of beq.
38019         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38020         Use ENTRY to define the _nocancel entry point.  Share the syscall
38021         and syscall error check paths with the cancel path.
38022         (PSEUDO_END): New.
38024         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
38025         whitespace; tabs before and after asm mnemonics.
38027 2014-05-29  Eric Wong  <normalperson@yhbt.net>
38029         [BZ #15132]
38030         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
38031         Call fstat64 or stat64 internally, depending on arguments passed.
38032         Replace stat buffer argument with file descriptor argument.
38033         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
38034         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38035         Pass fd to __internal_statvfs instead of calling fstat64.
38036         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
38037         Pass fd to __internal_statvfs64 instead of calling fstat64.
38038         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
38039         Pass -1 to __internal_statvfs instead of calling stat64.
38040         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
38041         Pass -1 to __internal_statvfs64 instead of calling stat64.
38043 2014-05-28  Roland McGrath  <roland@hack.frob.com>
38045         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
38046         that was previously under [RESET_PID].
38047         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
38049         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
38050         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
38052 2014-05-27  Roland McGrath  <roland@hack.frob.com>
38054         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
38056         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
38057         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
38059 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
38061         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
38063 2014-05-27  Andreas Schwab  <schwab@suse.de>
38065         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
38066         TLS_INIT_TP macro.
38067         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
38068         * elf/rtld.c (init_tls, dl_main): Likewise.
38069         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
38070         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
38071         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
38072         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
38073         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
38074         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
38075         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
38076         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
38077         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
38078         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
38079         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
38080         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
38081         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
38082         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
38083         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
38084         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
38085         * sysdeps/generic/tls.h: Update description.
38087 2014-05-27  Will Newton  <will.newton@linaro.org>
38089         [BZ #16990]
38090         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
38091         and restore r2 rather than just restoring.
38093 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38095         [BZ #16724]
38096         * libio/tst-ftell-append.c: New test case.
38097         * libio/Makefile (tests): Add test case.
38098         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
38099         append mode.
38100         * libio/wfileops.c (do_ftell_wide): Likewise.
38102 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38106         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
38107         ...
38108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
38109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
38110         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
38111         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
38112         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
38113         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
38114         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
38115         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
38116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
38117         Moved ...
38118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
38119         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
38120         Moved ...
38121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
38122         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
38123         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
38124         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
38125         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
38126         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
38127         ...
38128         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
38129         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
38130         Moved ...
38131         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
38132         here.
38133         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
38134         ...
38135         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
38136         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
38137         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
38139         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
38140         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
38141         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
38142         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
38144         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
38145         merge into ...
38146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
38147         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
38148         ...
38149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
38150         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
38151         ...
38152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
38153         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
38154         Moved ...
38155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
38156         here.
38157         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
38158         Moved ...
38159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
38160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
38161         Moved ...
38162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
38164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
38165         conditional [RESET_PID].
38166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
38167         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
38168         removed.
38169         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
38170         removed.
38172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
38173         <tcb-offsets.h>.
38174         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
38175         (__libc_vfork): New strong alias.
38176         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
38177         removed.
38178         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
38179         Removed.
38181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
38182         <tcb-offsets.h>.
38183         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
38184         (__libc_vfork): New strong alias.
38185         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
38186         removed.
38187         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
38188         removed.
38190 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
38192         * malloc/malloc.c (mi_arena): New function.
38193         (malloc_info): Remove nested function mi_arena. Call non-nosted
38194         function mi_arena.
38196 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38198         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
38199         by insrwi.
38200         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
38201         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
38202         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
38203         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
38204         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
38205         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
38206         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
38208 2014-05-26  Andreas Schwab  <schwab@suse.de>
38210         [BZ #16984]
38211         * locale/programs/repertoire.c (repertoire_read): Add slash
38212         between I18NPATH element and file name.
38213         * locale/programs/locfile.c (locfile_read): Likewise.
38215 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38217         * nptl/pthread_mutexattr_settype.c
38218         (__pthread_mutexattr_settype):
38219         Disable lock elision for PTHREAD_MUTEX_NORMAL.
38221 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
38223         * nptl/tst-mutex5 (do_test):
38224         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
38226 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38228         * benchtests/README: Document 'init' directive.
38229         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
38230         BENCH_INIT.
38231         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
38232         (parse_file): Recognize 'init' directive.
38234 2014-05-26  Kyle McMartin  <kyle@redhat.com>
38236         [BZ #16796]
38237         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
38238         alignment of struct pthread.
38240 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38242         [BZ #16878]
38243         * nscd/netgroupcache.c (addgetnetgrentX): Look for
38244         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38245         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
38246         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
38248 2014-05-25  Richard Henderson  <rth@twiddle.net>
38250         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38251         (SINGLE_THREAD_P_PIC): Remove.
38252         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
38253         (SINGLE_THREAD_P_PIC): Remove.
38255         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
38256         branch to syscall error ...
38257         (PSEUDO): ... here.
38258         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
38259         from __local_syscall_error to .Lsyscall_error.
38260         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
38261         (SYSCALL_ERROR): Update label name.
38263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38264         Do not use DOARGS/UNDOARGS.
38265         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
38266         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
38267         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
38268         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
38269         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
38271         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
38272         block comment.
38274         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
38275         define if !NOT_IN_libc.
38276         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38277         define with non-default symbol versions.
38279 2014-05-23  Richard Henderson  <rth@twiddle.net>
38281         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
38282         (vfork, __vfork): Define via compat_symbol.
38284         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
38285         [!HAVE_IFUNC] (vfork_compat): Remove.
38286         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
38288 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38290         [BZ #16978]
38291         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
38292         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
38293         variable.
38295 2014-05-23  Richard Henderson  <rth@twiddle.net>
38297         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
38298         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
38299         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
38300         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
38302         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
38303         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
38304         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
38305         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
38306         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
38307         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
38308         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
38309         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
38310         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
38311         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
38312         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
38313         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
38314         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
38315         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
38316         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
38317         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
38318         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
38319         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
38320         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
38321         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
38322         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
38323         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
38324         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
38325         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
38326         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
38327         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
38328         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
38329         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
38330         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
38331         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
38332         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
38333         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
38334         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
38335         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
38336         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
38337         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
38338         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
38339         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
38340         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
38341         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
38342         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
38343         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
38344         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
38345         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
38346         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
38347         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
38348         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
38349         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
38350         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
38351         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
38352         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
38353         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
38354         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
38355         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
38356         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
38357         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
38359         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
38360         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
38361         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
38362         before exiting on error.
38363         (__libc_vfork): New strong alias.
38364         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
38365         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
38367         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
38368         that was previously under [RESET_PID].
38369         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
38371         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
38373 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
38375         [BZ #16977]
38376         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
38377         value when x - 1 is zero.
38378         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
38379         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
38380         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
38381         0.0L for an argument of 1.0L.
38382         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
38383         Likewise.
38384         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
38385         value when x - 1 is zero.
38386         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
38387         * sysdeps/i386/fpu/libm-test-ulps: Update.
38388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38390 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
38392         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
38393         alphasort and versionsort.
38395 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38397         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
38398         macro.
38399         [copysignf]: Likewise.
38401 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38403         * crypt/md5-crypt.c: Fix formatting.
38405 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
38407         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
38408         (b64_from_24bit): New function.
38410 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38412         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
38413         libc_hidden_builtin_def to ifunc.
38414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38415         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
38417 2014-05-21  Roland McGrath  <roland@hack.frob.com>
38419         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
38420         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
38422 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
38424         * nscd/Depend (linuxthreads): Remove.
38425         (nptl): Add.
38426         * resolv/Depend (linuxthreads): Remove.
38427         * rt/Depend (linuxthreads): Remove.
38429         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
38430         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
38431         $(common-objpfx)elf/.
38432         (link-libc-before-gnulib): Likewise.
38433         (elfobjdir): Remove variable.
38434         * Makefile (install): Use $(elf-objpfx) instead of
38435         $(common-objpfx)elf/.
38436         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
38437         $(elfobjdir)/.
38438         (link-libc-deps): Likewise.
38439         ($(common-objpfx)libc.so): Likewise.
38440         ($(common-objpfx)linkobj/libc.so): Likewise.
38441         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
38442         instead of $(common-objpfx)elf/.
38443         (symbolic-link-list): Likewise.
38444         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
38445         [$(cross-compiling) = no]: Likewise.
38446         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
38447         $(elfobjdir)/.
38448         (static-gnulib-arch): Likewise.
38449         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
38450         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
38451         $(common-objpfx)elf/.
38453 2014-05-21  Richard Henderson  <rth@redhat.com>
38455         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
38456         (SINGLE_THREAD_P): Use the correct width load.  Fold
38457         into the ldr offset.
38459         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
38460         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
38462 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
38464         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
38465         (libgcc_s_resume): Use __attribute_used__.
38466         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
38467         Likewise.
38469 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38471         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
38472         optimization when used with float constants.
38474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38476 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
38478         [BZ #16915]
38479         * locale/nl_langinfo_l.c: Make direct reference to every
38480         _nl_current_CATEGORY symbol.
38481         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
38482         (tests-static): Add tst-langinfo-static.
38483         (tests-special): Add tst-langinfo-static.out.
38484         ($(objpfx)tst-langinfo.out): Redirect output.
38485         ($(objpfx)tst-langinfo-static.out): New.
38486         * localedata/tst-langinfo.sh: Send output to stdout.
38487         * localedata/tst-langinfo-static.c: New file.
38489         [BZ #16965]
38490         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
38491         when the shift amount is modulo the limb size.
38493 2014-05-20  Richard Henderson  <rth@redhat.com>
38495         [BZ #16967]
38496         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
38497         Change type of sa_flags from unsigned int to int.
38499         [BZ #16966]
38500         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
38502         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
38504 2014-05-20  Will Newton  <will.newton@linaro.org>
38506         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
38507         Test the return value of the system call in the nocancel case.
38509 2014-05-20  Will Newton  <will.newton@linaro.org>
38510             Yvan Roux  <yvan.roux@linaro.org>
38512         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
38513         #include of asm/ptrace.h.
38514         (PTRACE_GET_THREAD_AREA): Remove #undef.
38515         (PTRACE_GETHBPREGS): Likewise.
38516         (PTRACE_SETHBPREGS): Likewise.
38517         (struct user_regs_struct): New structure.
38518         (struct user_fpsimd_struct): New structure.
38519         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
38520         #include of asm/ptrace.h and second #include of sys/user.h.
38521         (PTRACE_GET_THREAD_AREA): Remove #undef.
38522         (PTRACE_GETHBPREGS): Likewise.
38523         (PTRACE_SETHBPREGS): Likewise.
38524         (ELF_NGREG): Use new struct user_regs_struct.
38525         (elf_fpregset_t): Use new struct user_fpsimd_struct.
38527 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38529         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
38530         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
38532 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
38534         [BZ #16958]
38535         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
38536         membar to avoid block loads/stores to overlap previous stores.
38538 2014-05-17  Richard Henderson  <rth@redhat.com>
38540         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
38541         Create the __##syscall_name##_nocancel entry point.
38542         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
38543         Remove; let the sysdep-cancel.h code create it.
38545 2014-05-17  David S. Miller  <davem@davemloft.net>
38547         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
38548         Protect with __USE_GNU.
38549         (TIOCSET_TEMPT): Likewise.
38550         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
38551         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
38552         these are already provided in bits/ioctl-types.h
38554 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38556         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
38557         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
38559         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
38560         Use wait4 regardless of [__NR_waitpid].
38562 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
38564         PR libgcc/60166
38565         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
38566         (_FP_NANSIGN_Q): Set the quiet bit.
38568 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
38570         * benchtests/Makefile
38571         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
38572         not $(common-objpfx)math/libm.so.
38573         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
38574         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
38575         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
38576         $(common-objpfx)dlfcn/libdl.so.
38577         ($(objpfx)tst-audit8): Depend on $(libm), not
38578         $(common-objpfx)math/libm.so.
38579         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
38580         not $(common-objpfx)dlfcn/libdl.so.
38581         * math/Makefile
38582         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
38583         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
38584         [$(build-shared) = yes].
38585         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
38586         $(common-objpfx)nptl/libpthread.so.
38587         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
38588         $(common-objpfx)math/libm.so$(libm.so-version) or
38589         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
38590         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
38591         $(common-objpfx)dlfcn/libdl.so.
38592         * setjmp/Makefile (link-libm): Remove variable.
38593         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
38594         * stdio-common/Makefile (link-libm): Remove variable.
38595         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
38596         * stdlib/Makefile (link-libm): Remove variable.
38597         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
38598         ($(objpfx)tst-strtod-round): Likewise.
38599         ($(objpfx)tst-tininess): Likewise.
38600         ($(objpfx)tst-strtod-underflow): Likewise.
38601         ($(objpfx)tst-strtod6): Likewise.
38602         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
38603         $(libdl), not $(common-objpfx)nptl/libpthread.so and
38604         $(common-objpfx)dlfcn/libdl.so.
38606 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38608         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
38609         BSD terminal modes definitions.
38611 2014-05-16  Roland McGrath  <roland@hack.frob.com>
38613         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
38614         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
38616         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
38617         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
38618         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
38619         Don't do #include_next.
38620         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
38621         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
38622         Don't do #include_next.
38623         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
38624         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
38625         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
38626         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
38628 2014-05-16  Allan McRae  <allan@archlinux.org>
38630         * po/sv.po: Update Swedish translation from translation project.
38632         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
38633         in sed expression.
38635 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
38637         [BZ #16917]
38638         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
38639         errno if the TIOCGPTN ioctl fails with an error different than
38640         EINVAL.
38641         * login/tst-ptsname.c: New file.
38642         * login/Makefile (tests): Add tst-ptsname.
38644         [BZ #16943]
38645         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
38646         and prlimit64.
38648 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38650         [BZ #16849]
38651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
38652         herrno to return EAI_AGAIN.
38654 2014-05-14  Roland McGrath  <roland@hack.frob.com>
38656         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
38657         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
38658         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
38659         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
38660         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
38661         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
38662         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
38663         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
38664         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
38665         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
38666         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
38667         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
38668         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
38669         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
38670         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
38671         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
38672         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
38673         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
38674         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
38675         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
38676         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
38677         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
38678         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
38679         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
38680         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
38681         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
38682         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
38683         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
38684         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
38685         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
38686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
38687         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
38688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
38689         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
38690         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
38691         Moved ...
38692         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
38693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
38694         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
38695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
38696         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
38697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
38698         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
38699         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
38700         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
38701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
38702         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
38703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
38704         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
38705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
38706         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
38707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
38708         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
38709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
38710         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
38711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
38712         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
38713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
38714         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
38715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
38716         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
38717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
38718         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
38719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38720         Moved ...
38721         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
38722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
38723         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
38724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
38725         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
38726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
38727         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
38728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
38729         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
38730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
38731         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
38732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
38733         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
38734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
38735         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
38736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
38737         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
38738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
38739         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
38740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38741         Moved ...
38742         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
38743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
38744         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
38746         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
38747         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
38748         (libpthread-sysdep_routines): Add elision-related stuff here instead.
38749         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
38750         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
38751         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
38752         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
38753         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
38754         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
38755         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
38756         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
38757         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
38758         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
38759         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
38760         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
38761         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
38762         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
38763         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
38764         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
38765         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
38766         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
38767         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
38768         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
38769         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
38770         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
38771         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
38772         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
38773         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
38774         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
38775         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
38776         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
38778         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
38779         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
38781         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
38782         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
38783         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
38784         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
38785         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
38786         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
38787         Moved ...
38788         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
38789         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
38790         Moved ...
38791         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
38792         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
38793         Moved ...
38794         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
38795         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
38796         Moved ...
38797         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
38798         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
38799         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
38800         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
38801         Moved ...
38802         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
38803         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
38804         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
38805         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
38806         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
38807         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
38808         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
38809         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
38810         Moved ...
38811         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
38812         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38813         Moved ...
38814         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
38815         ... here.
38816         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
38817         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
38818         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
38819         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
38820         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38821         Moved ...
38822         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
38823         ... here.
38824         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
38825         Moved ...
38826         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
38827         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
38828         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
38829         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
38830         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
38831         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
38832         Moved ...
38833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
38834         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
38835         Moved ...
38836         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
38837         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
38838         Moved ...
38839         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
38840         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
38841         Moved ...
38842         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
38843         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
38844         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
38845         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
38846         Moved ...
38847         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
38848         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
38849         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
38850         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
38851         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
38852         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
38853         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
38854         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
38855         Moved ...
38856         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
38857         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38858         Moved ...
38859         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
38860         ... here.
38861         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
38862         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
38863         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
38864         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
38865         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38866         Moved ...
38867         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
38868         ... here.
38869         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
38870         Moved ...
38871         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
38872         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
38873         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
38874         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
38875         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
38876         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
38877         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
38878         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
38879         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
38880         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
38881         Moved ...
38882         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
38883         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
38884         Moved ...
38885         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
38886         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
38887         Moved ...
38888         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
38889         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
38890         Moved ...
38891         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
38892         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
38893         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
38894         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
38895         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
38896         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
38897         Moved ...
38898         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
38899         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
38900         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
38901         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
38902         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
38903         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
38904         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
38905         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
38906         Moved ...
38907         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
38908         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38909         Moved ...
38910         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
38911         ... here.
38912         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
38913         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
38914         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
38915         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
38916         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38917         Moved ...
38918         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
38919         ... here.
38920         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
38921         Moved ...
38922         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
38923         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
38924         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
38925         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
38926         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
38927         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
38928         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
38929         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
38930         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
38931         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
38932         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
38934         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
38935         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
38937         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
38938         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
38940         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
38941         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
38942         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
38943         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
38944         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
38945         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
38946         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
38947         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
38948         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
38949         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
38950         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
38951         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
38952         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
38953         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
38954         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
38955         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
38956         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
38957         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
38958         Moved ...
38959         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
38960         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
38961         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
38962         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
38963         Moved ...
38964         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
38965         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
38966         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
38967         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
38968         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
38969         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
38970         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
38971         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
38972         Moved ...
38973         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
38974         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
38975         Moved ...
38976         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
38977         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
38978         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
38979         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
38980         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
38981         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
38982         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
38983         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
38984         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
38985         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
38986         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
38987         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
38988         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
38989         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
38990         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
38991         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
38992         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
38994         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
38995         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
38996         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
38997         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
38998         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
39000         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
39001         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
39002         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
39003         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
39004         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
39005         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
39006         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
39007         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
39008         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
39009         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
39011         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
39012         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
39014         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
39015         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
39016         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
39017         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
39018         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
39019         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
39020         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
39021         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
39022         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
39023         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
39024         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
39025         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
39026         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
39027         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
39028         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
39029         Update #include.
39030         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
39031         Likewise.
39032         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
39033         Likewise.
39034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
39035         Likewise.
39036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
39037         Likewise.
39038         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
39039         Likewise.
39040         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
39041         Likewise.
39042         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39043         Likewise.
39044         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
39045         Likewise.
39046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
39047         Likewise.
39048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
39049         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
39050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
39051         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
39052         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
39053         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
39054         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
39055         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
39056         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
39057         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
39058         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
39059         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
39060         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
39061         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
39062         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
39064         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
39065         that was previously under [RESET_PID].
39066         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39067         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
39068         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
39070         * sysdeps/i386/nptl/Implies: New file.
39071         * sysdeps/x86_64/nptl/Implies: New file.
39072         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
39073         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
39074         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
39075         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
39077         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
39078         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39079         (__libc_vfork): New strong alias.
39080         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
39081         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
39083         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
39084         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39085         (__libc_vfork): New strong alias.
39086         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
39087         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
39089         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
39090         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39091         (__libc_vfork): New strong alias.
39092         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
39093         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
39094         * nptl/pt-vfork.c: New file.
39095         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
39096         (libpthread: GLIBC_2.20): New version set (empty).
39098 2014-05-14  Will Newton  <will.newton@linaro.org>
39100         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
39101         rather than #if.
39103 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39105         [BZ #16564]
39106         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
39107         arguments with exponent 65 or above.
39108         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
39109         arguments 0x1p113L or above.
39110         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
39111         to arguments 0x1p107L or above.
39112         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
39113         positive arguments with exponent 65 or above.
39114         * math/auto-libm-test-in: Add more tests of log1p.
39115         * math/auto-libm-test-out: Regenerated.
39117         [BZ #16928]
39118         * math/s_cacos.c (__cacos): Ensure zero real part of result from
39119         non-finite arguments is +0.
39120         * math/s_cacosf.c (__cacosf): Likewise.
39121         * math/s_cacosl.c (__cacosl): Likewise.
39122         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
39123         * sysdeps/i386/fpu/libm-test-ulps: Update.
39124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39126         [BZ #16927]
39127         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
39128         value.
39129         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
39130         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
39131         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
39132         for explicit high bit of mantissa when testing for argument equal
39133         to 1.
39134         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
39135         * sysdeps/i386/fpu/libm-test-ulps: Update.
39136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39138         [BZ #16516]
39139         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
39140         (__erf): Scale by 16 instead of 8 in potentially underflowing
39141         case.  Ensure exception if result actually underflows.
39142         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
39143         (__erff): Scale by 16 instead of 8 in potentially underflowing
39144         case.  Ensure exception if result actually underflows.
39145         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
39146         (efx8): Remove variable.
39147         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39148         case.  Ensure exception if result actually underflows.
39149         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
39150         (efx8): Remove variable.
39151         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39152         case.  Ensure exception if result actually underflows.
39153         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
39154         (efx8): Remove variable.
39155         (__erfl): Scale by 16 instead of 8 in potentially underflowing
39156         case.  Ensure exception if result actually underflows.
39157         * math/auto-libm-test-in: Add more tests of erf.
39158         * math/auto-libm-test-out: Regenerated.
39160 2014-05-14  Andreas Schwab  <schwab@suse.de>
39162         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
39163         Remove code conditionalized on USE___THREAD.
39165         * config.h.in (HAVE_PT_CHOWN): Define as 0.
39166         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
39167         not definedness.
39169 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
39171         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
39172         Define unconditionally.
39173         (__ASSUME_O_CLOEXEC): Likewise.
39174         (__ASSUME_SOCK_CLOEXEC): Likewise.
39175         (__ASSUME_IN_NONBLOCK): Likewise.
39176         (__ASSUME_PIPE2): Likewise.
39177         (__ASSUME_EVENTFD2): Likewise.
39178         (__ASSUME_SIGNALFD4): Likewise.
39179         (__ASSUME_DUP3): Likewise.
39180         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39181         (__ASSUME_DUP3): Do not define.
39182         (__ASSUME_EVENTFD2): Likewise.
39183         (__ASSUME_IN_NONBLOCK): Likewise.
39184         (__ASSUME_O_CLOEXEC): Likewise.
39185         (__ASSUME_PIPE2): Likewise.
39186         (__ASSUME_SIGNALFD4): Likewise.
39187         (__ASSUME_SOCK_CLOEXEC): Likewise.
39188         (__ASSUME_UTIMES): Undefine.
39189         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39190         (__ASSUME_UTIMES): Do not define.
39191         (__ASSUME_O_CLOEXEC): Likewise.
39192         (__ASSUME_SOCK_CLOEXEC): Likewise.
39193         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
39194         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
39195         0x020621].
39196         (__ASSUME_PIPE2): Likewise.
39197         (__ASSUME_EVENTFD2): Likewise.
39198         (__ASSUME_SIGNALFD4): Likewise.
39199         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
39200         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
39201         Do not define.
39202         (__ASSUME_EVENTFD2): Likewise.
39203         (__ASSUME_SIGNALFD4): Likewise.
39204         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39205         (__ASSUME_32BITUIDS): Likewise.
39206         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39207         (__ASSUME_IPC64): Likewise.
39208         (__ASSUME_ST_INO_64_BIT): Likewise.
39209         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
39210         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
39211         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39212         (__ASSUME_UTIMES): Do not define.
39213         (__ASSUME_PSELECT): Likewise.
39214         (__ASSUME_PPOLL): Likewise.
39215         (__ASSUME_O_CLOEXEC): Likewise.
39216         (__ASSUME_SOCK_CLOEXEC): Likewise.
39217         (__ASSUME_IN_NONBLOCK): Likewise.
39218         (__ASSUME_PIPE2): Likewise.
39219         (__ASSUME_EVENTFD2): Likewise.
39220         (__ASSUME_SIGNALFD4): Likewise.
39221         (__ASSUME_DUP3): Likewise.
39222         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39223         (__ASSUME_UTIMES): Likewise.
39224         (__ASSUME_O_CLOEXEC): Likewise.
39225         (__ASSUME_SOCK_CLOEXEC): Likewise.
39226         (__ASSUME_IN_NONBLOCK): Likewise.
39227         (__ASSUME_PIPE2): Likewise.
39228         (__ASSUME_EVENTFD2): Likewise.
39229         (__ASSUME_SIGNALFD4): Likewise.
39230         (__ASSUME_DUP3): Likewise.
39231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39232         (__ASSUME_UTIMES): Likewise.
39233         (__ASSUME_O_CLOEXEC): Likewise.
39234         (__ASSUME_SOCK_CLOEXEC): Likewise.
39235         (__ASSUME_IN_NONBLOCK): Likewise.
39236         (__ASSUME_PIPE2): Likewise.
39237         (__ASSUME_EVENTFD2): Likewise.
39238         (__ASSUME_SIGNALFD4): Likewise.
39239         (__ASSUME_DUP3): Likewise.
39240         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
39241         Likewise.
39242         (__ASSUME_UTIMES): Likewise.
39243         (__ASSUME_EVENTFD2): Likewise.
39244         (__ASSUME_SIGNALFD4): Likewise.
39245         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39246         (__ASSUME_O_CLOEXEC): Likewise.
39247         (__ASSUME_SOCK_CLOEXEC): Likewise.
39248         (__ASSUME_IN_NONBLOCK): Likewise.
39249         (__ASSUME_PIPE2): Likewise.
39250         (__ASSUME_EVENTFD2): Likewise.
39251         (__ASSUME_SIGNALFD4): Likewise.
39252         (__ASSUME_DUP3): Likewise.
39253         (__ASSUME_UTIMES): Undefine.
39255         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
39256         feclearexcept.  Remove symbol versioning code.
39257         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
39258         symbol versioning code.
39259         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
39260         symbol versioning code.
39261         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
39262         feupdateenv.  Remove symbol versioning code.
39263         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
39264         fegetexceptflag.  Remove symbol versioning code.
39265         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
39266         fesetexceptflag.  Remove symbol versioning code.
39267         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
39268         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
39269         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
39270         (__posix_fadvise64_l32): Remove prototype.
39271         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
39272         code.
39274 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39276         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
39277         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
39278         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
39279         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
39281 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
39283         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
39284         current working directory
39286 2014-05-13  Roland McGrath  <roland@hack.frob.com>
39288         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
39289         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
39290         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
39291         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
39292         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
39293         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
39294         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
39295         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
39296         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
39297         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
39298         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
39299         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
39300         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
39301         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
39302         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
39303         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
39304         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
39305         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
39306         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
39307         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
39308         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
39309         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
39310         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
39311         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
39312         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
39313         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
39314         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
39315         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
39316         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
39317         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
39318         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
39319         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
39320         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
39321         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
39322         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
39323         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
39324         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
39325         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
39326         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
39327         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
39328         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
39329         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
39331         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
39332         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
39334         * sysdeps/unix/sysv/linux/arm/Makefile
39335         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
39336         Add rt-aeabi_unwind_cpp_pr1.
39337         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
39338         Add nptl-aeabi_unwind_cpp_pr1.
39339         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
39340         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
39341         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
39342         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
39343         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
39344         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
39346         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
39347         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
39348         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
39349         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
39351         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
39352         Deconditionalize the code that was previously under [RESET_PID].
39353         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
39355         * sysdeps/generic/exit-thread.h: New file.
39356         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
39357         * include/unistd.h (__exit_thread): Remove declaration.
39358         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
39359         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
39360         * csu/libc-start.c: Include <exit-thread.h>.
39361         (LIBC_START_MAIN): Pass no argument to __exit_thread.
39362         * nptl/pthread_create.c: Include <exit-thread.h>.
39363         (start_thread): Call __exit_thread in place of __exit_thread_inline.
39364         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
39365         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
39366         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
39367         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
39368         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
39369         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
39370         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
39371         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
39372         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
39373         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
39374         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
39375         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
39376         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
39377         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
39378         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
39379         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
39381 2014-05-13  Andreas Schwab  <schwab@suse.de>
39383         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
39385 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
39387         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
39388         (__ASSUME_UTIMES): Do not condition on kernel version.
39389         (__ASSUME_PSELECT): Define unconditionally.
39390         (__ASSUME_PPOLL): Likewise.
39391         (__ASSUME_ATFCTS): Likewise.
39392         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
39393         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
39394         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
39395         (__ASSUME_UTIMENSAT): Define unconditionally.
39396         (__ASSUME_PRIVATE_FUTEX): Likewise.
39397         (__ASSUME_FALLOCATE): Likewise.
39398         (__ASSUME_O_CLOEXEC): Likewise.
39399         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
39400         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
39401         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
39402         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
39403         (__ASSUME_IN_NONBLOCK): Likewise.
39404         (__ASSUME_PIPE2): Likewise.
39405         (__ASSUME_EVENTFD2): Likewise.
39406         (__ASSUME_SIGNALFD4): Likewise.
39407         (__ASSUME_DUP3): Likewise.
39408         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39409         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
39410         (__ASSUME_AT_RANDOM): Likewise.
39411         (__ASSUME_PREADV): Likewise.
39412         (__ASSUME_PWRITEV): Likewise.
39413         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
39414         (__ASSUME_F_GETOWN_EX): Define unconditionally.
39415         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
39416         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39417         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
39418         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39419         (__ASSUME_O_CLOEXEC): Define unconditionally.
39420         (__ASSUME_PSELECT): Do not undefine conditionally.
39421         (__ASSUME_PPOLL): Likewise.
39422         (__ASSUME_ATFCTS): Likewise.
39423         (__ASSUME_SET_ROBUST_LIST): Likewise.
39424         (__ASSUME_UTIMENSAT): Likewise.
39425         (__ASSUME_FDATASYNC): Define unconditionally.
39426         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39427         (__ASSUME_SIGFRAME_V2): Likewise.
39428         )__ASSUME_EVENTFD2): Likewise.
39429         (__ASSUME_SIGNALFD4): Likewise.
39430         (__ASSUME_PSELECT): Do not undefine conditionally.
39431         (__ASSUME_PPOLL): Likewise.
39432         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39433         (__ASSUME_PSELECT): Define unconditionally.
39434         (__ASSUME_PPOLL): Likewise.
39435         (__ASSUME_O_CLOEXEC): Likewise.
39436         (__ASSUME_SOCK_CLOEXEC): Likewise.
39437         (__ASSUME_IN_NONBLOCK): Likewise.
39438         (__ASSUME_PIPE2): Likewise.
39439         (__ASSUME_EVENTFD2): Likewise.
39440         (__ASSUME_SIGNALFD4): Likewise.
39441         (__ASSUME_DUP3): Likewise.
39442         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39443         (__ASSUME_O_CLOEXEC): Likewise.
39444         (__ASSUME_SOCK_CLOEXEC): Likewise.
39445         (__ASSUME_IN_NONBLOCK): Likewise.
39446         (__ASSUME_PIPE2): Likewise.
39447         (__ASSUME_EVENTFD2): Likewise.
39448         (__ASSUME_SIGNALFD4): Likewise.
39449         (__ASSUME_DUP3): Likewise.
39450         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39451         (__ASSUME_EVENTFD2): Likewise.
39452         (__ASSUME_SIGNALFD4): Likewise.
39453         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39455 2014-05-12  Andreas Schwab  <schwab@suse.de>
39457         [BZ #16932]
39458         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
39459         (_nss_nis_gethostbyname4_r): Return error if item length is larger
39460         than maximum RPC packet size.
39461         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
39462         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
39463         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
39464         (_nss_nis_getservbyport_r): Likewise.
39466 2014-05-12  Will Newton  <will.newton@linaro.org>
39468         * malloc/Makefile (tests): Add tst-mallopt.
39469         * malloc/tst-mallopt.c: New file.
39471 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39473         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
39474         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
39476 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39478         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
39479         (tst-tlsmod6.so): Likewise.
39481 2014-05-09  Roland McGrath  <roland@hack.frob.com>
39483         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
39485 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
39487         [BZ #16064]
39488         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
39489         and <dl-procinfo.h>.
39490         (__fegetenv): Save SSE state in envp->__eip if supported.
39491         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
39492         envp->__eip if supported.
39493         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
39494         and <dl-procinfo.h>.
39495         (__fesetenv): Always set __eip, __cs_selector, __opcode,
39496         __data_offset and __data_selector in environment to 0.  Set SSE
39497         state if supported.
39498         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
39499         test-fenv-sse.
39500         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
39501         -mfpmath=sse.
39502         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
39504 2014-05-09  Will Newton  <will.newton@linaro.org>
39506         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
39507         and libc_relro_required for ARM.
39508         * sysdeps/arm/preconfigure: Regenerate.
39510 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
39511             Stefan Liebler  <stli@linux.vnet.ibm.com>
39513         * config.make.in (enable-lock-elision): New Makefile variable.
39514         * configure.ac: Likewise.
39515         * configure: Regenerate.
39516         * sysdeps/s390/configure.ac:
39517         Add check for gcc transactions support.
39518         * sysdeps/s390/configure: Regenerate.
39519         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
39520         Build elision files if enabled.
39521         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
39522         Add lock elision support for s390.
39523         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
39524         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
39525         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
39526         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
39527         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
39528         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
39529         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
39530         Likewise.
39531         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
39532         Likewise.
39533         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
39534         Likewise.
39535         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
39536         Likewise.
39537         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
39538         (__lll_timedlock_elision, __lll_lock_elision)
39539         (__lll_unlock_elision, __lll_trylock_elision)
39540         (lll_timedlock_elision, lll_lock_elision)
39541         (lll_unlock_elision, lll_trylock_elision): Add.
39542         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39543         (pthread_mutex_t): Add lock elision support for s390.
39545 2014-05-14  Wilco  <wdijkstr@arm.com>
39547         * sysdeps/arm/fclrexcpt.c: Cleanup.
39548         * sysdeps/arm/fedisblxcpt.c: Cleanup.
39549         * sysdeps/arm/feenablxcpt.c: Cleanup.
39550         * sysdeps/arm/fegetenv.c: Cleanup.
39551         * sysdeps/arm/fegetexcept.c: Cleanup.
39552         * sysdeps/arm/fegetround.c: Cleanup.
39553         * sysdeps/arm/feholdexcpt.c: Cleanup.
39554         * sysdeps/arm/fesetenv.c: Cleanup.
39555         * sysdeps/arm/fesetround.c: Cleanup.
39556         * sysdeps/arm/feupdateenv.c: Cleanup.
39557         * sysdeps/arm/fgetexcptflg.c: Cleanup.
39558         * sysdeps/arm/fraiseexcpt.c: Cleanup.
39559         * sysdeps/arm/fsetexcptflg.c: Cleanup.
39560         * sysdeps/arm/ftestexcept.c: Cleanup.
39561         * sysdeps/arm/get-rounding-mode.h: Cleanup.
39562         * sysdeps/arm/setfpucw.c: Cleanup.
39564 2014-05-09  Will Newton  <will.newton@linaro.org>
39566         * sysdeps/arm/armv7/strcmp.S: New file.
39567         * NEWS: Mention addition of ARMv7 optimized strcmp.
39569 2014-05-08  Roland McGrath  <roland@hack.frob.com>
39571         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
39572         look for %.ac rather than %.in.
39574         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
39575         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
39576         * sysdeps/mach/hurd/configure: Regenerated.
39577         * sysdeps/unix/sysv/linux/configure: Regenerated.
39579         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
39581 2014-05-07  Steve Ellcey  <sellcey@mips.com>
39583         [BZ# 16922]
39584         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
39585         (LONG_SUB): Ditto.
39586         (PTR_SUB): Ditto.
39588 2014-05-07  Andreas Schwab  <schwab@suse.de>
39590         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
39591         when skipping over non-matching result from nscd.
39593 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
39595         [BZ #16876]
39596         * nptl/sockperf.c (client): Check socket return value.
39598         [BZ #16877]
39599         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
39600         nscd security class.
39602 2014-05-06  Roland McGrath  <roland@hack.frob.com>
39604         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
39605         * sysdeps/arm/unwind.h: ... here.
39607 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
39609         [BZ# 16916]
39610         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
39611         Define.
39613 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39615         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
39616         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
39617         multiarch strncpy for PPC64.
39618         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
39619         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
39620         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
39621         multiarch optimizations.
39622         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39623         (__libc_ifunc_impl_list): Likewise.
39624         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
39625         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
39626         multiarch stpncpy for PPC64.
39627         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
39628         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
39630 2014-05-06  Andreas Schwab  <schwab@suse.de>
39632         [BZ #16912]
39633         * gmon/mcount.c (_MCOUNT_DECL): Use
39634         atomic_compare_and_exchange_bool_acq instead of
39635         catomic_compare_and_exchange_bool_acq.
39637 2014-05-05  Roland McGrath  <roland@hack.frob.com>
39639         * elf/Makefile (others, install-bin): Remove pldd.
39640         (pldd-modules): Variable removed.
39641         ($(objpfx)pldd): Target removed.
39642         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
39643         (others, install-bin): Append pldd here.
39644         ($(objpfx)pldd): New target.
39646         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
39647         to 0, so the first #if test emitted later doesn't see it undefined.
39648         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
39649         * sysdeps/gnu/errlist.c: Regenerated.
39651 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39653         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
39654         [libc_hidden_builtin_def]: Define to empty value.
39655         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
39656         [libc_hidden_builtin_def]: Likewise.
39657         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
39658         [libc_hidden_builtin_def]: Likewise.
39659         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
39660         [libc_hidden_builtin_def]: Likewise.
39661         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
39662         __redirect_memcpy and define ifunc as default hidden symbol.
39663         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
39664         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
39666 2014-05-04  Adam Conrad  <adconrad@0c3.net>
39668         * locale/iso-4217.def: Reintroduce XDR currency.
39670 2014-05-04  Allan McRae  <allan@archlinux.org>
39672         * po/eo.po: Update Esperanto translation from translation project.
39674 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
39676         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
39677         and FEATURE_INDEX_MAX to 1.
39678         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
39680 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39682         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
39683         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
39684         * iconvdata/big5.c (ONE_DIRECTION): Define.
39685         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
39686         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
39687         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
39688         * iconvdata/cp932.c (ONE_DIRECTION): Define.
39689         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
39690         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
39691         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
39692         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
39693         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
39694         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
39695         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
39696         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
39697         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
39698         * iconvdata/gbk.c (ONE_DIRECTION): Define.
39699         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
39700         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
39701         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
39702         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
39703         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
39704         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
39705         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
39706         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
39707         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
39708         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
39709         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
39710         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
39711         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
39712         * iconvdata/iso646.c (ONE_DIRECTION): Define.
39713         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
39714         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
39715         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
39716         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
39717         * iconvdata/johab.c (ONE_DIRECTION): Define.
39718         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
39719         * iconvdata/sjis.c (ONE_DIRECTION): Define.
39720         * iconvdata/t.61.c (ONE_DIRECTION): Define.
39721         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
39722         * iconvdata/tscii.c (ONE_DIRECTION): Define.
39723         * iconvdata/uhc.c (ONE_DIRECTION): Define.
39724         * iconvdata/unicode.c (ONE_DIRECTION): Define.
39725         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
39726         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
39727         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
39729 2014-05-01  Roland McGrath  <roland@hack.frob.com>
39731         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
39732         (_IO_JUMPS_OFFSET): Define to 0.
39734         * nptl/sysdeps/pthread/bits/libc-lock.h
39735         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
39736         (__libc_lock_define_initialized_recursive): Always define using
39737         initializer.  Modern compilers treat uninitialized (implicit zero) and
39738         explicit zero initializers the same (i.e. put the datum in bss).
39740 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39742         * nscd/nscd-client.h: Include <string.h>.
39744 2014-05-01  David S. Miller  <davem@davemloft.net>
39746         [BZ #16885]
39747         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
39748         multiple zero bytes exist at the end of a string.
39749         Reported by Aurelien Jarno <aurelien@aurel32.net>
39751         * string/test-strcmp.c (check): Add explicit test for situations where
39752         there are multiple zero bytes after the first.
39754 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
39756         [BZ #16890]
39757         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
39758         when compiling wprintf.
39759         * stdio-common/tstdiomisc.c (t3): New function.
39760         (main): Call it.
39762 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39764         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
39765         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
39766         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
39767         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
39769 2014-05-01  Steve Ellcey  <sellcey@mips.com>
39771         * stdlib/longlong.h: Updated from GCC.
39773 2014-05-01  Will Newton  <will.newton@linaro.org>
39774             Bernard Ogden  <bernie.ogden@linaro.org>
39776         * NEWS: Update fixed bug list.
39778         [BZ #15119]
39779         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
39781 2014-04-30  David S. Miller  <davem@davemloft.net>
39783         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
39784         (libc_feholdexcept_setround_sparc_ctx): New function.
39785         (libc_fesetenv_sparc_ctx): Likewise.
39786         (libc_feupdateenv_sparc_ctx): Likewise.
39787         (libc_feholdsetround_sparc_ctx): Likewise.
39788         (libc_feholdexcept_setround_ctx): Define.
39789         (libc_feholdexcept_setroundf_ctx): Likewise.
39790         (libc_feholdexcept_setroundl_ctx): Likewise.
39791         (libc_fesetenv_ctx): Likewise.
39792         (libc_fesetenvf_ctx): Likewise.
39793         (libc_fesetenvl_ctx): Likewise.
39794         (libc_feupdateenv_ctx): Likewise.
39795         (libc_feupdateenvf_ctx): Likewise.
39796         (libc_feupdateenvl_ctx): Likewise.
39797         (libc_feresetround_ctx): Likewise.
39798         (libc_feresetroundf_ctx): Likewise.
39799         (libc_feresetroundl_ctx): Likewise.
39800         (libc_feholdsetround_ctx): Likewise.
39801         (libc_feholdsetroundf_ctx): Likewise.
39802         (libc_feholdsetroundl_ctx): Likewise.
39804         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39805         with __USE_GNU instead of XOPEN cpp guards.
39807         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
39808         0.
39810         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
39811         with XOPEN cpp guards.
39813 2014-04-30  Julian Brown  <julian@codesourcery.com>
39815         [BZ #16888]
39816         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
39817         handling.
39819 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
39821         [BZ #9894]
39822         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
39823         Change to 2.6.32.
39824         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
39825         * sysdeps/unix/sysv/linux/configure: Regenerated.
39826         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
39827         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
39828         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
39829         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
39830         * README: Update reference to required Linux kernel version.
39831         * manual/install.texi (Linux): Update reference to required Linux
39832         kernel headers version.
39833         * INSTALL: Regenerated.
39835         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
39836         header inclusion.
39837         [POSIX] (limits.h): Likewise.
39838         [POSIX] (math.h): Likewise.
39839         [POSIX] (sys/wait.h): Likewise.
39840         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
39841         function.
39842         [POSIX] (stddef.h): Do not allow header inclusion.
39844 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39846         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
39848 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
39850         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
39851         Return immediately after lll_futex_wake.
39853 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39855         [BZ #16791]
39856         * nscd/nscd-client.h (datahead_init_common): Initialize entire
39857         structure.
39858         (datahead_init_pos): Call datahead_init_common early.
39859         (datahead_init_neg): Likewise.
39861         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
39862         datahead_init_neg): New functions.
39863         * nscd/aicache.c (addhstaiX): Use them.
39864         * nscd/grpcache.c (cache_addgr): Likewise.
39865         * nscd/hstcache.c (cache_addhst): Likewise.
39866         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39867         * nscd/netgroupcache.c (do_notfound): Likewise.
39868         (addgetnetgrentX): Likewise.
39869         (addinnetgrX): Likewise.
39870         * nscd/pwdcache.c (cache_addpw): Likewise.
39871         * nscd/servicescache.c (cache_addserv): Likewise.
39873 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
39874             Atsushi Onoe  <atsushi@onoe.org>
39876         [BZ #14308]
39877         [BZ #12994]
39878         [BZ #13651]
39879         * resolv/res_query.c (__libc_res_nsearch): Return if at least
39880         one response is valid.
39881         * resolv/res_send.c (send_dg): Check for validity of other
39882         response if the current response is a referral.
39884 2014-04-29  Steve Ellcey  <sellcey@mips.com>
39886         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
39888 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
39890         [BZ #16823]
39891         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
39892         Always divide by positive zero when computing -Inf result.
39893         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
39894         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
39896 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39898         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
39899         FPSCR if value do not change.
39900         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39901         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
39902         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
39903         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
39904         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
39905         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
39906         function.
39908 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
39910         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
39911         * sysdeps/unix/sysv/linux/hppa: Move directory from
39912         ports/systeps/unix/sysv/linux/hppa.
39913         * README: Update listing for hppa-*-linux-gnu.
39915 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
39917         [BZ #16754]
39918         * manual/stdio.texi (Hook functions): Fix types of stream hook
39919         functions.
39920         [BZ #16854]
39921         * socket/sys/socket.h: Fix typo in comment.
39923 2014-04-28  Wilco  <wdijkstr@arm.com>
39925         * sysdeps/arm/fenv_private.h: New file.
39926         * sysdeps/arm/math_private.h: New file.
39927         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
39929 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
39931         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
39932         with __int128_t.
39933         (La_x86_64_retval): Likewise.
39935 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
39937         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
39938         fpsr if value didn't change.
39939         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
39940         to fpcr if value didn't change.
39941         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
39942         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
39943         fpsr or fpcr if value didn't change.
39944         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
39945         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
39946         fpcr if value didn't change.
39947         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
39948         to fpsr if value didn't change.
39950 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
39952         * nptl/tst-sem3.c: Use test-skeleton.c
39953         (main): Rename to do_test.  Use return instead of
39954         exit.
39955         * nptl/tst-sem4.c: Use test-skeleton.c
39956         (main): Rename to do_test.
39958 2014-04-22  David S. Miller  <davem@davemloft.net>
39960         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
39961         (struct sigaction): New struct member __glibc_reserved0, change
39962         type of sa_flags to int.
39964 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
39966         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
39967         (COUNT_LEADING_ZEROS_0): Define for AArch64.
39969 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
39971         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
39972         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
39974 2014-04-22  Will Newton  <will.newton@linaro.org>
39975             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
39977         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
39978         (__longjmp): Add longjmp and longjmp_target SystemTap
39979         probes.
39980         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
39981         (__sigsetjmp): Add setjmp SystemTap probe.
39983 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
39985         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
39986         match manual order.
39988 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39990         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
39992         * sysdeps/powerpc/fpu/fenv_private.h
39993         (libc_feholdexcept_setroundl_ctx): Define to
39994         libc_feholdexcept_setround_ppc_ctx.
39995         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
39996         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
39997         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
39998         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
40000 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40002         * sysdeps/aarch64/math-tests.h: New file.
40004 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
40006         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
40007         New.
40008         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40009         Check and set bit_AVX2_Usable.
40010         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
40011         macro.
40012         (bit_AVX2): Likewise.
40013         (index_AVX2_Usable): Likewise.
40014         (CPUID_AVX2): Likewise.
40015         (HAS_AVX2): Likewise.
40017 2014-04-17  Will Newton  <will.newton@linaro.org>
40019         * manual/setjmp.texi (System V contexts): Add note that
40020         calling setcontext on a context created by a call to a
40021         signal handler is undefined.  Update text to note that
40022         setcontext from a signal handler is possible but not
40023         recommended.
40025         [BZ #16629]
40026         * stdlib/tst-setcontext.c: Include signal.h.
40027         (main): Check that the signal stack before and
40028         after swapcontext is the same.
40030         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
40031         Re-implement to restore registers in user code and avoid
40032         rt_sigreturn system call.
40034 2014-04-17  Wilco  <wdijkstr@arm.com>
40036         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
40037         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
40038         * math/test-fenv.c: Skip exception trap tests on targets which only
40039         support non-stop mode.
40041 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
40042             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40044         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
40045         (libc_feholdsetround_aarch64_ctx)
40046         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
40047         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
40048         (libc_feresetround_ctx, libc_feresetroundf_ctx)
40049         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
40050         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
40051         (libc_feresetround_noexl_ctx): Define.
40053 2014-04-16  Richard Henderson  <rth@redhat.com>
40055         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
40057         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
40058         unwind tables.
40060         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
40061         const from the non-libc, non-ldso copy.
40063         * sysdeps/alpha/libm-test-ulps: Regenerate.
40065 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
40066             Wilco Dijkstra  <wilco.dijkstra@arm.com>
40068         * sysdeps/aarch64/fpu/math_private.h: New file.
40070 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40072         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40074 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
40076         [BZ #16275]
40077         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
40078         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
40079         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
40080         Intel MPX bound registers before _dl_profile_fixup.
40081         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
40082         registers after _dl_profile_fixup.  Save and restore bound
40083         registers bnd0/bnd1 when calling _dl_call_pltexit.
40084         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
40085         (LR_BND_OFFSET): Likewise.
40086         (LRV_BND0_OFFSET): Likewise.
40087         (LRV_BND1_OFFSET): Likewise.
40089 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40091         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
40092         to...
40093         * sysdeps/mach/hurd/i386/tls.h: ... here.
40094         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
40095         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
40096         fields.
40098 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40100         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
40102 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40104         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40106 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40108         [BZ #14770]
40109         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
40110         * sysdeps/s390/configure: Regenerate.
40112         [BZ #16824]
40113         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
40114         Set round-to-nearest internally to reduce error accumulation.
40116 2014-04-16  Alan Modra  <amodra@gmail.com>
40118         [BZ #16740]
40119         [BZ #16619]
40120         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
40121         * math/libm-test.inc (frexp_test_data): Add tests.
40122         * NEWS: Update fixed bug list.
40124 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
40126         * benchtests/Makefile: Depend on libraries in build directory.
40127         (bench-math): Separate out math tests.
40128         (bench-pthread): Separate out pthread tests.
40129         (bench): Include math and pthread tests.
40131 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
40133         [BZ #16831]
40134         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
40135         _dl_debug_initialize.
40137         * configure.ac: Remove SELinux header check.
40138         * configure: Regenerate.
40139         * nscd/selinux.c (perms): Array of const char* to permission names.
40140         (nscd_request_avc_has_perm): Call security_deny_unknown to find
40141         default policy. Call string_to_security_class and string_to_av_perm to
40142         translate strings. Enforce default policy and call avs_has_perm with
40143         results of translated strings.
40145 2014-04-13  David S. Miller  <davem@davemloft.net>
40147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40149 2014-04-12  Allan McRae  <allan@archlinux.org>
40151         [BZ #16838]
40152         * manual/string.texi (Collation Functions): Fix qsort argument
40153         order in example.
40154         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40156 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
40158         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
40159         Make the test a no-op if there are no exceptions defined.
40161 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
40163         * elf/Makefile (tests): make tst-dlopen-aout conditional on
40164         enable-hardcoded-path-in-tests
40166 2014-04-11  Will Newton  <will.newton@linaro.org>
40168         * benchtests/Makefile (extra-objs): Add json-lib.o.
40169         (bench-func): Tidy up JSON output.
40170         * benchtests/bench-skeleton.c: Include json-lib.h.
40171         (main): Use JSON library functions to do output of
40172         benchmark results.
40173         * benchtests/bench-timing-type.c (main): Output the
40174         timing type simply, leaving formatting to the user.
40175         * benchtests/json-lib.c: New file.
40176         * benchtests/json-lib.h: Likewise.
40178 2014-04-11  Torvald Riegel  <triegel@redhat.com>
40180         [BZ #15215]
40181         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
40182         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
40183         memory barriers.  Add comments.
40184         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
40185         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
40186         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
40187         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
40188         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
40189         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
40191 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40193         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
40194         * sysdeps/s390/s390-64/configure.ac: ... this ...
40195         * sysdeps/s390/configure.ac: ... to here.
40196         * sysdeps/s390/s390-32/configure: Delete file.
40197         * sysdeps/s390/s390-64/configure: Delete file.
40198         * sysdeps/s390/configure: Regenerate.
40200 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
40202         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
40204 2014-04-11  Will Newton  <will.newton@linaro.org>
40206         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
40207         to zero if it is not defined elsewhere.  (mtrim): Test
40208         the value of MALLOC_DEBUG with #if rather than #ifdef.
40210 2014-04-10 Torvald Riegel  <triegel@redhat.com>
40212         * benchtests/pthread_once-inputs: New file.
40213         * benchtests/pthread_once-source.c: New file.
40214         * benchtests/README: Update documentation.
40216 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
40217             H.J. Lu  <hongjiu.lu@intel.com>
40219         [BZ #16275]
40220         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
40221         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
40222         * sysdeps/x86_64/configure: Regenerated.
40223         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
40224         macro.
40225         (REGISTER_SAVE_RAX): Likewise.
40226         (REGISTER_SAVE_RCX): Likewise.
40227         (REGISTER_SAVE_RDX): Likewise.
40228         (REGISTER_SAVE_RSI): Likewise.
40229         (REGISTER_SAVE_RDI): Likewise.
40230         (REGISTER_SAVE_R8): Likewise.
40231         (REGISTER_SAVE_R9): Likewise.
40232         (REGISTER_SAVE_BND0): Likewise.
40233         (REGISTER_SAVE_BND1): Likewise.
40234         (REGISTER_SAVE_BND2): Likewise.
40235         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
40236         bound registers when calling _dl_fixup.
40238 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40240         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
40241         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
40242         of its definition.
40243         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
40244         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
40245         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
40246         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
40247         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
40248         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
40249         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
40251 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
40253         [BZ #15514]
40254         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
40255         pathconf(_PC_NAME_MAX).
40257 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40259         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
40260         Remove macro usage.
40261         (__PTHREAD_SPINS): Move definition to ...
40262         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40263         (__PTHREAD_SPINS): ... here.
40264         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40265         (__PTHREAD_SPIN): Likewise.
40266         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
40267         (__PTHREAD_SPIN): Likewise.
40268         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
40269         (__PTHREAD_SPIN): Likewise.
40270         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
40271         (__PTHREAD_SPIN): Likewise.
40272         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40273         (__PTHREAD_SPIN): Likewise.
40274         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40275         (__PTHREAD_SPIN): Likewise.
40276         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
40277         (__PTHREAD_SPIN): Likewise.
40278         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40279         (__PTHREAD_SPIN): Likewise.
40280         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40281         (__PTHREAD_SPIN): Likewise.
40282         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40283         (__PTHREAD_SPIN): Likewise.
40284         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40285         (__PTHREAD_SPIN): Likewise.
40286         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
40287         (__PTHREAD_SPIN): Likewise.
40289         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
40290         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
40291         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
40292         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
40293         imply folder.
40294         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
40295         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
40296         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
40297         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
40298         correct imply path.
40299         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
40300         strlen symbol for non multi-arch builds.
40301         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
40302         missing hidden_def and weak_alias.
40304 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
40306         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
40308 2014-04-07  Will Newton  <will.newton@linaro.org>
40310         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
40311         and contents.  [!_LIBC] Remove #ifndef and contents.
40312         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
40313         * string/memccpy.c (__memccpy): Use ANSI prototype.
40314         * string/memfrob.c (memfrob): Likewise.
40315         * string/strcoll.c (STRCOLL): Likewise.
40316         * string/strlen.c (strlen): Likewise.
40317         * string/strtok.c (STRTOK): Likewise.
40318         * string/strcat.c: Remove unused #include of memcopy.h.
40319         (strcat): Use ANSI prototype.
40320         * string/strchr.c: Remove unused #include of memcopy.h.
40321         (strchr): Use ANSI prototype.
40322         * string/strcmp.c: Remove unused #include of memcopy.h.
40323         (strcmp): Use ANSI prototype.
40324         * string/strcpy.c: Remove unused #include of memcopy.h.
40325         (strcpy): Use ANSI prototype.
40327 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40329         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
40330         * config.make.in (config-extra-cppflags): Set it from
40331         libc_extra_cppflags.
40332         * configure.ac (libc_extra_cflags): Make it accumulate over
40333         configure fragments.
40334         (libc_extra_cppflags): New flag.
40335         * configure. Regenerate.
40336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
40337         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
40338         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
40339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
40341         [BZ #16815]
40342         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
40343         result for FE_DOWNWARD rounding mode.
40344         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
40345         Likewise.
40346         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40348 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
40350         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
40351         in function argument name.
40353 2014-04-03  David Svoboda  <svoboda@cert.org>
40355         [BZ #5666]
40356         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
40357         explicitly.
40359 2014-04-03  Roland McGrath  <roland@hack.frob.com>
40361         * elf/dl-unmap-segments.h: New file.
40362         * sysdeps/generic/ldsodefs.h
40363         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
40364         * elf/dl-close.c: Include <dl-unmap-segments.h>.
40365         * elf/dl-fptr.c: Likewise.
40366         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
40367         * sysdeps/aarch64/tlsdesc.c: Likewise.
40368         * sysdeps/arm/tlsdesc.c: Likewise.
40369         * sysdeps/i386/tlsdesc.c: Likewise.
40370         * sysdeps/tile/dl-runtime.c: Likewise.
40371         * sysdeps/x86_64/tlsdesc.c: Likewise.
40372         * elf/dl-load.h: New file.
40373         * elf/dl-load.c: Include it.
40374         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
40375         Macros moved to dl-load.h.
40376         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
40377         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
40378         Use _dl_unmap_segments in place of __munmap.
40379         Break out segment-mapping loop into ...
40380         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
40382 2014-04-03  Will Newton  <will.newton@linaro.org>
40384         * elf/dl-lookup.c (do_lookup_x): Remove comment
40385         referring to nested function and move variable
40386         declarations down to before first use.
40388 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
40390         [BZ #16799]
40391         [BZ #16800]
40392         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
40393         with 0 numerator.
40394         * math/s_catanf.c (__catanf): Likewise.
40395         * math/s_catanh.c (__catanh): Likewise.
40396         * math/s_catanhf.c (__catanhf): Likewise.
40397         * math/s_catanhl.c (__catanhl): Likewise.
40398         * math/s_catanl.c (__catanl): Likewise.
40399         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
40400         by positive zero when computing -Inf result.
40401         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
40402         (catanh_test): Likewise.
40403         * sysdeps/i386/fpu/libm-test-ulps: Update.
40404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40406         [BZ #16789]
40407         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
40408         instead of using underflowing value in computing result.
40409         * math/s_clog10.c (__clog10): Likewise.
40410         * math/s_clog10f.c (__clog10f): Likewise.
40411         * math/s_clog10l.c (__clog10l): Likewise.
40412         * math/s_clogf.c (__clogf): Likewise.
40413         * math/s_clogl.c (__clogl): Likewise.
40414         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
40415         (clog10_test): Likewise.
40416         * sysdeps/i386/fpu/libm-test-ulps: Update.
40417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40419 2014-04-02  Alan Modra  <amodra@gmail.com>
40421         [BZ #16739]
40422         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
40423         output when value is near a power of two.  Use int64_t for lx and
40424         remove casts.  Use decimal rather than hex exponent constants.
40425         Don't use long double multiplication when double will suffice.
40426         * math/libm-test.inc (nextafter_test_data): Add tests.
40427         * NEWS: Add 16739 and 16786 to bug list.
40429         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
40431         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
40433 2014-04-01  Will Newton  <will.newton@linaro.org>
40435         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
40436         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
40438 2014-04-01  Florian Weimer  <fweimer@redhat.com>
40440         [BZ #13347]
40441         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
40442         * nptl/tst-setuid2.c: New file.
40443         * nptl/Makefile (xtests): Add tst-setuid2.
40445 2014-04-01  Alan Modra  <amodra@gmail.com>
40447         [BZ #16786]
40448         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
40450 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40452         [BZ #6803]
40453         [BZ #6804]
40454         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
40455         set errno as appropriate.
40456         * math/w_scalbf.c (__scalbf): Likewise.
40457         * math/w_scalbl.c (__scalbl): Likewise.
40458         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
40459         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
40460         * math/libm-test.inc (scalb_test_data): Add errno expectations.
40461         Add more NaN tests.
40463         [BZ #16349]
40464         * math/w_atan2.c: Include <errno.h>.
40465         (__atan2): Set errno for result underflowing to zero.
40466         * math/w_atan2f.c: Include <errno.h>.
40467         (__atan2f): Set errno for result underflowing to zero.
40468         * math/w_atan2l.c: Include <errno.h>.
40469         (__atan2l): Set errno for result underflowing to zero.
40470         * math/auto-libm-test-in: Don't allow missing errno for some atan2
40471         tests.
40472         * math/auto-libm-test-out: Regenerated.
40474 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40476         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
40477         Encode instruction correctly in little endian.
40478         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
40479         Likewise.
40480         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
40481         Likewise.
40482         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
40483         Likewise.
40484         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
40485         Likewise.
40487 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
40489         [BZ #9894]
40490         * sysdeps/unix/sysv/linux/kernel-features.h
40491         [__sparc__ && !__arch64__ && !__sparc_v9__]
40492         (__ASSUME_SET_ROBUST_LIST): Do not define.
40493         [__sparc__ && !__arch64__ && !__sparc_v9__]
40494         (__ASSUME_FUTEX_LOCK_PI): Likewise.
40495         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
40496         Likewise.
40497         * sysdeps/unix/sysv/linux/arm/kernel-features.h
40498         (__ASSUME_FUTEX_LOCK_PI): Undefine.
40499         (__ASSUME_REQUEUE_PI): Likewise.
40500         (__ASSUME_SET_ROBUST_LIST): Likewise.
40501         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
40502         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
40503         Undefine.
40504         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40505         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
40506         Likewise.
40507         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
40508         Likewise.
40509         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
40510         Likewise.
40511         * sysdeps/unix/sysv/linux/mips/kernel-features.h
40512         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
40513         Undefine.
40514         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
40515         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
40516         Likewise.
40518         [BZ #16648]
40519         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
40520         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
40521         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
40523 2014-03-31  Will Newton  <will.newton@linaro.org>
40525         * benchtests/Makefile (bench): Add ffs and ffsll to list
40526         of tests.
40527         * benchtests/ffs-inputs: New file.
40528         * benchtests/ffsll-inputs: Likewise.
40530 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
40532         [BZ #16770]
40533         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
40534         too large before casting to int.
40535         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
40536         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
40537         * math/libm-test.inc (scalb_test_data): Add more tests.
40539 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
40541         * benchtests/Makefile (DETAILED_OPT): New make option.
40542         (bench-func): Run benchmark program with -d if DETAILED_OPT is
40543         set.
40544         * benchtests/bench-skeleton.c: Include stdbool.h.
40545         (main): Store and print timings per input.
40546         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
40547         member to each argument value.
40548         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
40549         (_print_arg_data): Initialize per-input timing to 0.
40551         * benchtests/Makefile (timing-type): New binary.
40552         (bench-clean): Also remove bench-timing-type.
40553         (bench): New target for timing-type.
40554         (bench-func): Print output in JSON format.
40555         * benchtests/bench-skeleton.c (main): Print output in JSON
40556         format.
40557         * benchtests/bench-timing-type.c: New file.
40558         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
40559         (TIMING_PRINT_STATS): Remove.
40560         * benchtests/scripts/bench.py (_print_arg_data): Store variant
40561         name separately.
40563         * benchtests/bench-modf.c: Remove.
40564         * benchtests/modf-inputs: New inputs file.
40566 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
40568         [BZ #16362]
40569         * math/s_clog10.c (M_PI_LOG10E): New macro.
40570         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
40571         imaginary parts are 0.
40572         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
40573         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
40574         imaginary parts are 0.
40575         * math/s_clog10l.c (M_PI_LOG10El): New macro.
40576         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
40577         imaginary parts are 0.
40578         * math/libm-test.inc (clog10_test_data): Update expected results
40579         for when real and imaginary parts are 0.
40581 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
40583         * elf/dl-load.c: Finish conversion of __builtin_expect into
40584         __glibc_{un}likely.
40586 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
40588         [BZ #16348]
40589         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
40590         1+x for argument with exponent below -67.
40591         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
40592         Likewise.
40593         * math/auto-libm-test-in: Add more tests of exp.
40594         * math/auto-libm-test-out: Regenerated.
40596 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40598         [BZ #16759]
40599         * inet/getnetgrent_r.c (get_nonempty_val): New function.
40600         (nscd_getnetgrent): Use it.
40602         [BZ #16760]
40603         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
40604         of stpcpy.
40606 2014-03-27  Andi Kleen  <ak@linux.intel.com>
40608         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
40609         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40610         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40611         (lll_robust_unlock): Remove out of line section. Use cfi
40612         intrinsics.
40613         (LLL_STUB_UNWIND_INFO*): Remove.
40614         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
40615         (lll_robust_lock, lll_cond_lock, lll_timedlock)
40616         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
40617         (lll_robust_unlock): Remove out of line section. Use cfi
40618         intrinsics.
40619         (LLL_STUB_UNWIND_INFO*): Remove.
40621 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40623         [BZ #16758]
40624         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
40625         blank values.
40627 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
40629         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
40631 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
40633         [BZ #16198]
40634         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
40635         fnstenv.
40636         * math/test-fenv-preserve.c: New file.
40637         * math/Makefile (tests): Add test-fenv-preserve.
40639 2014-03-26  Will Newton <will.newton@linaro.org>
40641         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
40643 2014-03-25  Roland McGrath  <roland@hack.frob.com>
40645         * scripts/versionlist.awk: Partition the version sets and emit all
40646         GLIBC_* (sorted) before all others (sorted).
40648 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40650         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
40651         GLIBC_2.2.5 version.
40653 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40655         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
40656         calls.
40658         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
40659         previous change.
40661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40663 2014-03-25  Andreas Schwab  <schwab@suse.de>
40665         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
40666         label to be used after in6ailist is initialized.
40668 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40670         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40671         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40673 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
40675         [BZ #16357]
40676         [BZ #16599]
40677         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
40678         min_plus_half.
40679         (fp_formats): Update initializers.
40680         (init_fp_formats): Initialize new field.
40681         (output_for_one_input_case): Allow underflow for results up to
40682         min_plus_half.
40683         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
40684         * math/auto-libm-test-in: Don't mark some underflows from asin and
40685         atanh as spurious.
40686         * math/auto-libm-test-out: Regenerated.
40687         * sysdeps/i386/fpu/libm-test-ulps: Update.
40688         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40690 2014-03-25  Andreas Schwab  <schwab@suse.de>
40692         * libio/Makefile (tst-ftell-partial-wide-ENV)
40693         (tst-ftell-active-handler-ENV): Define.
40695 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
40697         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
40699 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40701         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
40703 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40705         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
40706         * sysdeps/x86_64/fpu/multiarch/e_exp.c
40707         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
40709 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
40711         [BZ #16634]
40712         * elf/dl-load.c (open_verify): Add mode parameter.
40713         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
40714         (open_path): Change from boolean 'secure' to complete flag 'mode'
40715         (_dl_map_object): Adjust.
40716         * elf/Makefile (tests): Add tst-dlopen-aout.
40717         * elf/tst-dlopen-aout.c: New test.
40719 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
40721         [BZ #16714]
40722         * sysdeps/unix/sysv/linux/s390/bits/stat.h
40723         (struct stat): Rename member pad0 to __glibc_reserved0.
40725         [BZ #16712]
40726         * sysdeps/s390/s390-32/bits/wordsize.h
40727         (__WORDSIZE32_SIZE_ULONG): New define.
40728         * sysdeps/s390/s390-64/bits/wordsize.h
40729         (__WORDSIZE32_SIZE_ULONG): Likewise.
40730         * sysdeps/generic/stdint.h (SIZE_MAX):
40731         Define as UL if __WORDSIZE32_SIZE_ULONG.
40733         [BZ #16713]
40734         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
40735         (__glibc_reserved0): New variable.
40736         (sa_flags): Change type to int.
40738         * posix/Makefile (before-compile): Use += before-compile instead
40739         of a :=.
40741         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
40742         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
40744 2014-03-20  Andreas Schwab  <schwab@suse.de>
40746         [BZ #16743]
40747         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
40748         non-matching result from nscd.
40750 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40752         * scripts/bench.py: Moved to ...
40753         * benchtests/scripts/bench.py: ... here.
40754         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
40756 2014-03-24  Andreas Schwab  <schwab@suse.de>
40758         [BZ #16002]
40759         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
40760         alloca_account and account alloca use for struct in6ailist.
40762 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
40764         [BZ #16284]
40765         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
40766         rounding mode to recompute results that overflow to infinity or
40767         underflow to zero.
40768         * math/auto-libm-test-in: Don't mark tests as expected to fail for
40769         bug 16284.
40770         * math/auto-libm-test-out: Regenerated.
40771         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
40772         (ccosh_test): Likewise.
40773         (csin_test_data): Use plus_oflow.
40774         (csin_test): Use ALL_RM_TEST.
40775         (csinh_test_data): Use plus_oflow.
40776         (csinh_test): Use ALL_RM_TEST.
40777         * sysdeps/i386/fpu/libm-test-ulps: Update.
40778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40780 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
40782         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
40783         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
40784         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
40786         [BZ #16731]
40787         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
40788         when x - 1 is zero.
40789         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
40790         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
40791         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40792         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
40793         argument is 1.
40794         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
40795         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
40796         zero.
40797         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
40798         * sysdeps/i386/fpu/libm-test-ulps: Update.
40799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40801 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
40803         * scripts/bench.pl: Remove file.
40804         * scripts/bench.py: New benchmark script.
40805         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
40806         * benchtests/README: Mention python dependency.
40807         * scripts/pylintrc: New file.
40808         * scripts/pylint: New file.
40810         * bits/mathdef.h: Use #ifdef instead of #if.
40811         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
40812         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40813         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
40814         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40815         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
40816         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
40818 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40819             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40821         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
40822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
40823         and strpbrk-ppc64 objects.
40824         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40825         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
40826         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
40827         multiarch strpbrk for POWER7.
40828         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
40829         multiarch strpbrk for PPC64.
40830         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
40831         ifunc selector.
40832         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
40833         strpbrk for POWER7.
40835 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40837         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
40838         (atan_test): Likewise.
40839         (atanh_test_data): Use NO_TEST_INLINE for two tests.
40840         (atanh_test): Use ALL_RM_TEST.
40841         (atan2_test_data): Likewise.
40842         (cabs_test): Likewise.
40843         (cacosh_test): Likewise.
40844         (carg_test): Likewise.
40845         (casin_test): Likewise.
40846         (casinh_test): Likewise.
40847         (cbrt_test): Likewise.
40848         (csqrt_test): Likewise.
40849         (erf_test): Likewise.
40850         (erfc_test): Likewise.
40851         (pow10_test): Likewise.
40852         (exp2_test): Likewise.
40853         (hypot_test): Likewise.
40854         (j0_test): Likewise.
40855         (j1_test): Likewise.
40856         (lgamma_test): Likewise.
40857         (gamma_test): Likewise.
40858         (sincos_test): Likewise.
40859         (tanh_test): Likewise.
40860         (y0_test): Likewise.
40861         (y1_test): Likewise.
40862         * sysdeps/i386/fpu/libm-test-ulps: Update.
40863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40865 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40867         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
40868         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
40869         and strcspn-ppc64 objects.
40870         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40871         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
40872         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
40873         multiarch strcspn for POWER7.
40874         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
40875         multiarch strcspn for PPC64.
40876         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
40877         ifunc selector.
40878         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
40879         strcspn for POWER7.
40881 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
40883         * math/gen-libm-test.pl (generate_testfile): Expect only function
40884         name as argument to AUTO_TESTS_* and pass results for all rounding
40885         modes to parse_args.
40886         (parse_auto_input): Separate inputs of automatic tests from
40887         outputs before storing in %auto_tests.
40888         * math/libm-test.inc (acos_test_data): Update call to
40889         AUTO_TESTS_f_f.
40890         (acos_test): Use ALL_RM_TEST.
40891         (acos_tonearest_test_data): Remove.
40892         (acos_test_tonearest): Likewise.
40893         (acos_towardzero_test_data): Likewise.
40894         (acos_test_towardzero): Likewise.
40895         (acos_downward_test_data): Likewise.
40896         (acos_test_downward): Likewise.
40897         (acos_upward_test_data): Likewise.
40898         (acos_test_upward): Likewise.
40899         (acosh_test_data): Update call to AUTO_TESTS_f_f.
40900         (asin_test_data): Likewise.
40901         (asin_test): Use ALL_RM_TEST.
40902         (asin_tonearest_test_data): Remove.
40903         (asin_test_tonearest): Likewise.
40904         (asin_towardzero_test_data): Likewise.
40905         (asin_test_towardzero): Likewise.
40906         (asin_downward_test_data): Likewise.
40907         (asin_test_downward): Likewise.
40908         (asin_upward_test_data): Likewise.
40909         (asin_test_upward): Likewise.
40910         (asinh_test_data): Update call to AUTO_TESTS_f_f.
40911         (atan_test_data): Likewise.
40912         (atanh_test_data): Likewise.
40913         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
40914         (cabs_test_data): Update call to AUTO_TESTS_c_f.
40915         (carg_test_data): Likewise.
40916         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
40917         (ccos_test_data): Update call to AUTO_TESTS_c_c.
40918         (ccosh_test_data): Likewise.
40919         (cexp_test_data): Likewise.
40920         (clog_test_data): Likewise.
40921         (clog10_test_data): Likewise.
40922         (cos_test_data): Update call to AUTO_TESTS_f_f.
40923         (cos_test): Use ALL_RM_TEST.
40924         (cos_tonearest_test_data): Remove.
40925         (cos_test_tonearest): Likewise.
40926         (cos_towardzero_test_data): Likewise.
40927         (cos_test_towardzero): Likewise.
40928         (cos_downward_test_data): Likewise.
40929         (cos_test_downward): Likewise.
40930         (cos_upward_test_data): Likewise.
40931         (cos_test_upward): Likewise.
40932         (cosh_test_data): Update call to AUTO_TESTS_f_f.
40933         (cosh_test): Use ALL_RM_TEST.
40934         (cosh_tonearest_test_data): Remove.
40935         (cosh_test_tonearest): Likewise.
40936         (cosh_towardzero_test_data): Likewise.
40937         (cosh_test_towardzero): Likewise.
40938         (cosh_downward_test_data): Likewise.
40939         (cosh_test_downward): Likewise.
40940         (cosh_upward_test_data): Likewise.
40941         (cosh_test_upward): Likewise.
40942         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
40943         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
40944         (ctan_test_data): Likewise.
40945         (ctan_test): Use ALL_RM_TEST.
40946         (ctan_tonearest_test_data): Remove.
40947         (ctan_test_tonearest): Likewise.
40948         (ctan_towardzero_test_data): Likewise.
40949         (ctan_test_towardzero): Likewise.
40950         (ctan_downward_test_data): Likewise.
40951         (ctan_test_downward): Likewise.
40952         (ctan_upward_test_data): Likewise.
40953         (ctan_test_upward): Likewise.
40954         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
40955         (ctanh_test): Use ALL_RM_TEST.
40956         (ctanh_tonearest_test_data): Remove.
40957         (ctanh_test_tonearest): Likewise.
40958         (ctanh_towardzero_test_data): Likewise.
40959         (ctanh_test_towardzero): Likewise.
40960         (ctanh_downward_test_data): Likewise.
40961         (ctanh_test_downward): Likewise.
40962         (ctanh_upward_test_data): Likewise.
40963         (ctanh_test_upward): Likewise.
40964         (erf_test_data): Update call to AUTO_TESTS_f_f.
40965         (erfc_test_data): Likewise.
40966         (exp_test_data): Likewise.
40967         (exp_test): Use ALL_RM_TEST.
40968         (exp_tonearest_test_data): Remove.
40969         (exp_test_tonearest): Likewise.
40970         (exp_towardzero_test_data): Likewise.
40971         (exp_test_towardzero): Likewise.
40972         (exp_downward_test_data): Likewise.
40973         (exp_test_downward): Likewise.
40974         (exp_upward_test_data): Likewise.
40975         (exp_test_upward): Likewise.
40976         (exp10_test_data): Update call to AUTO_TESTS_f_f.
40977         (exp10_test): Use ALL_RM_TEST.
40978         (exp10_tonearest_test_data): Remove.
40979         (exp10_test_tonearest): Likewise.
40980         (exp10_towardzero_test_data): Likewise.
40981         (exp10_test_towardzero): Likewise.
40982         (exp10_downward_test_data): Likewise.
40983         (exp10_test_downward): Likewise.
40984         (exp10_upward_test_data): Likewise.
40985         (exp10_test_upward): Likewise.
40986         (exp2_test_data): Update call to AUTO_TESTS_f_f.
40987         (expm1_test_data): Likewise.
40988         (expm1_test): Use ALL_RM_TEST.
40989         (expm1_tonearest_test_data): Remove.
40990         (expm1_test_tonearest): Likewise.
40991         (expm1_towardzero_test_data): Likewise.
40992         (expm1_test_towardzero): Likewise.
40993         (expm1_downward_test_data): Likewise.
40994         (expm1_test_downward): Likewise.
40995         (expm1_upward_test_data): Likewise.
40996         (expm1_test_upward): Likewise.
40997         (fma_test_data): Update call to AUTO_TESTS_fff_f.
40998         (fma_test): Use ALL_RM_TEST.
40999         (fma_towardzero_test_data): Remove.
41000         (fma_test_towardzero): Likewise.
41001         (fma_downward_test_data): Likewise.
41002         (fma_test_downward): Likewise.
41003         (fma_upward_test_data): Likewise.
41004         (fma_test_upward): Likewise.
41005         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
41006         (j0_test_data): Update call to AUTO_TESTS_f_f.
41007         (j1_test_data): Likewise.
41008         (jn_test_data): Update call to AUTO_TESTS_if_f.
41009         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
41010         (log_test_data): Update call to AUTO_TESTS_f_f.
41011         (log10_test_data): Likewise.
41012         (log1p_test_data): Likewise.
41013         (log2_test_data): Likewise.
41014         (pow_test_data): Update call to AUTO_TESTS_ff_f.
41015         (pow_tonearest_test_data): Likewise.
41016         (sin_test_data): Update call to AUTO_TESTS_f_f.
41017         (sin_test): Use ALL_RM_TEST.
41018         (sin_tonearest_test_data): Remove.
41019         (sin_test_tonearest): Likewise.
41020         (sin_towardzero_test_data): Likewise.
41021         (sin_test_towardzero): Likewise.
41022         (sin_downward_test_data): Likewise.
41023         (sin_test_downward): Likewise.
41024         (sin_upward_test_data): Likewise.
41025         (sin_test_upward): Likewise.
41026         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
41027         (sinh_test_data): Update call to AUTO_TESTS_f_f.
41028         (sinh_test): Use ALL_RM_TEST.
41029         (sinh_tonearest_test_data): Remove.
41030         (sinh_test_tonearest): Likewise.
41031         (sinh_towardzero_test_data): Likewise.
41032         (sinh_test_towardzero): Likewise.
41033         (sinh_downward_test_data): Likewise.
41034         (sinh_test_downward): Likewise.
41035         (sinh_upward_test_data): Likewise.
41036         (sinh_test_upward): Likewise.
41037         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
41038         (sqrt_test): Use ALL_RM_TEST.
41039         (sqrt_tonearest_test_data): Remove.
41040         (sqrt_test_tonearest): Likewise.
41041         (sqrt_towardzero_test_data): Likewise.
41042         (sqrt_test_towardzero): Likewise.
41043         (sqrt_downward_test_data): Likewise.
41044         (sqrt_test_downward): Likewise.
41045         (sqrt_upward_test_data): Likewise.
41046         (sqrt_test_upward): Likewise.
41047         (tan_test_data): Update call to AUTO_TESTS_f_f.
41048         (tan_test): Use ALL_RM_TEST.
41049         (tan_tonearest_test_data): Remove.
41050         (tan_test_tonearest): Likewise.
41051         (tan_towardzero_test_data): Likewise.
41052         (tan_test_towardzero): Likewise.
41053         (tan_downward_test_data): Likewise.
41054         (tan_test_downward): Likewise.
41055         (tan_upward_test_data): Likewise.
41056         (tan_test_upward): Likewise.
41057         (tanh_test_data): Update call to AUTO_TESTS_f_f.
41058         (tgamma_test_data): Likewise.
41059         (y0_test_data): Likewise.
41060         (y1_test_data): Likewise.
41061         (yn_test_data): Update call to AUTO_TESTS_if_f.
41062         (main): Do not call removed functions.
41064 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41066         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
41067         (ldexp_test_data): Remove.
41068         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
41069         scalbn_test_data.
41070         (scalb_test): Use ALL_RM_TEST.
41072 2014-03-19  Andreas Schwab  <schwab@suse.de>
41074         * nscd/nscd.service: Also invalidate netgroup cache on reload.
41076 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
41078         [BZ #16649]
41079         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41080         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
41081         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
41082         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41083         (__ASSUME_PREADV): Undefine.
41084         (__ASSUME_PWRITEV): Likewise.
41086 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41088         * bits/mman-linux.h: Add comment about non-Linux use.
41089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
41090         bits/mman-linux.h resting place.
41092         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
41093         * bits/mman-linux.h: ... here.
41095 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41097         * conform/conformtest.pl: Add standard definition when calling C
41098         preprocessor on data files.
41099         (checknamespace): Remove unused variable.
41101 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41103         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
41104         minus_oflow, plus_uflow and minus_uflow in expected results.
41105         * math/libm-test.inc (scalbn_test_data): Add more tests of
41106         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
41107         minus_uflow.
41108         (scalbn_test): Use ALL_RM_TEST.
41109         (scalbln_test_data): Add more tests of negative arguments.  Use
41110         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
41111         (scalbln_test): Use ALL_RM_TEST.
41113 2014-03-18  Roland McGrath  <roland@hack.frob.com>
41115         * scripts/abilist.awk: Ignore symbols marked with .hidden.
41117 2014-03-18  Will Newton  <will.newton@linaro.org>
41119         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
41120         inaccurate comment.
41122 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
41124         * Makerules [!subdir] (check-abi): Exit with error status if a
41125         test failed.
41127 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41129         * math/libm-test.inc (nearbyint_test_data): Include all tests used
41130         for rint.  Include results for all rounding modes.
41131         (nearbyint_test): Use ALL_RM_TEST.
41132         (rint_test_data): Include all tests used for nearbyint.
41134 2014-03-17  Will Newton  <will.newton@linaro.org>
41136         * nptl/sysdeps/pthread/pthread.h: Revert previous
41137         change.
41139         * sysdeps/generic/ldsodefs.h: Revert previous
41140         change.
41142         * libio/genops.c: Revert previous change.
41143         * libio/libioP.h: Likewise.
41144         * stdio-common/vfprintf.c: Likewise.
41146         * sysdeps/generic/math_private.h: Revert previous
41147         change.
41149         * sysdeps/generic/math_private.h: Check whether
41150         HAVE_RM_CTX is defined with #ifdef rather
41151         than #if.
41153         * argp/argp-fmtstream.h: Check whether
41154         __STRICT_ANSI__ is defined with #ifdef rather
41155         than #if.
41156         * argp/argp.h: Likewise.
41158         * libio/genops.c: Check whether
41159         _IO_JUMPS_OFFSET is defined with #ifdef rather
41160         than #if.
41161         * libio/libioP.h: Likewise.
41162         * stdio-common/vfprintf.c: Likewise.
41164         * sysdeps/generic/ldsodefs.h: Check whether
41165         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
41166         than #if.
41168         * nptl/sysdeps/pthread/pthread.h: Check
41169         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
41170         its value.
41172 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
41174         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
41175         setting O_APPEND.
41176         * libio/tst-ftell-active-handler.c (do_append_test): Add a
41177         test case.
41179         [BZ #16680]
41180         * libio/fileops.c (_IO_file_open): Seek to end of file but
41181         don't cache the offset.
41182         (get_file_offset): Remove function.
41183         (do_ftell): Use cached offset when available.
41184         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
41185         don't cache the offset.
41186         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
41187         case.
41188         (do_one_test): Call it.
41189         (do_ftell_test): Fix up expected old offset for a+ mode.
41190         * libio/wfileops.c (do_ftell_wide): Used cached offset when
41191         available.
41193         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
41194         up test status with function return status.
41195         (do_write_test): Likewise.
41196         (do_append_test): Likewise.
41198         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
41199         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
41200         Remove.
41202 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
41204         * math/gen-libm-test.pl (parse_args): Handle results specified for
41205         each rounding mode separately.
41206         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
41207         tests and results from lrint_tonearest_test_data,
41208         lrint_towardzero_test_data, lrint_downward_test_data and
41209         lrint_upward_test_data.
41210         (lrint_test): Use ALL_RM_TEST.
41211         (lrint_tonearest_test_data): Remove.
41212         (lrint_test_tonearest): Likewise.
41213         (lrint_towardzero_test_data): Likewise.
41214         (lrint_test_towardzero): Likewise.
41215         (lrint_downward_test_data): Likewise.
41216         (lrint_test_downward): Likewise.
41217         (lrint_upward_test_data): Likewise.
41218         (lrint_test_upward): Likewise.
41219         (llrint_test_data): Merge in per-rounding-mode tests and results
41220         from llrint_tonearest_test_data, llrint_towardzero_test_data,
41221         llrint_downward_test_data and llrint_upward_test_data.
41222         (llrint_test): Use ALL_RM_TEST.
41223         (llrint_tonearest_test_data): Remove.
41224         (llrint_test_tonearest): Likewise.
41225         (llrint_towardzero_test_data): Likewise.
41226         (llrint_test_towardzero): Likewise.
41227         (llrint_downward_test_data): Likewise.
41228         (llrint_test_downward): Likewise.
41229         (llrint_upward_test_data): Likewise.
41230         (llrint_test_upward): Likewise.
41231         (rint_test_data): Merge in per-rounding-mode tests and results
41232         from rint_tonearest_test_data, rint_towardzero_test_data,
41233         rint_downward_test_data and rint_upward_test_data.  Add
41234         per-rounding-mode results for tests not in those arrays.
41235         (rint_test): Use ALL_RM_TEST.
41236         (rint_tonearest_test_data): Remove.
41237         (rint_test_tonearest): Likewise.
41238         (rint_towardzero_test_data): Likewise.
41239         (rint_test_towardzero): Likewise.
41240         (rint_downward_test_data): Likewise.
41241         (rint_test_downward): Likewise.
41242         (rint_upward_test_data): Likewise.
41243         (rint_test_upward): Likewise.
41244         (main): Don't call removed functions.
41246 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41248         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
41249         "Compiled on ..." crapola.  It is anti-useful.
41251 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
41253         * scripts/evaluate-test.sh: Handle fourth argument to determine
41254         whether test run should stop on failure.
41255         * Makeconfig (stop-on-test-failure): New variable.
41256         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
41257         $(stop-on-test-failure).
41258         * Makefile (tests): Give a summary of results from testing and
41259         exit with failure status if they include an ERROR or FAIL.
41260         (xtests): Likewise.
41261         * manual/install.texi (Configuring and compiling): Mention
41262         stop-on-test-failure=y.
41263         * INSTALL: Regenerated.
41265 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41267         * scripts/versionlist.awk: New file.
41268         * Makerules [$(build-shared) = yes]
41269         (postclean-generated): Add Versions.def, not Versions.def.v and
41270         Versions.def.v.i.
41271         ($(common-objpfx)Versions.def.v.i): Target removed.
41272         ($(common-objpfx)Versions.def): New target.
41273         ($(common-objpfx)Versions.all): Depend on that rather that
41274         $(common-objpfx)Versions.def.v.
41275         * Versions.def: File removed.
41277         * Makeconfig (+gccwarn): Add -Wundef.
41278         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
41279         a dl-sysdep.h breaking its contract.
41280         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
41281         * include/stackinfo.h: New file.
41282         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
41283         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
41284         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
41285         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
41286         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
41287         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
41288         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41289         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41290         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41291         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41292         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41293         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
41294         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41295         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41296         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
41298 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41300         [BZ #16707]
41301         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
41302         implementation.
41303         * math/libm-test.inc (round_test_data): Add more tests.
41305         [BZ #16706]
41306         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
41307         implementation.
41308         * math/libm-test.inc (nearbyint_test_data): Add more tests.
41310         [BZ #16701]
41311         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
41312         implementation.
41313         * math/libm-test.inc (ceil_test_data): Add more tests.
41315         * math/libm-test.inc (trunc_test_data): Add more tests related to
41316         BZ#16414.
41318 2014-03-14  Roland McGrath  <roland@hack.frob.com>
41320         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
41321         with #if rather than #ifdef.
41322         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
41324 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
41326         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
41327         first.  Disable AVX-512 GCC support if assembler doesn't support
41328         it.
41329         * sysdeps/x86_64/configure: Regenerated.
41331 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
41333         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
41334         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
41335         (__old_pthread_attr_setstack): Likewise.
41336         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
41337         [!_STACK_GROWS_DOWN]: Likewise.
41339 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
41341         * config.make.in (have-bash2): Delete.
41342         * configure.ac (libc_cv_have_bash2): Delete.
41343         * configure: Regenerate.
41344         * elf/Makefile (common-ldd-rewrite): Rename to ...
41345         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
41346         (sh-ldd-rewrite): Delete.
41347         (bash-ldd-rewrite): Delete.
41348         (have-bash2): Delete checks.
41349         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
41350         ldd-rewrite.
41352         * config.make.in (have-ksh): Delete.
41353         (KSH): Delete.
41354         * configure.ac (libc_cv_have_ksh): Delete.
41355         * configure: Regenerate.
41357         * elf/Makefile: Delete $(have-ksh) check.
41358         ($(objpfx)sotruss): Change KSH to BASH.
41359         * elf/sotruss.ksh: Rename to ...
41360         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
41361         function style to match POSIX.  Drop ksh vim mode setting.
41363         * manual/time.texi (Specifying the Time Zone with TZ): Change
41364         Tuesday to Thursday.
41366         * debug/tst-longjmp_chk2.c: Update header comment.
41367         (stackoverflow_handler): Add comment.  Call assert on pass value.
41369 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
41371         [BZ #16194]
41372         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
41373         (HAVE_AVX512_ASM_SUPPORT): Likewise.
41374         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
41375         (La_x86_64_vector): Add zmm.
41376         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
41377         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
41378         ($(objpfx)tst-audit10): New target.
41379         ($(objpfx)tst-audit10.out): Likewise.
41380         (tst-audit10-ENV): New.
41381         (AVX512-CFLAGS): Likewise.
41382         (CFLAGS-tst-audit10.c): Likewise.
41383         (CFLAGS-tst-auditmod10a.c): Likewise.
41384         (CFLAGS-tst-auditmod10b.c): Likewise.
41385         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
41386         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
41387         * sysdeps/x86_64/configure: Regenerated.
41388         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
41389         AVX-512 zmm register support.
41390         (_dl_x86_64_save_sse): Likewise.
41391         (_dl_x86_64_restore_sse): Likewise.
41392         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
41393         size vector registers.
41394         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
41395         (ZMM_SIZE): Likewise.
41396         * sysdeps/x86_64/tst-audit10.c: New file.
41397         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
41398         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
41400 2014-03-13  Roland McGrath  <roland@hack.frob.com>
41402         * configure.ac (HAVE_EHDR_START): New check.
41403         * configure: Regenerated.
41404         * config.h.in (HAVE_EHDR_START): New #undef.
41405         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
41406         assuming the lowest-addressed segment maps the start of the file.
41408 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
41410         * INSTALL: Regenerated.
41412 2014-03-13  Will Newton  <will.newton@linaro.org>
41414         * manual/setjmp.texi (System V contexts): Improve
41415         clarity and grammar of documentation.
41417 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
41419         [BZ #16381]
41420         * elf/Makefile (tests): Add tst-pie2.
41421         (tests-pie): Add tst-pie2.
41422         * elf/tst-pie2.c: New file.
41423         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
41424         for ET_EXEC.
41425         * elf/rtld.c (map_doit): Load executable as lt_executable.
41426         (dl_main): Likewise.
41428 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
41430         [BZ #16642]
41431         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41432         (__ASSUME_PSELECT): Undefine.
41434 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41436         [BZ #16689]
41437         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
41438         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
41439         static build.
41440         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
41441         selector for static builds.
41443 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41445         [BZ #16695]
41446         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
41447         key in the buffer.
41449 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41451         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
41452         IFUNC selector for static builds.
41454 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
41456         * sysdeps/mips/math_private.h [__mips_hard_float]
41457         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
41458         libc_feresetround_mips_ctx.
41459         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
41460         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
41461         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
41463         [BZ #16677]
41464         * math/s_nextafter.c (__nextafter): Do not return value from
41465         overflowing computation.
41466         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
41467         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
41468         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
41469         Likewise.
41470         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
41471         Likewise.
41472         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
41473         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
41475 2014-03-11  Roland McGrath  <roland@hack.frob.com>
41477         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
41478         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
41479         Move sfi_sp use from the load-multiple (that no longer sets sp) to
41480         the new mov targetting sp.
41482 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41484         [BZ #16683]
41485         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
41486         Define it for static builds as well.
41487         (NO_BZERO_IMPL): Likewise.
41489 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41491         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
41492         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
41493         multiarch strspn for PPC64.
41494         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
41495         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
41496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41497         (__libc_ifunc_impl_list): Likewise.
41498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
41499         multiarch optimizations
41500         * string/strspn.c (strspn): Using macro to redefine symbol name.
41502 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
41503             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41505         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
41506         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
41507         multiarch strncat for PPC64.
41508         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
41509         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
41510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41511         (__libc_ifunc_impl_list): Likewise.
41512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
41513         multiarch optimizations
41515 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41517         [BZ #16639]
41518         * nscd/nscd.service: Make service type forking.
41520 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41522         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
41523         sign in non default rounding modes.
41524         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
41526 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
41528         * math/libm-test.inc (ALL_RM_TEST): New macro.
41529         (ceil_test): Use ALL_RM_TEST.
41530         (cimag_test): Likewise.
41531         (conj_test): Likewise.
41532         (copysign_test): Likewise.
41533         (cproj_test): Likewise.
41534         (creal_test): Likewise.
41535         (fabs_test): Likewise.
41536         (floor_test): Likewise.
41537         (fmax_test): Likewise.
41538         (fmin_test): Likewise.
41539         (fmod_test): Likewise.
41540         (fpclassify_test): Likewise.
41541         (frexp_test): Likewise.
41542         (ilogb_test): Likewise.
41543         (isfinite_test): Likewise.
41544         (finite_test): Likewise.
41545         (isgreater_test): Likewise.
41546         (isgreaterequal_test): Likewise.
41547         (isinf_test): Likewise.
41548         (isless_test): Likewise.
41549         (islessequal_test): Likewise.
41550         (islessgreater_test): Likewise.
41551         (isnan_test): Likewise.
41552         (isnormal_test): Likewise.
41553         (issignaling_test): Likewise.
41554         (isunordered_test): Likewise.
41555         (logb_test): Likewise.
41556         (logb_downward_test_data): Remove.
41557         (logb_test_downward): Likewise.
41558         (lround_test): Use ALL_RM_TEST.
41559         (llround_test): Likewise.
41560         (modf_test): Likewise.
41561         (nexttoward_test): Likewise.
41562         (remainder_test): Likewise.
41563         (drem_test): Likewise.
41564         (remainder_tonearest_test_data): Likewise.
41565         (remainder_test_tonearest): Likewise.
41566         (drem_test_tonearest): Likewise.
41567         (remainder_towardzero_test_data): Likewise.
41568         (remainder_test_towardzero): Likewise.
41569         (drem_test_towardzero): Likewise.
41570         (remainder_downward_test_data): Likewise.
41571         (remainder_test_downward): Likewise.
41572         (drem_test_downward): Likewise.
41573         (remainder_upward_test_data): Likewise.
41574         (remainder_test_upward): Likewise.
41575         (drem_test_upward): Likewise.
41576         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
41577         (round_test): Use ALL_RM_TEST.
41578         (signbit_test): Likewise.
41579         (trunc_test): Likewise.
41580         (significand_test): Likewise.
41581         (main): Don't call removed functions.
41583 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41585         [BZ #16674]
41586         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
41587         || __USE_XOPEN2K8].
41588         (ILL_ILLOPN): Likewise.
41589         (ILL_ILLADR): Likewise.
41590         (ILL_ILLTRP): Likewise.
41591         (ILL_PRVOPC): Likewise.
41592         (ILL_PRVREG): Likewise.
41593         (ILL_COPROC): Likewise.
41594         (ILL_BADSTK): Likewise.
41595         (FPE_INTDIV): Likewise.
41596         (FPE_INTOVF): Likewise.
41597         (FPE_FLTDIV): Likewise.
41598         (FPE_FLTOVF): Likewise.
41599         (FPE_FLTUND): Likewise.
41600         (FPE_FLTRES): Likewise.
41601         (FPE_FLTINV): Likewise.
41602         (FPE_FLTSUB): Likewise.
41603         (SEGV_MAPERR): Likewise.
41604         (SEGV_ACCERR): Likewise.
41605         (BUS_ADRALN): Likewise.
41606         (BUS_ADRERR): Likewise.
41607         (BUS_OBJERR): Likewise.
41608         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41609         (TRAP_TRACE): Likewise.
41610         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41611         __USE_XOPEN2K8].
41612         (CLD_KILLED): Likewise.
41613         (CLD_DUMPED): Likewise.
41614         (CLD_TRAPPED): Likewise.
41615         (CLD_STOPPED): Likewise.
41616         (CLD_CONTINUED): Likewise.
41617         (POLL_IN): Likewise.
41618         (POLL_OUT): Likewise.
41619         (POLL_MSG): Likewise.
41620         (POLL_ERR): Likewise.
41621         (POLL_PRI): Likewise.
41622         (POLL_HUP): Likewise.
41623         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
41624         Likewise.
41625         (ILL_ILLOPN): Likewise.
41626         (ILL_ILLADR): Likewise.
41627         (ILL_ILLTRP): Likewise.
41628         (ILL_PRVOPC): Likewise.
41629         (ILL_PRVREG): Likewise.
41630         (ILL_COPROC): Likewise.
41631         (ILL_BADSTK): Likewise.
41632         (FPE_INTDIV): Likewise.
41633         (FPE_INTOVF): Likewise.
41634         (FPE_FLTDIV): Likewise.
41635         (FPE_FLTOVF): Likewise.
41636         (FPE_FLTUND): Likewise.
41637         (FPE_FLTRES): Likewise.
41638         (FPE_FLTINV): Likewise.
41639         (FPE_FLTSUB): Likewise.
41640         (SEGV_MAPERR): Likewise.
41641         (SEGV_ACCERR): Likewise.
41642         (BUS_ADRALN): Likewise.
41643         (BUS_ADRERR): Likewise.
41644         (BUS_OBJERR): Likewise.
41645         (BUS_MCEERR_AR): Likewise.
41646         (BUS_MCEERR_AO): Likewise.
41647         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41648         (TRAP_TRACE): Likewise.
41649         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41650         __USE_XOPEN2K8].
41651         (CLD_KILLED): Likewise.
41652         (CLD_DUMPED): Likewise.
41653         (CLD_TRAPPED): Likewise.
41654         (CLD_STOPPED): Likewise.
41655         (CLD_CONTINUED): Likewise.
41656         (POLL_IN): Likewise.
41657         (POLL_OUT): Likewise.
41658         (POLL_MSG): Likewise.
41659         (POLL_ERR): Likewise.
41660         (POLL_PRI): Likewise.
41661         (POLL_HUP): Likewise.
41662         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
41663         (ILL_ILLOPN): Likewise.
41664         (ILL_ILLADR): Likewise.
41665         (ILL_ILLTRP): Likewise.
41666         (ILL_PRVOPC): Likewise.
41667         (ILL_PRVREG): Likewise.
41668         (ILL_COPROC): Likewise.
41669         (ILL_BADSTK): Likewise.
41670         (FPE_INTDIV): Likewise.
41671         (FPE_INTOVF): Likewise.
41672         (FPE_FLTDIV): Likewise.
41673         (FPE_FLTOVF): Likewise.
41674         (FPE_FLTUND): Likewise.
41675         (FPE_FLTRES): Likewise.
41676         (FPE_FLTINV): Likewise.
41677         (FPE_FLTSUB): Likewise.
41678         (SEGV_MAPERR): Likewise.
41679         (SEGV_ACCERR): Likewise.
41680         (BUS_ADRALN): Likewise.
41681         (BUS_ADRERR): Likewise.
41682         (BUS_OBJERR): Likewise.
41683         (BUS_MCEERR_AR): Likewise.
41684         (BUS_MCEERR_AO): Likewise.
41685         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41686         (TRAP_TRACE): Likewise.
41687         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41688         __USE_XOPEN2K8].
41689         (CLD_KILLED): Likewise.
41690         (CLD_DUMPED): Likewise.
41691         (CLD_TRAPPED): Likewise.
41692         (CLD_STOPPED): Likewise.
41693         (CLD_CONTINUED): Likewise.
41694         (POLL_IN): Likewise.
41695         (POLL_OUT): Likewise.
41696         (POLL_MSG): Likewise.
41697         (POLL_ERR): Likewise.
41698         (POLL_PRI): Likewise.
41699         (POLL_HUP): Likewise.
41700         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
41701         Likewise.
41702         (ILL_ILLOPN): Likewise.
41703         (ILL_ILLADR): Likewise.
41704         (ILL_ILLTRP): Likewise.
41705         (ILL_PRVOPC): Likewise.
41706         (ILL_PRVREG): Likewise.
41707         (ILL_COPROC): Likewise.
41708         (ILL_BADSTK): Likewise.
41709         (ILL_BADIADDR): Likewise.
41710         (ILL_BREAK): Likewise.
41711         (FPE_INTDIV): Likewise.
41712         (FPE_INTOVF): Likewise.
41713         (FPE_FLTDIV): Likewise.
41714         (FPE_FLTOVF): Likewise.
41715         (FPE_FLTUND): Likewise.
41716         (FPE_FLTRES): Likewise.
41717         (FPE_FLTINV): Likewise.
41718         (FPE_FLTSUB): Likewise.
41719         (FPE_DECOVF): Likewise.
41720         (FPE_DECDIV): Likewise.
41721         (FPE_DECERR): Likewise.
41722         (FPE_INVASC): Likewise.
41723         (FPE_INVDEC): Likewise.
41724         (SEGV_MAPERR): Likewise.
41725         (SEGV_ACCERR): Likewise.
41726         (SEGV_PSTKOVF): Likewise.
41727         (BUS_ADRALN): Likewise.
41728         (BUS_ADRERR): Likewise.
41729         (BUS_OBJERR): Likewise.
41730         (BUS_MCEERR_AR): Likewise.
41731         (BUS_MCEERR_AO): Likewise.
41732         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41733         (TRAP_TRACE): Likewise.
41734         (TRAP_BRANCH): Likewise.
41735         (TRAP_HWBKPT): Likewise.
41736         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41737         __USE_XOPEN2K8].
41738         (CLD_KILLED): Likewise.
41739         (CLD_DUMPED): Likewise.
41740         (CLD_TRAPPED): Likewise.
41741         (CLD_STOPPED): Likewise.
41742         (CLD_CONTINUED): Likewise.
41743         (POLL_IN): Likewise.
41744         (POLL_OUT): Likewise.
41745         (POLL_MSG): Likewise.
41746         (POLL_ERR): Likewise.
41747         (POLL_PRI): Likewise.
41748         (POLL_HUP): Likewise.
41749         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
41750         (ILL_ILLOPN): Likewise.
41751         (ILL_ILLADR): Likewise.
41752         (ILL_ILLTRP): Likewise.
41753         (ILL_PRVOPC): Likewise.
41754         (ILL_PRVREG): Likewise.
41755         (ILL_COPROC): Likewise.
41756         (ILL_BADSTK): Likewise.
41757         (FPE_INTDIV): Likewise.
41758         (FPE_INTOVF): Likewise.
41759         (FPE_FLTDIV): Likewise.
41760         (FPE_FLTOVF): Likewise.
41761         (FPE_FLTUND): Likewise.
41762         (FPE_FLTRES): Likewise.
41763         (FPE_FLTINV): Likewise.
41764         (FPE_FLTSUB): Likewise.
41765         (SEGV_MAPERR): Likewise.
41766         (SEGV_ACCERR): Likewise.
41767         (BUS_ADRALN): Likewise.
41768         (BUS_ADRERR): Likewise.
41769         (BUS_OBJERR): Likewise.
41770         (BUS_MCEERR_AR): Likewise.
41771         (BUS_MCEERR_AO): Likewise.
41772         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41773         (TRAP_TRACE): Likewise.
41774         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41775         __USE_XOPEN2K8].
41776         (CLD_KILLED): Likewise.
41777         (CLD_DUMPED): Likewise.
41778         (CLD_TRAPPED): Likewise.
41779         (CLD_STOPPED): Likewise.
41780         (CLD_CONTINUED): Likewise.
41781         (POLL_IN): Likewise.
41782         (POLL_OUT): Likewise.
41783         (POLL_MSG): Likewise.
41784         (POLL_ERR): Likewise.
41785         (POLL_PRI): Likewise.
41786         (POLL_HUP): Likewise.
41787         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
41788         (ILL_ILLOPN): Likewise.
41789         (ILL_ILLADR): Likewise.
41790         (ILL_ILLTRP): Likewise.
41791         (ILL_PRVOPC): Likewise.
41792         (ILL_PRVREG): Likewise.
41793         (ILL_COPROC): Likewise.
41794         (ILL_BADSTK): Likewise.
41795         (FPE_INTDIV): Likewise.
41796         (FPE_INTOVF): Likewise.
41797         (FPE_FLTDIV): Likewise.
41798         (FPE_FLTOVF): Likewise.
41799         (FPE_FLTUND): Likewise.
41800         (FPE_FLTRES): Likewise.
41801         (FPE_FLTINV): Likewise.
41802         (FPE_FLTSUB): Likewise.
41803         (SEGV_MAPERR): Likewise.
41804         (SEGV_ACCERR): Likewise.
41805         (BUS_ADRALN): Likewise.
41806         (BUS_ADRERR): Likewise.
41807         (BUS_OBJERR): Likewise.
41808         (BUS_MCEERR_AR): Likewise.
41809         (BUS_MCEERR_AO): Likewise.
41810         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41811         (TRAP_TRACE): Likewise.
41812         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41813         __USE_XOPEN2K8].
41814         (CLD_KILLED): Likewise.
41815         (CLD_DUMPED): Likewise.
41816         (CLD_TRAPPED): Likewise.
41817         (CLD_STOPPED): Likewise.
41818         (CLD_CONTINUED): Likewise.
41819         (POLL_IN): Likewise.
41820         (POLL_OUT): Likewise.
41821         (POLL_MSG): Likewise.
41822         (POLL_ERR): Likewise.
41823         (POLL_PRI): Likewise.
41824         (POLL_HUP): Likewise.
41825         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
41826         (ILL_ILLOPN): Likewise.
41827         (ILL_ILLADR): Likewise.
41828         (ILL_ILLTRP): Likewise.
41829         (ILL_PRVOPC): Likewise.
41830         (ILL_PRVREG): Likewise.
41831         (ILL_COPROC): Likewise.
41832         (ILL_BADSTK): Likewise.
41833         (FPE_INTDIV): Likewise.
41834         (FPE_INTOVF): Likewise.
41835         (FPE_FLTDIV): Likewise.
41836         (FPE_FLTOVF): Likewise.
41837         (FPE_FLTUND): Likewise.
41838         (FPE_FLTRES): Likewise.
41839         (FPE_FLTINV): Likewise.
41840         (FPE_FLTSUB): Likewise.
41841         (SEGV_MAPERR): Likewise.
41842         (SEGV_ACCERR): Likewise.
41843         (BUS_ADRALN): Likewise.
41844         (BUS_ADRERR): Likewise.
41845         (BUS_OBJERR): Likewise.
41846         (BUS_MCEERR_AR): Likewise.
41847         (BUS_MCEERR_AO): Likewise.
41848         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41849         (TRAP_TRACE): Likewise.
41850         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41851         __USE_XOPEN2K8].
41852         (CLD_KILLED): Likewise.
41853         (CLD_DUMPED): Likewise.
41854         (CLD_TRAPPED): Likewise.
41855         (CLD_STOPPED): Likewise.
41856         (CLD_CONTINUED): Likewise.
41857         (POLL_IN): Likewise.
41858         (POLL_OUT): Likewise.
41859         (POLL_MSG): Likewise.
41860         (POLL_ERR): Likewise.
41861         (POLL_PRI): Likewise.
41862         (POLL_HUP): Likewise.
41863         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
41864         (ILL_ILLOPN): Likewise.
41865         (ILL_ILLADR): Likewise.
41866         (ILL_ILLTRP): Likewise.
41867         (ILL_PRVOPC): Likewise.
41868         (ILL_PRVREG): Likewise.
41869         (ILL_COPROC): Likewise.
41870         (ILL_BADSTK): Likewise.
41871         (ILL_DBLFLT): Likewise.
41872         (ILL_HARDWALL): Likewise.
41873         (FPE_INTDIV): Likewise.
41874         (FPE_INTOVF): Likewise.
41875         (FPE_FLTDIV): Likewise.
41876         (FPE_FLTOVF): Likewise.
41877         (FPE_FLTUND): Likewise.
41878         (FPE_FLTRES): Likewise.
41879         (FPE_FLTINV): Likewise.
41880         (FPE_FLTSUB): Likewise.
41881         (SEGV_MAPERR): Likewise.
41882         (SEGV_ACCERR): Likewise.
41883         (BUS_ADRALN): Likewise.
41884         (BUS_ADRERR): Likewise.
41885         (BUS_OBJERR): Likewise.
41886         (BUS_MCEERR_AR): Likewise.
41887         (BUS_MCEERR_AO): Likewise.
41888         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41889         (TRAP_TRACE): Likewise.
41890         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41891         __USE_XOPEN2K8].
41892         (CLD_KILLED): Likewise.
41893         (CLD_DUMPED): Likewise.
41894         (CLD_TRAPPED): Likewise.
41895         (CLD_STOPPED): Likewise.
41896         (CLD_CONTINUED): Likewise.
41897         (POLL_IN): Likewise.
41898         (POLL_OUT): Likewise.
41899         (POLL_MSG): Likewise.
41900         (POLL_ERR): Likewise.
41901         (POLL_PRI): Likewise.
41902         (POLL_HUP): Likewise.
41903         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
41904         (ILL_ILLOPN): Likewise.
41905         (ILL_ILLADR): Likewise.
41906         (ILL_ILLTRP): Likewise.
41907         (ILL_PRVOPC): Likewise.
41908         (ILL_PRVREG): Likewise.
41909         (ILL_COPROC): Likewise.
41910         (ILL_BADSTK): Likewise.
41911         (FPE_INTDIV): Likewise.
41912         (FPE_INTOVF): Likewise.
41913         (FPE_FLTDIV): Likewise.
41914         (FPE_FLTOVF): Likewise.
41915         (FPE_FLTUND): Likewise.
41916         (FPE_FLTRES): Likewise.
41917         (FPE_FLTINV): Likewise.
41918         (FPE_FLTSUB): Likewise.
41919         (SEGV_MAPERR): Likewise.
41920         (SEGV_ACCERR): Likewise.
41921         (BUS_ADRALN): Likewise.
41922         (BUS_ADRERR): Likewise.
41923         (BUS_OBJERR): Likewise.
41924         (BUS_MCEERR_AR): Likewise.
41925         (BUS_MCEERR_AO): Likewise.
41926         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
41927         (TRAP_TRACE): Likewise.
41928         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
41929         __USE_XOPEN2K8].
41930         (CLD_KILLED): Likewise.
41931         (CLD_DUMPED): Likewise.
41932         (CLD_TRAPPED): Likewise.
41933         (CLD_STOPPED): Likewise.
41934         (CLD_CONTINUED): Likewise.
41935         (POLL_IN): Likewise.
41936         (POLL_OUT): Likewise.
41937         (POLL_MSG): Likewise.
41938         (POLL_ERR): Likewise.
41939         (POLL_PRI): Likewise.
41940         (POLL_HUP): Likewise.
41941         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
41942         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
41944         [BZ #16670]
41945         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
41946         before #include of <time.h>.
41947         [!__USE_XOPEN2K] (__need_timespec): Likewise.
41948         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
41949         (test-xfail-UNIX98/sched.h/conform): Likewise.
41951 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41953         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
41954         error absence of trapping exception support.
41955         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
41957 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
41959         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
41960         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
41961         * timezone/Makefile (testdata): Move definition above include of
41962         Rules.
41963         (test-zones): New variable.
41964         (tests-special): Add zone files.
41965         (build-testdata): Use $(evaluate-test).
41967         * elf/Makefile (tests-special): Rename tests to end with .out.
41968         ($(objpfx)noload-mem): Likewise.
41969         ($(objpfx)tst-leaks1-mem): Likewise.
41970         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
41971         * iconv/Makefile (xtests-special): Change test-iconvconfig to
41972         $(objpfx)test-iconvconfig.out.
41973         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
41974         set -e inside subshell and redirect output to file.
41975         * iconvdata/Makefile (generated): Rename tests to end with .out.
41976         Correct type.
41977         (tests-special): Rename tests to end with .out.
41978         ($(objpfx)mtrace-tst-loading): Likewise.
41979         * intl/Makefile (generated): Likewise.
41980         (tests-special): Likewise.
41981         ($(objpfx)mtrace-tst-gettext): Likewise.
41982         * misc/Makefile (generated): Likewise.
41983         (tests-special): Likewise.
41984         ($(objpfx)tst-error1-mem): Likewise.
41985         * nptl/Makefile (tests-special): Likewise.
41986         ($(objpfx)tst-stack3-mem): Likewise.
41987         (generated): Likewise.
41988         * posix/Makefile (generated): Likewise.
41989         (tests-special): Likewise.
41990         (xtests-special): Likewise.
41991         ($(objpfx)tst-fnmatch-mem): Likewise.
41992         ($(objpfx)bug-regex2-mem): Likewise.
41993         ($(objpfx)bug-regex14-mem): Likewise.
41994         ($(objpfx)bug-regex21-mem): Likewise.
41995         ($(objpfx)bug-regex31-mem): Likewise.
41996         ($(objpfx)tst-vfork3-mem): Likewise.
41997         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41998         ($(objpfx)tst-pcre-mem): Likewise.
41999         ($(objpfx)tst-boost-mem): Likewise.
42000         ($(objpfx)bug-ga2-mem): Likewise.
42001         ($(objpfx)bug-glob2-mem): Likewise.
42002         * resolv/Makefile (generate): Likewise.
42003         (tests-special): Likewise.
42004         (xtests-special): Likewise.
42005         (generated): Likewise.
42006         ($(objpfx)mtrace-tst-leaks): Likewise.
42007         ($(objpfx)mtrace-tst-leaks2): Likewise.
42009         * scripts/merge-test-results.sh: New file.
42010         * Makefile (tests-special-notdir): New variable.
42011         (tests): Run merge-test-results.sh.
42012         (xtests): Likewise.
42013         * Rules (tests-special-notdir): New variable.
42014         (xtests-special-notdir): Likewise.
42015         (tests): Run merge-test-results.sh
42016         (xtests): Likewise.
42018         * Makeconfig (test-xfail-name): New variable.
42019         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
42020         compute variable name for expected failures.
42021         * conform/Makefile (conformtest-headers-data): New variable.
42022         (conformtest-standards): Likewise.
42023         (conformtest-headers-ISO): Likewise.
42024         (conformtest-headers-ISO99): Likewise.
42025         (conformtest-headers-ISO11): Likewise.
42026         (conformtest-headers-POSIX): Likewise.
42027         (conformtest-headers-XPG3): Likewise.
42028         (conformtest-headers-XPG4): Likewise.
42029         (conformtest-headers-UNIX98): Likewise.
42030         (conformtest-headers-XOPEN2K): Likewise.
42031         (conformtest-headers-POSIX2008): Likewise.
42032         (conformtest-headers-XOPEN2K8): Likewise.
42033         (conformtest-header-list-base): Likewise.
42034         (conformtest-header-list-tests): Likewise.
42035         (conformtest-header-base): Likewise.
42036         (conformtest-header-tests): Likewise.
42037         (tests-special): Add $(conformtest-header-list-tests).  If
42038         [$(fast-check) && !$(cross-compiling)], add
42039         $(conformtest-header-tests) instead of
42040         $(objpfx)run-conformtest.out.
42041         (generated): Add $(conformtest-header-list-base).  If
42042         [$(fast-check) && !$(cross-compiling)], add
42043         $(conformtest-header-base).  Remove previous setting.
42044         ($(conformtest-header-list-tests)): New target.
42045         (test-xfail-run-conformtest): Remove variable.
42046         ($(objpfx)run-conformtest.out): Remove target.
42047         (test-xfail-ISO11/complex.h/conform): New variable.
42048         (test-xfail-ISO11/stdalign.h/conform): Likewise.
42049         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
42050         (test-xfail-XPG3/varargs.h/conform): Likewise.
42051         (test-xfail-XPG4/varargs.h/conform): Likewise.
42052         (test-xfail-UNIX98/varargs.h/conform): Likewise.
42053         (test-xfail-XPG4/ndbm.h/conform): Likewise.
42054         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
42055         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
42056         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
42057         (test-xfail-XPG3/fcntl.h/conform): Likewise.
42058         (test-xfail-XPG3/ftw.h/conform): Likewise.
42059         (test-xfail-XPG3/grp.h/conform): Likewise.
42060         (test-xfail-XPG3/langinfo.h/conform): Likewise.
42061         (test-xfail-XPG3/limits.h/conform): Likewise.
42062         (test-xfail-XPG3/pwd.h/conform): Likewise.
42063         (test-xfail-XPG3/search.h/conform): Likewise.
42064         (test-xfail-XPG3/signal.h/conform): Likewise.
42065         (test-xfail-XPG3/stdio.h/conform): Likewise.
42066         (test-xfail-XPG3/stdlib.h/conform): Likewise.
42067         (test-xfail-XPG3/string.h/conform): Likewise.
42068         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
42069         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
42070         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
42071         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
42072         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
42073         (test-xfail-XPG3/sys/types.h/conform): Likewise.
42074         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
42075         (test-xfail-XPG3/termios.h/conform): Likewise.
42076         (test-xfail-XPG3/time.h/conform): Likewise.
42077         (test-xfail-XPG3/unistd.h/conform): Likewise.
42078         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
42079         (test-xfail-XPG4/fcntl.h/conform): Likewise.
42080         (test-xfail-XPG4/langinfo.h/conform): Likewise.
42081         (test-xfail-XPG4/netdb.h/conform): Likewise.
42082         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
42083         (test-xfail-XPG4/signal.h/conform): Likewise.
42084         (test-xfail-XPG4/stdio.h/conform): Likewise.
42085         (test-xfail-XPG4/stdlib.h/conform): Likewise.
42086         (test-xfail-XPG4/stropts.h/conform): Likewise.
42087         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
42088         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
42089         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
42090         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
42091         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
42092         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
42093         (test-xfail-XPG4/sys/time.h/conform): Likewise.
42094         (test-xfail-XPG4/sys/types.h/conform): Likewise.
42095         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
42096         (test-xfail-XPG4/termios.h/conform): Likewise.
42097         (test-xfail-XPG4/ucontext.h/conform): Likewise.
42098         (test-xfail-XPG4/unistd.h/conform): Likewise.
42099         (test-xfail-XPG4/utmpx.h/conform): Likewise.
42100         (test-xfail-POSIX/sched.h/conform): Likewise.
42101         (test-xfail-POSIX/signal.h/conform): Likewise.
42102         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
42103         (test-xfail-POSIX/tar.h/conform): Likewise.
42104         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
42105         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
42106         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
42107         (test-xfail-UNIX98/netdb.h/conform): Likewise.
42108         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
42109         (test-xfail-UNIX98/sched.h/conform): Likewise.
42110         (test-xfail-UNIX98/signal.h/conform): Likewise.
42111         (test-xfail-UNIX98/stdio.h/conform): Likewise.
42112         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
42113         (test-xfail-UNIX98/stropts.h/conform): Likewise.
42114         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
42115         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
42116         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
42117         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
42118         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
42119         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
42120         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
42121         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
42122         (test-xfail-UNIX98/unistd.h/conform): Likewise.
42123         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
42124         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
42125         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
42126         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
42127         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
42128         (test-xfail-XOPEN2K/math.h/conform): Likewise.
42129         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
42130         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
42131         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
42132         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
42133         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
42134         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
42135         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
42136         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
42137         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
42138         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
42139         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
42140         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
42141         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
42142         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
42143         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
42144         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
42145         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
42146         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
42147         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
42148         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
42149         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
42150         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
42151         (test-xfail-POSIX2008/signal.h/conform): Likewise.
42152         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
42153         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
42154         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
42155         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
42156         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
42157         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
42158         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
42159         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
42160         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
42161         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
42162         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
42163         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
42164         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
42165         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
42166         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
42167         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
42168         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
42169         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
42170         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
42171         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
42172         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
42173         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
42174         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
42175         (conformtest-cc-flags): Likewise.
42176         ($(conformtest-header-tests): New target.
42177         * conform/check-header-lists.sh: New file.
42178         * conform/run-conformtest.sh: Remove.
42180         * conform/conformtest.pl: Allow ' and \ in values given for
42181         constants.
42182         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
42183         inclusion.
42184         [POSIX] (sys/types.h): Likewise.
42185         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
42186         inclusion.
42187         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
42188         inclusion.
42189         * conform/data/signal.h-data (SIGIO): Remove expectation.
42190         [XPG3] (SIGBUS): Do not expect.
42191         [POSIX || XPG3] (SIGPOLL): Likewise.
42192         [POSIX || XPG3] (SIGPROF): Likewise.
42193         [POSIX || XPG3] (SIGSYS): Likewise.
42194         [XPG3] (SIGTRAP): Likewise.
42195         [POSIX || XPG3] (SIGURG): Likewise.
42196         [POSIX || XPG3] (SIGVTALRM): Likewise.
42197         [POSIX || XPG3] (SIGXCPU): Likewise.
42198         [POSIX || XPG3] (SIGXFSZ): Likewise.
42199         [POSIX] (SA_SIGINFO): Expect.
42200         [XPG3] (siginfo_t): Do not expect type or contents.
42201         [POSIX] (si_pid): Do not expect element.
42202         [POSIX] (si_uid): Likewise.
42203         [POSIX] (si_addr): Likewise.
42204         [POSIX] (si_status): Likewise.
42205         [POSIX] (si_band): Likewise.
42206         [XPG4] (si_value): Likewise.
42207         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
42208         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
42209         [POSIX || XPG3] (ILL_ILLADR): Likewise.
42210         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
42211         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
42212         [POSIX || XPG3] (ILL_PRVREG): Likewise.
42213         [POSIX || XPG3] (ILL_COPROC): Likewise.
42214         [POSIX || XPG3] (ILL_BADSTK): Likewise.
42215         [POSIX || XPG3] (FPE_INTDIV): Likewise.
42216         [POSIX || XPG3] (FPE_INTOVF): Likewise.
42217         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
42218         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
42219         [POSIX || XPG3] (FPE_FLTUND): Likewise.
42220         [POSIX || XPG3] (FPE_FLTRES): Likewise.
42221         [POSIX || XPG3] (FPE_FLTINV): Likewise.
42222         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
42223         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
42224         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
42225         [POSIX || XPG3] (BUS_ADRALN): Likewise.
42226         [POSIX || XPG3] (BUS_ADRERR): Likewise.
42227         [POSIX || XPG3] (BUS_OBJERR): Likewise.
42228         [POSIX || XPG3] (CLD_EXITED): Likewise.
42229         [POSIX || XPG3] (CLD_KILLED): Likewise.
42230         [POSIX || XPG3] (CLD_DUMPED): Likewise.
42231         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
42232         [POSIX || XPG3] (CLD_STOPPED): Likewise.
42233         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
42234         [POSIX || XPG3] (POLL_IN): Likewise.
42235         [POSIX || XPG3] (POLL_OUT): Likewise.
42236         [POSIX || XPG3] (POLL_MSG): Likewise.
42237         [POSIX || XPG3] (POLL_ERR): Likewise.
42238         [POSIX || XPG3] (POLL_PRI): Likewise.
42239         [POSIX || XPG3] (POLL_HUP): Likewise.
42240         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
42241         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
42242         (SIG*): Do not allow.
42243         [XPG3] (si_*): Likewise.
42244         [XPG3] (SI_*): Likewise.
42245         [XPG3 || XPG4] (sigev_*): Likewise.
42246         [XPG3 || XPG4] (SIGEV_*): Likewise.
42247         [XPG3 || XPG4] (sival_*): Likewise.
42248         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
42249         [POSIX || XPG3] (BUS_*): Likewise.
42250         [POSIX || XPG3] (CLD_*): Likewise.
42251         [POSIX || XPG3] (FPE_*): Likewise.
42252         [POSIX || XPG3] (ILL_*): Likewise.
42253         [POSIX || XPG3] (POLL_*): Likewise.
42254         [POSIX || XPG3] (SEGV_*): Likewise.
42255         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
42256         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
42257         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
42258         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
42259         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
42260         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
42261         Specify type and value.
42262         (TVERSLEN): Likewise.
42263         (REGTYPE): Likewise.
42264         (AREGTYPE): Likewise.
42265         (LNKTYPE): Likewise.
42266         (SYMTYPE): Likewise.
42267         (CHRTYPE): Likewise.
42268         (BLKTYPE): Likewise.
42269         (DIRTYPE): Likewise.
42270         (FIFOTYPE): Likewise.
42271         (CONTTYPE): Likewise.
42272         (TSUID): Likewise.
42273         (TSGID): Likewise.
42274         (TSVTX): Likewise.
42275         (TUREAD): Likewise.
42276         (TUWRITE): Likewise.
42277         (TUEXEC): Likewise.
42278         (TGREAD): Likewise.
42279         (TGWRITE): Likewise.
42280         (TGEXEC): Likewise.
42281         (TOREAD): Likewise.
42282         (TOWRITE): Likewise.
42283         (TOEXEC): Likewise.
42284         [POSIX] (TSVTX): Expect constant.
42286 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
42288         * Makefile (tests): Change dependencies to ....
42289         (tests-special): ... additions to this variable.
42290         (tests): Depend on $(tests-special).
42291         * Makerules (check-abi-list): New variable.
42292         (check-abi): Depend on $(check-abi-list).
42293         [$(subdir) = elf] (tests-special): Add
42294         $(objpfx)check-abi-libc.out.
42295         [$(build-shared) = yes && subdir] (tests-special): Add
42296         $(check-abi-list).
42297         [$(build-shared) = yes && subdir] (tests): Do not depend on
42298         check-abi.
42299         * Rules (tests): Depend on $(tests-special).
42300         (xtests): Depend on $(xtests-special).
42301         * catgets/Makefile (tests): Change dependencies to ....
42302         (tests-special): ... additions to this variable.
42303         * conform/Makefile (tests): Change dependencies to ....
42304         (tests-special): ... additions to this variable.
42305         * elf/Makefile (tests): Change dependencies to ....
42306         (tests-special): ... additions to this variable.
42307         * grp/Makefile (tests): Change dependencies to ....
42308         (tests-special): ... additions to this variable.
42309         * iconv/Makefile (xtests): Change dependencies to ....
42310         (xtests-special): ... additions to this variable.
42311         * iconvdata/Makefile (tests): Change dependencies to ....
42312         (tests-special): ... additions to this variable.
42313         * intl/Makefile (tests): Change dependencies to ....
42314         (tests-special): ... additions to this variable.  Also add
42315         $(objpfx)tst-gettext.out.
42316         * io/Makefile (tests): Change dependencies to ....
42317         (tests-special): ... additions to this variable.
42318         * libio/Makefile (tests): Change dependencies to ....
42319         (tests-special): ... additions to this variable.
42320         * malloc/Makefile (tests): Change dependencies to ....
42321         (tests-special): ... additions to this variable.
42322         * misc/Makefile (tests): Change dependencies to ....
42323         (tests-special): ... additions to this variable.
42324         * nptl/Makefile (tests): Change dependencies to ....
42325         (tests-special): ... additions to this variable.
42326         * nptl_db/Makefile (tests): Change dependencies to ....
42327         (tests-special): ... additions to this variable.
42328         * posix/Makefile (tests): Change dependencies to ....
42329         (tests-special): ... additions to this variable.
42330         (xtests): Change dependencies to ....
42331         (xtests-special): ... additions to this variable.
42332         * resolv/Makefile (tests): Change dependencies to ....
42333         (tests-special): ... additions to this variable.
42334         (xtests): Change dependencies to ....
42335         (xtests-special): ... additions to this variable.
42336         * stdio-common/Makefile (tests): Change dependencies to ....
42337         (tests-special): ... additions to this variable.
42338         (do-tst-unbputc): Remove target.
42339         (do-tst-printf): Likewise.
42340         * stdlib/Makefile (tests): Change dependencies to ....
42341         (tests-special): ... additions to this variable.
42342         * string/Makefile (tests): Change dependencies to ....
42343         (tests-special): ... additions to this variable.
42344         * sysdeps/x86/Makefile (tests): Change dependencies to ....
42345         (tests-special): ... additions to this variable.
42347         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
42348         whole file.
42349         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
42350         whole file.
42351         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
42352         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
42354         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
42355         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
42356         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
42357         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
42358         * conform/data/libgen.h-data [XPG3]: Likewise.
42359         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
42360         * conform/data/ndbm.h-data [XPG3]: Likewise.
42361         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42362         * conform/data/netdb.h-data [XPG3]: Likewise.
42363         * conform/data/netinet/in.h-data [XPG3]: Likewise.
42364         * conform/data/poll.h-data [XPG3]: Likewise.
42365         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
42366         * conform/data/strings.h-data [XPG3]: Likewise.
42367         * conform/data/stropts.h-data [XPG3]: Likewise.
42368         * conform/data/sys/mman.h-data [XPG3]: Likewise.
42369         * conform/data/sys/resource.h-data [XPG3]: Likewise.
42370         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
42371         Likewise.
42372         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
42373         * conform/data/sys/time.h-data [XPG3]: Likewise.
42374         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
42375         * conform/data/sys/uio.h-data [XPG3]: Likewise.
42376         * conform/data/sys/un.h-data [XPG3]: Likewise.
42377         * conform/data/syslog.h-data [XPG3]: Likewise.
42378         * conform/data/ucontext.h-data [XPG3]: Likewise.
42379         * conform/data/utmpx.h-data [XPG3]: Likewise.
42380         * conform/data/varargs.h-data [UNIX98]: Enable file.
42382         * manual/Makefile (INSTALL_INFO): Remove variable setting.
42384         * math/libm-test.inc (struct test_f_f_data): Move expected results
42385         into structure for each rounding mode.
42386         (struct test_ff_f_data): Likewise.
42387         (struct test_ff_f_data_nexttoward): Likewise.
42388         (struct test_fi_f_data): Likewise.
42389         (struct test_fl_f_data): Likewise.
42390         (struct test_if_f_data): Likewise.
42391         (struct test_fff_f_data): Likewise.
42392         (struct test_c_f_data): Likewise.
42393         (struct test_f_f1_data): Likewise.
42394         (struct test_fF_f1_data): Likewise.
42395         (struct test_ffI_f1_data): Likewise.
42396         (struct test_c_c_data): Likewise.
42397         (struct test_cc_c_data): Likewise.
42398         (struct test_f_i_data): Likewise.
42399         (struct test_ff_i_data): Likewise.
42400         (struct test_f_l_data): Likewise.
42401         (struct test_f_L_data): Likewise.
42402         (struct test_fFF_11_data): Likewise.
42403         (RM_): New macro.
42404         (RM_FE_DOWNWARD): Likewise.
42405         (RM_FE_TONEAREST): Likewise.
42406         (RM_FE_TOWARDZERO): Likewise.
42407         (RM_FE_UPWARD): Likewise.
42408         (RUN_TEST_LOOP_f_f): Update references to expected results.
42409         (RUN_TEST_LOOP_2_f): Likewise.
42410         (RUN_TEST_LOOP_fff_f): Likewise.
42411         (RUN_TEST_LOOP_c_f): Likewise.
42412         (RUN_TEST_LOOP_f_f1): Likewise.
42413         (RUN_TEST_LOOP_fF_f1): Likewise.
42414         (RUN_TEST_LOOP_fI_f1): Likewise.
42415         (RUN_TEST_LOOP_ffI_f1): Likewise.
42416         (RUN_TEST_LOOP_c_c): Likewise.
42417         (RUN_TEST_LOOP_cc_c): Likewise.
42418         (RUN_TEST_LOOP_f_i): Likewise.
42419         (RUN_TEST_LOOP_f_i_tg): Likewise.
42420         (RUN_TEST_LOOP_ff_i_tg): Likewise.
42421         (RUN_TEST_LOOP_f_b): Likewise.
42422         (RUN_TEST_LOOP_f_b_tg): Likewise.
42423         (RUN_TEST_LOOP_f_l): Likewise.
42424         (RUN_TEST_LOOP_f_L): Likewise.
42425         (RUN_TEST_LOOP_fFF_11): Likewise.
42426         * math/gen-libm-test.pl (parse_args): Output four copies of
42427         expected results for each test.
42429         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42430         (__ASSUME_UTIMES): Remove.
42431         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42432         (__ASSUME_UTIMES): Likewise.
42434         * math/gen-auto-libm-tests.c: Update comment on output format.
42435         (output_for_one_input_case): Generate before-rounding and
42436         after-rounding information as conditions on output flags not
42437         floating-point format.
42438         * math/auto-libm-test-out: Regenerated.
42439         * math/gen-libm-test.pl (cond_value): New function.
42440         (or_cond_value): Use cond_value.
42441         (generate_testfile): Handle conditional exceptions.
42443 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
42445         * math/libm-test.inc (max_valid_error): New variable.
42446         (init_max_error): Take new argument specifying whether function
42447         results are exactly determined.  Set max_valid_error and bound
42448         other variables for errors based on this argument.
42449         (set_max_error): Do not record results above max_valid_error.
42450         (check_float_internal): Only accept errors of up to 0.5ulps if
42451         also at most max_valid_error.
42452         (START): Take new argument EXACT and pass it to init_max_error.
42453         (acos_test): Update call to START.
42454         (acos_test_tonearest): Likewise.
42455         (acos_test_towardzero): Likewise.
42456         (acos_test_downward): Likewise.
42457         (acos_test_upward): Likewise.
42458         (acosh_test): Likewise.
42459         (asin_test): Likewise.
42460         (asin_test_tonearest): Likewise.
42461         (asin_test_towardzero): Likewise.
42462         (asin_test_downward): Likewise.
42463         (asin_test_upward): Likewise.
42464         (asinh_test): Likewise.
42465         (atan_test): Likewise.
42466         (atanh_test): Likewise.
42467         (atan2_test): Likewise.
42468         (cabs_test): Likewise.
42469         (cacos_test): Likewise.
42470         (cacosh_test): Likewise.
42471         (carg_test): Likewise.
42472         (casin_test): Likewise.
42473         (casinh_test): Likewise.
42474         (catan_test): Likewise.
42475         (catanh_test): Likewise.
42476         (cbrt_test): Likewise.
42477         (ccos_test): Likewise.
42478         (ccosh_test): Likewise.
42479         (ceil_test): Likewise.
42480         (cexp_test): Likewise.
42481         (cimag_test): Likewise.
42482         (clog_test): Likewise.
42483         (clog10_test): Likewise.
42484         (conj_test): Likewise.
42485         (copysign_test): Likewise.
42486         (cos_test): Likewise.
42487         (cos_test_tonearest): Likewise.
42488         (cos_test_towardzero): Likewise.
42489         (cos_test_downward): Likewise.
42490         (cos_test_upward): Likewise.
42491         (cosh_test): Likewise.
42492         (cosh_test_tonearest): Likewise.
42493         (cosh_test_towardzero): Likewise.
42494         (cosh_test_downward): Likewise.
42495         (cosh_test_upward): Likewise.
42496         (cpow_test): Likewise.
42497         (cproj_test): Likewise.
42498         (creal_test): Likewise.
42499         (csin_test): Likewise.
42500         (csinh_test): Likewise.
42501         (csqrt_test): Likewise.
42502         (ctan_test): Likewise.
42503         (ctan_test_tonearest): Likewise.
42504         (ctan_test_towardzero): Likewise.
42505         (ctan_test_downward): Likewise.
42506         (ctan_test_upward): Likewise.
42507         (ctanh_test): Likewise.
42508         (ctanh_test_tonearest): Likewise.
42509         (ctanh_test_towardzero): Likewise.
42510         (ctanh_test_downward): Likewise.
42511         (ctanh_test_upward): Likewise.
42512         (erf_test): Likewise.
42513         (erfc_test): Likewise.
42514         (exp_test): Likewise.
42515         (exp_test_tonearest): Likewise.
42516         (exp_test_towardzero): Likewise.
42517         (exp_test_downward): Likewise.
42518         (exp_test_upward): Likewise.
42519         (exp10_test): Likewise.
42520         (exp10_test_tonearest): Likewise.
42521         (exp10_test_towardzero): Likewise.
42522         (exp10_test_downward): Likewise.
42523         (exp10_test_upward): Likewise.
42524         (pow10_test): Likewise.
42525         (exp2_test): Likewise.
42526         (expm1_test): Likewise.
42527         (expm1_test_tonearest): Likewise.
42528         (expm1_test_towardzero): Likewise.
42529         (expm1_test_downward): Likewise.
42530         (expm1_test_upward): Likewise.
42531         (fabs_test): Likewise.
42532         (fdim_test): Likewise.
42533         (floor_test): Likewise.
42534         (fma_test): Likewise.
42535         (fma_test_towardzero): Likewise.
42536         (fma_test_downward): Likewise.
42537         (fma_test_upward): Likewise.
42538         (fmax_test): Likewise.
42539         (fmin_test): Likewise.
42540         (fmod_test): Likewise.
42541         (fpclassify_test): Likewise.
42542         (frexp_test): Likewise.
42543         (hypot_test): Likewise.
42544         (ilogb_test): Likewise.
42545         (isfinite_test): Likewise.
42546         (finite_test): Likewise.
42547         (isgreater_test): Likewise.
42548         (isgreaterequal_test): Likewise.
42549         (isinf_test): Likewise.
42550         (isless_test): Likewise.
42551         (islessequal_test): Likewise.
42552         (islessgreater_test): Likewise.
42553         (isnan_test): Likewise.
42554         (isnormal_test): Likewise.
42555         (issignaling_test): Likewise.
42556         (isunordered_test): Likewise.
42557         (j0_test): Likewise.
42558         (j1_test): Likewise.
42559         (jn_test): Likewise.
42560         (ldexp_test): Likewise.
42561         (lgamma_test): Likewise.
42562         (gamma_test): Likewise.
42563         (lrint_test): Likewise.
42564         (lrint_test_tonearest): Likewise.
42565         (lrint_test_towardzero): Likewise.
42566         (lrint_test_downward): Likewise.
42567         (lrint_test_upward): Likewise.
42568         (llrint_test): Likewise.
42569         (llrint_test_tonearest): Likewise.
42570         (llrint_test_towardzero): Likewise.
42571         (llrint_test_downward): Likewise.
42572         (llrint_test_upward): Likewise.
42573         (log_test): Likewise.
42574         (log10_test): Likewise.
42575         (log1p_test): Likewise.
42576         (log2_test): Likewise.
42577         (logb_test): Likewise.
42578         (logb_test_downward): Likewise.
42579         (lround_test): Likewise.
42580         (llround_test): Likewise.
42581         (modf_test): Likewise.
42582         (nearbyint_test): Likewise.
42583         (nextafter_test): Likewise.
42584         (nexttoward_test): Likewise.
42585         (pow_test): Likewise.
42586         (pow_test_tonearest): Likewise.
42587         (pow_test_towardzero): Likewise.
42588         (pow_test_downward): Likewise.
42589         (pow_test_upward): Likewise.
42590         (remainder_test): Likewise.
42591         (drem_test): Likewise.
42592         (remainder_test_tonearest): Likewise.
42593         (drem_test_tonearest): Likewise.
42594         (remainder_test_towardzero): Likewise.
42595         (drem_test_towardzero): Likewise.
42596         (remainder_test_downward): Likewise.
42597         (drem_test_downward): Likewise.
42598         (remainder_test_upward): Likewise.
42599         (drem_test_upward): Likewise.
42600         (remquo_test): Likewise.
42601         (rint_test): Likewise.
42602         (rint_test_tonearest): Likewise.
42603         (rint_test_towardzero): Likewise.
42604         (rint_test_downward): Likewise.
42605         (rint_test_upward): Likewise.
42606         (round_test): Likewise.
42607         (scalb_test): Likewise.
42608         (scalbn_test): Likewise.
42609         (scalbln_test): Likewise.
42610         (signbit_test): Likewise.
42611         (sin_test): Likewise.
42612         (sin_test_tonearest): Likewise.
42613         (sin_test_towardzero): Likewise.
42614         (sin_test_downward): Likewise.
42615         (sin_test_upward): Likewise.
42616         (sincos_test): Likewise.
42617         (sinh_test): Likewise.
42618         (sinh_test_tonearest): Likewise.
42619         (sinh_test_towardzero): Likewise.
42620         (sinh_test_downward): Likewise.
42621         (sinh_test_upward): Likewise.
42622         (sqrt_test): Likewise.
42623         (sqrt_test_tonearest): Likewise.
42624         (sqrt_test_towardzero): Likewise.
42625         (sqrt_test_downward): Likewise.
42626         (sqrt_test_upward): Likewise.
42627         (tan_test): Likewise.
42628         (tan_test_tonearest): Likewise.
42629         (tan_test_towardzero): Likewise.
42630         (tan_test_downward): Likewise.
42631         (tan_test_upward): Likewise.
42632         (tanh_test): Likewise.
42633         (tgamma_test): Likewise.
42634         (trunc_test): Likewise.
42635         (y0_test): Likewise.
42636         (y1_test): Likewise.
42637         (yn_test): Likewise.
42638         (significand_test): Likewise.
42640         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
42641         individual tests in comment.
42642         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
42643         (prev_max_error): New variable.
42644         (prev_real_max_error): Likewise.
42645         (prev_imag_max_error): Likewise.
42646         (compare_ulp_data): Don't refer to test names in comment.
42647         (find_test_ulps): Remove function.
42648         (find_function_ulps): Likewise.
42649         (find_complex_function_ulps): Likewise.
42650         (init_max_error): Take function name as argument.  Look up ulps
42651         for that function.
42652         (print_ulps): Remove function.
42653         (print_max_error): Use prev_max_error instead of calling
42654         find_function_ulps.
42655         (print_complex_max_error): Use prev_real_max_error and
42656         prev_imag_max_error instead of calling find_complex_function_ulps.
42657         (check_float_internal): Take max_ulp parameter instead of calling
42658         find_test_ulps.  Don't call print_ulps.
42659         (check_float): Update call to check_float_internal.
42660         (check_complex): Update calls to check_float_internal.
42661         (START): Pass argument to init_max_error.
42662         * math/gen-libm-test.pl (%results): Don't include "kind"
42663         information.
42664         (parse_ulps): Don't handle ulps of individual tests.
42665         (print_ulps_file): Likewise.
42666         (output_ulps): Likewise.
42667         * math/README.libm-test: Update.
42668         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
42669         individual tests.
42670         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
42671         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
42672         * sysdeps/arm/libm-test-ulps: Likewise.
42673         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
42674         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
42675         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
42676         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
42677         * sysdeps/microblaze/libm-test-ulps: Likewise.
42678         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
42679         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
42680         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42681         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
42682         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42683         * sysdeps/sh/libm-test-ulps: Likewise.
42684         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42685         * sysdeps/tile/libm-test-ulps: Likewise.
42686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42688 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
42690         * math/libm-test.inc (print_complex_max_error): Check separately
42691         whether real and imaginary errors are within allowed range and
42692         pass 0 to print_complex_function_ulps instead of value within
42693         allowed range.
42695 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42697         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
42698         formatting.
42699         (get_handles_fopen): Likewise.
42700         (do_write_test): Likewise.
42702         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
42704         * libio/fileops.c (do_ftell): Use cached offset when
42705         available.
42706         * libio/iofwide.c (do_ftell_wide): Likewise.
42707         * libio/iofdopen.c (_IO_new_fdopen): Don't use
42708         _IO_file_attach.
42709         * libio/wfileops.c (_IO_fwide): Don't cache offset.
42711         [BZ #16532]
42712         * libio/libioP.h (get_file_offset): New function.
42713         * libio/fileops.c (get_file_offset): Likewise.
42714         (do_ftell): Likewise.
42715         (_IO_new_file_seekoff): Split out ftell logic.
42716         * libio/wfileops.c (do_ftell_wide): Likewise.
42717         (_IO_wfile_seekoff): Split out ftell logic.
42718         * libio/tst-ftell-active-handler.c: New test case.
42719         * libio/Makefile (tests): Add it.
42721 2014-03-03  Roland McGrath  <roland@hack.frob.com>
42723         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
42724         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
42726 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
42728         [BZ #16639]
42729         * nscd/connections.c (nscd_init): Call do_exit.
42730         (start_threads): Call do_exit and notify_parent.
42731         (begin_drop_privileges): Call do_exit.
42732         (finish_drop_privileges): Likewise.
42733         * nscd/selinux.c (preserve_capabilities): Likewise.
42734         (install_real_capabilities): Likewise.
42735         (nscd_selinux_enabled): Likewise.
42736         (avc_create_thread): Likewise.
42737         (avc_alloc_lock): Likewise.
42738         (nscd_avc_init): Likewise.
42739         * nscd/nscd.c (parent_fd): New static variable.
42740         (main): Create a pipe between parent and child processes.
42741         Skip closing parent_fd.
42742         (monitor_child): New function.
42743         (do_exit): Likewise.
42744         (notify_parent): Likewise.
42745         * nscd/nscd.h (notify_parent): Likewise.
42746         (do_exit): Likewise.
42748 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
42750         * malloc/malloc.c (__libc_calloc): Revert last change.
42752 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42754         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42756 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42758         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
42759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
42760         implementation.
42761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42762         (__libc_ifunc_impl_list): Likewise.
42763         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
42764         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
42765         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
42766         * string/strrchr.c: Define STRRCHR.
42768 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
42770         * benchtest/bench-strtok.c (simple_strtok): Delete.
42771         (strtok_string): Use as benchmark.
42772         * string/strtok (STRTOK): New macro.
42774 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
42776         * manual/threads.texi: Add header and standard comments to all
42777         functions.
42779         * elf/dl-lookup.c (check_match): New function.
42780         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
42781         (do_lookup_x): Remove nested function check_match. Use non-nested
42782         function check_match.
42784 2014-02-28  Roland McGrath  <roland@hack.frob.com>
42786         * csu/Makefile (generated, before-compile): Use += rather than =.
42787         * catgets/Makefile (generated, generated-dirs): Likewise.
42788         * debug/Makefile (generated): Likewise.
42789         * dlfcn/Makefile (generated): Likewise.
42790         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
42791         * iconvdata/Makefile (before-compile, generated): Likewise.
42792         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
42793         * libio/Makefile (generated): Likewise.
42794         * malloc/Makefile (generated): Likewise.
42795         * manual/Makefile (generated, generated-dirs): Likewise.
42796         * misc/Makefile (generated): Likewise.
42797         * posix/Makefile (generated): Likewise.
42798         * resolv/Makefile (generated): Likewise.
42799         * sunrpc/Makefile (generated, generated-dirs): Likewise.
42800         * timezone/Makefile (generated, generated-dirs): Likewise.
42802         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
42804 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42807         power8 implementation.
42808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
42809         file: POWER8 llround ifunc implementation.
42810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
42811         (__lllround): Add POWER8 implementation.
42812         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
42813         POWER8 llround implementation.
42815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
42816         power8 implementation.
42817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
42818         file: POWER8 llrint ifunc implementation.
42819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
42820         Add POWER8 implementation.
42821         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
42822         POWER8 llrint implementation.
42824         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
42825         power8 implementation.
42826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
42827         file: POWER8 finite ifunc implementation.
42828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
42829         Add POWER8 implementation.
42830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
42831         Likewise.
42832         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
42833         POWER8 finite implementation.
42834         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
42836         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
42837         power8 implementation.
42838         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
42839         file: POWER8 isinf ifunc implementation.
42840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
42841         POWER8 implementation.
42842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
42843         Likewise.
42844         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
42845         isinf implementation.
42846         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
42848         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
42849         (INIT_ARCH): Add hwcap2 initialization.
42850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42851         power8 implementation.
42852         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
42853         file: POWER8 isnan ifunc implementation.
42854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
42855         POWER8 implementation.
42856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
42857         Likewise.
42858         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
42859         isnan implementation.
42860         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
42862 2014-02-27  Joey Ye  <joey.ye@arm.com>
42864         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
42865         (_FP_NANFRAC_Q): Set to zero.
42867 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42869         [BZ #16623]
42870         * math/auto-libm-test-in: New test inputs.
42871         * math/auto-libm-test-out: Regenerate.
42872         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
42873         and DA.
42874         (__cos): Likewise.
42875         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
42877 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
42879         * scripts/evaluate-test.sh: Take new argument indicating whether
42880         failure is expected.
42881         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
42882         indicating whether failure is expected.
42883         * conform/Makefile (test-xfail-run-conformtest): New variable.
42884         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
42885         level.
42886         * posix/Makefile (test-xfail-annexc): New variable.
42887         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
42889 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
42891         * argp/Makefile: Include Makeconfig immediately after defining
42892         subdir.
42893         * assert/Makefile: Likewise.
42894         * benchtests/Makefile: Likewise.
42895         * catgets/Makefile: Likewise.
42896         * conform/Makefile: Likewise.
42897         * crypt/Makefile: Likewise.
42898         * csu/Makefile: Likewise.
42899         (all): Remove target.
42900         * ctype/Makefile: Include Makeconfig immediately after defining
42901         subdir.
42902         * debug/Makefile: Likewise.
42903         * dirent/Makefile: Likewise.
42904         * dlfcn/Makefile: Likewise.
42905         * gmon/Makefile: Likewise.
42906         * gnulib/Makefile: Likewise.
42907         * grp/Makefile: Likewise.
42908         * gshadow/Makefile: Likewise.
42909         * hesiod/Makefile: Likewise.
42910         * hurd/Makefile: Likewise.
42911         (all): Remove target.
42912         * iconvdata/Makefile: Include Makeconfig immediately after
42913         defining subdir.
42914         * inet/Makefile: Likewise.
42915         * intl/Makefile: Likewise.
42916         * io/Makefile: Likewise.
42917         * libio/Makefile: Likewise.
42918         (all): Remove target.
42919         * locale/Makefile: Include Makeconfig immediately after defining
42920         subdir.
42921         * login/Makefile: Likewise.
42922         * mach/Makefile: Likewise.
42923         (all): Remove target.
42924         * malloc/Makefile: Include Makeconfig immediately after defining
42925         subdir.
42926         (all): Remove target.
42927         * manual/Makefile: Include Makeconfig immediately after defining
42928         subdir.
42929         * math/Makefile: Likewise.
42930         * misc/Makefile: Likewise.
42931         * nis/Makefile: Likewise.
42932         * nss/Makefile: Likewise.
42933         * po/Makefile: Likewise.
42934         (all): Remove target.
42935         * posix/Makefile: Include Makeconfig immediately after defining
42936         subdir.
42937         * pwd/Makefile: Likewise.
42938         * resolv/Makefile: Likewise.
42939         * resource/Makefile: Likewise.
42940         * rt/Makefile: Likewise.
42941         * setjmp/Makefile: Likewise.
42942         * shadow/Makefile: Likewise.
42943         * signal/Makefile: Likewise.
42944         * socket/Makefile: Likewise.
42945         * soft-fp/Makefile: Likewise.
42946         * stdio-common/Makefile: Likewise.
42947         * stdlib/Makefile: Likewise.
42948         * streams/Makefile: Likewise.
42949         * string/Makefile: Likewise.
42950         * sunrpc/Makefile: Likewise.
42951         (all): Remove target.
42952         * sysvipc/Makefile: Include Makeconfig immediately after defining
42953         subdir.
42954         * termios/Makefile: Likewise.
42955         * time/Makefile: Likewise.
42956         * timezone/Makefile: Likewise.
42957         (all): Remove target.
42958         * wcsmbs/Makefile: Include Makeconfig immediately after defining
42959         subdir.
42960         * wctype/Makefile: Likewise.
42962 2014-02-26  Steve Ellcey  <sellcey@mips.com>
42964         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
42965         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
42966         (libc_feholdexcept_setround_mips): Ditto.
42967         (libc_feholdsetround): New.
42968         (libc_feholdsetroundf): New.
42969         (libc_feholdsetroundl): New.
42970         (libc_feupdateenv_test_mips): New.
42971         (libc_feupdateenv_test): New.
42972         (libc_feupdateenv_testf): New.
42973         (libc_feupdateenv_testl): New.
42974         (libc_feresetround): New.
42975         (libc_feresetroundf): New.
42976         (libc_feresetroundl): New.
42977         (libc_fetestexcept_mips): New.
42978         (libc_fetestexcept): New.
42979         (libc_fetestexceptf): New.
42980         (libc_fetestexceptl): New.
42981         (HAVE_RM_CTX): New.
42982         (libc_feholdexcept_setround_mips_ctx): New.
42983         (libc_feholdexcept_setround_ctx): New.
42984         (libc_feholdexcept_setroundf_ctx): New.
42985         (libc_feholdexcept_setroundl_ctx): New.
42986         (libc_fesetenv_mips_ctx): New.
42987         (libc_fesetenv_ctx): New.
42988         (libc_fesetenv_ctxf): New.
42989         (libc_fesetenv_ctxl): New.
42990         (libc_feupdateenv_mips_ctx): New.
42991         (libc_feupdateenv_ctx): New.
42992         (libc_feupdateenvf_ctx): New.
42993         (libc_feupdateenvl_ctx): New.
42994         (libc_feholdsetround_mips_ctx): New.
42995         (libc_feholdsetround_ctx): New.
42996         (libc_feholdsetroundf_ctx): New.
42997         (libc_feholdsetroundl_ctx): New.
42998         (libc_feresetround_mips_ctx): New.
42999         (libc_feresetround_ctx): New.
43000         (libc_feresetroundf_ctx): New.
43001         (libc_feresetroundl_ctx): New.
43003 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
43005         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
43007         * manual/ipc.texi: New file.
43008         * manual/Makefile (chapters): Add ipc.
43009         * manual/job.texi: Add "Inter-Process Communication" to next.
43010         * manual/process.texi: Add "Inter-Process Communication" to prev.
43012 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43016 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
43018         * malloc/malloc.c (__libc_calloc): Simplify implementation.
43020         * manual/arith.texi: Fix spaces after sentences.
43021         * manual/charset.texi: Likewise.
43022         * manual/errno.texi: Likewise.
43023         * manual/install.texi: Likewise.
43024         * manual/llio.texi: Likewise.
43025         * manual/locale.texi: Likewise.
43026         * manual/maint.texi: Likewise.
43027         * manual/math.texi: Likewise.
43028         * manual/memory.texi: Likewise.
43029         * manual/message.texi: Likewise.
43030         * manual/probes.texi: Likewise.
43031         * manual/resource.texi: Likewise.
43032         * manual/signal.texi: Likewise.
43033         * manual/socket.texi: Likewise.
43034         * manual/stdio.texi: Likewise.
43035         * manual/string.texi: Likewise.
43036         * manual/time.texi: Likewise.
43037         * manual/users.texi: Likewise.
43039 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
43041         [BZ #16632]
43042         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
43043         _DEFAULT_SOURCE is defined.
43045 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
43046             Carlos O'Donell  <carlos@redhat.com>
43048         [BZ #16613]
43049         * elf/dl-tls.c (_dl_count_modids): New function.
43050         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
43051         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
43052         audit library and increment generation counter.
43053         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
43054         * elf/tst-audit9.c: New file.
43055         * elf/tst-auditmod9a.c: New file.
43056         * elf/tst-auditmod9b.c: New file.
43057         * elf/Makefile: Add rules to build and run tst-audit9.
43059 2014-02-25  Florian Weimer  <fweimer@redhat.com>
43061         [BZ #15347]
43062         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
43064 2014-02-25  Will Newton  <will.newton@linaro.org>
43066         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
43067         (__longjmp): Restore sp and lr before restoring callee
43068         saved registers.  Add longjmp and longjmp_target
43069         SystemTap probe point.
43070         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
43071         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
43072         Define to zero to match jmpbuf layout.
43073         * sysdeps/arm/setjmp.S: Include stap-probe.h.
43074         (__sigsetjmp): Save sp and lr before saving callee
43075         saved registers.  Add setjmp SystemTap probe point.
43077 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
43079         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43081 2014-02-24  Andreas Schwab  <schwab@suse.de>
43083         [BZ #15804]
43084         * elf/pldd.c (wait_for_ptrace_stop): New function.
43085         (main): Call it after attaching.
43087 2014-02-22  Roland McGrath  <roland@hack.frob.com>
43089         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
43090         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
43091         Versions files is now verboten.
43092         * hurd/Versions (libc: GLIBC_2.0):
43093         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
43094         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
43095         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
43096         * mach/Versions: Likewise.
43098         * csu/Versions: Remove unused %include.
43099         * resolv/Versions: Likewise.
43101 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
43103         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
43104         ($(objpfx)check-local-headers.out): Likewise.
43105         ($(objpfx)begin-end-check.out): Likewise.
43106         * Makerules (check-abi-%.out): Likewise.
43107         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
43108         ($(objpfx)test2.cat): Likewise.
43109         ($(objpfx)de/libc.cat): Likewise.
43110         ($(objpfx)test-gencat.out): Likewise.
43111         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
43112         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
43113         ($(objpfx)noload-mem): Likewise.
43114         ($(objpfx)tst-pathopt.out): Likewise.
43115         ($(objpfx)tst-rtld-load-self.out): Likewise.
43116         ($(objpfx)tst-array1-cmp.out): Likewise.
43117         ($(objpfx)tst-array1-static-cmp.out): Likewise.
43118         ($(objpfx)tst-array2-cmp.out): Likewise.
43119         ($(objpfx)tst-array3-cmp.out): Likewise.
43120         ($(objpfx)tst-array4-cmp.out): Likewise.
43121         ($(objpfx)tst-array5-cmp.out): Likewise.
43122         ($(objpfx)tst-array5-static-cmp.out): Likewise.
43123         ($(objpfx)check-textrel.out): Likewise.
43124         ($(objpfx)check-execstack.out): Likewise.
43125         ($(objpfx)check-localplt.out): Likewise.
43126         ($(objpfx)order2-cmp.out): Likewise.
43127         ($(objpfx)tst-leaks1-mem): Likewise.
43128         ($(objpfx)tst-leaks1-static-mem): Likewise.
43129         ($(objpfx)tst-initorder-cmp.out): Likewise.
43130         ($(objpfx)tst-initorder2-cmp.out): Likewise.
43131         ($(objpfx)tst-unused-dep.out): Likewise.
43132         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
43133         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
43134         * iconv/Makefile (test-iconvconfig): Likewise.
43135         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
43136         ($(objpfx)iconv-test.out): Likewise.
43137         ($(objpfx)tst-tables.out): Likewise.
43138         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
43139         ($(objpfx)tst-gettext.out): Likewise.
43140         ($(objpfx)tst-translit.out): Likewise.
43141         ($(objpfx)tst-gettext2.out): Likewise.
43142         ($(objpfx)tst-gettext4.out): Likewise.
43143         ($(objpfx)tst-gettext6.out): Likewise.
43144         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
43145         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
43146         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
43147         ($(objpfx)tst-fopenloc-mem.out): Likewise.
43148         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
43149         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
43150         * posix/Makefile ($(objpfx)globtest.out): Likewise.
43151         ($(objpfx)wordexp-tst.out): Likewise.
43152         ($(objpfx)annexc.out): Likewise.
43153         ($(objpfx)tst-fnmatch-mem): Likewise.
43154         ($(objpfx)bug-regex2-mem): Likewise.
43155         ($(objpfx)bug-regex14-mem): Likewise.
43156         ($(objpfx)bug-regex21-mem): Likewise.
43157         ($(objpfx)bug-regex31-mem): Likewise.
43158         ($(objpfx)tst-vfork3-mem): Likewise.
43159         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
43160         ($(objpfx)tst-pcre-mem): Likewise.
43161         ($(objpfx)tst-boost-mem): Likewise.
43162         ($(objpfx)tst-getconf.out): Likewise.
43163         ($(objpfx)bug-ga2-mem): Likewise.
43164         ($(objpfx)bug-glob2-mem): Likewise.
43165         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
43166         ($(objpfx)mtrace-tst-leaks2): Likewise.
43167         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
43168         ($(objpfx)tst-printf.out): Likewise.
43169         ($(objpfx)tst-setvbuf1.out): Likewise.
43170         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
43171         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
43172         ($(objpfx)tst-fmtmsg.out): Likewise.
43173         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
43174         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
43176         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
43177         * bits/sigaction.h [__USE_MISC]: Likewise.
43178         * bits/waitstatus.h: Update #endif comments.
43179         * ctype/ctype.h: Likewise.
43180         * dirent/dirent.h: Likewise.
43181         [__USE_MISC]: Remove redundant conditionals.
43182         * grp/grp.h: Update #endif comments.
43183         [__USE_GNU]: Remove redundant conditionals.
43184         [__USE_MISC]: Likewise.
43185         * inet/netinet/in.h [__USE_GNU]: Likewise.
43186         * io/sys/stat.h [__USE_MISC]: Likewise.
43187         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
43188         * libio/bits/stdio.h: Update #endif comments.
43189         [__USE_MISC]: Remove redundant conditionals.
43190         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
43191         * libio/stdio.h: Update #endif comments.
43192         [__USE_MISC]: Remove redundant conditionals.
43193         * math/bits/math-finite.h [__USE_MISC]: Likewise.
43194         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
43195         * math/math.h: Update #else and #endif comments.
43196         [__USE_MISC]: Remove redundant conditionals.
43197         * misc/sys/uio.h: Update #endif comments.
43198         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
43199         * posix/glob.h [__USE_MISC]: Likewise.
43200         * posix/sys/types.h: Update #endif comments.
43201         [__USE_MISC]: Remove redundant conditionals.
43202         * posix/sys/wait.h: Update #endif comments.
43203         [__USE_MISC]: Remove redundant conditionals.
43204         * posix/unistd.h: Update #endif comments.
43205         [__USE_MISC]: Remove redundant conditionals.
43206         * pwd/pwd.h [__USE_GNU]: Likewise.
43207         [__USE_MISC]: Likewise.
43208         * resolv/netdb.h [__USE_GNU]: Likewise.
43209         * signal/signal.h: Update #endif comments.
43210         [__USE_MISC]: Remove redundant conditionals.
43211         * stdlib/stdlib.h: Update #else and #endif comments.
43212         [__USE_MISC]: Remove redundant conditionals.
43213         [__USE_GNU]: Likewise.
43214         * string/bits/string2.h [__USE_MISC]: Likewise.
43215         * string/string.h: Update #endif comments.
43216         [__USE_MISC]: Remove redundant conditionals.
43217         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
43218         Likewise.
43219         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
43220         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
43221         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
43222         Likewise.
43223         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
43224         Likewise.
43225         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
43226         comments.
43227         [__USE_MISC]: Remove redundant conditionals.
43228         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
43229         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
43230         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
43231         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
43232         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
43233         Likewise.
43234         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
43235         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
43236         Likewise.
43237         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
43238         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
43239         Likewise.
43240         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
43241         Likewise.
43242         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
43243         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
43244         Likewise.
43245         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
43246         Likewise.
43247         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
43248         * sysdeps/x86/bits/string.h: Update #endif comments.
43249         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
43250         conditionals.
43251         * time/sys/time.h: Update #endif comments.
43252         * time/time.h: Likewise.
43253         [__USE_MISC]: Remove redundant conditionals.
43255 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
43257         [BZ #16600]
43258         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
43260 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
43262         * Versions.def (librt): Add GLIBC_2.17.
43264 2014-02-21  Adam Conrad  <adconrad@0c3.net>
43266         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
43267         synonym for _SYS_AUXV_H to allow direct inclusion.
43268         * sysdeps/sparc/bits/hwcap.h: Likewise.
43269         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
43270         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
43271         * sysdeps/sparc/sysdep.h: Likewise.
43273 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43275         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
43277 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
43279         * benchtests/bench-strrchr.c: Print length instead of position.
43281 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
43283         [BZ #16611]
43284         * sysdeps/unix/sysv/linux/kernel-features.h
43285         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
43286         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
43287         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
43288         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
43289         Likewise.
43290         [__i386__ || __powerpc__ || __sh__ || __sparc__]
43291         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43292         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
43293         (__ASSUME_SENDMMSG): Define instead of using previous
43294         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
43295         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43296         (__ASSUME_SENDMMSG_SYSCALL): Define.
43297         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43298         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
43299         Likewise.
43300         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43301         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43302         Likewise.
43303         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43304         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43305         Likewise.
43306         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
43307         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43308         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43309         [__ASSUME_SENDMMSG]: Change conditionals to
43310         [__ASSUME_SENDMMSG_SOCKETCALL].
43311         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43312         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
43313         Define.
43314         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43315         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
43316         Likewise.
43317         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
43318         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
43319         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
43320         [!__ASSUME_SENDMMSG]: Change conditional to
43321         [!__ASSUME_SENDMMSG_SOCKETCALL].
43322         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43323         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
43324         Define.
43326         [BZ #16610]
43327         * sysdeps/unix/sysv/linux/kernel-features.h
43328         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
43329         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
43330         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
43331         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
43332         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
43333         [__i386__ || __sparc__]
43334         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43335         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
43336         (__ASSUME_RECVMMSG): Define instead of using previous
43337         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
43338         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43339         (__ASSUME_RECVMMSG_SYSCALL): Define.
43340         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43341         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43342         Likewise.
43343         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43344         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43345         Likewise.
43346         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43347         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43348         Likewise.
43349         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
43350         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43351         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43352         [__ASSUME_RECVMMSG]: Change condition to
43353         [__ASSUME_RECVMMSG_SOCKETCALL].
43354         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43355         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43356         Define.
43357         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
43358         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43359         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
43360         Likewise.
43361         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
43362         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
43363         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
43364         [!__ASSUME_RECVMMSG]: Change condition to
43365         [!__ASSUME_RECVMMSG_SOCKETCALL].
43366         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43367         (__ASSUME_RECVMMSG_SYSCALL): Define.
43369         [BZ #16609]
43370         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
43371         __powerpc__ || __s390__ || __sh__ || __sparc__]
43372         (__ASSUME_SOCKETCALL): Define.
43373         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
43374         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
43375         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
43376         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
43377         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
43378         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
43379         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
43380         (__ASSUME_ACCEPT4): Define instead of using previous
43381         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
43382         __powerpc__ || __sparc__ || __s390__)] condition.
43383         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
43384         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43385         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
43386         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43387         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43388         [!__ASSUME_ACCEPT4]: Change condition to
43389         [!__ASSUME_ACCEPT4_SOCKETCALL].
43390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
43391         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
43392         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
43393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43394         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
43395         __ASSUME_ACCEPT4_SYSCALL.
43396         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
43397         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
43398         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
43399         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
43400         __ASSUME_ACCEPT4_SYSCALL.
43401         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
43402         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
43403         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
43404         [__ASSUME_ACCEPT4]: Change condition to
43405         [__ASSUME_ACCEPT4_SOCKETCALL].
43406         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43407         (__ASSUME_SOCKETCALL): Define.
43408         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
43409         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43410         (__ASSUME_SOCKETCALL): Define.
43411         (__ASSUME_ACCEPT4): Remove.
43412         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
43413         Define.
43414         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43415         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
43416         Likewise.
43417         * sysdeps/unix/sysv/linux/tile/kernel-features.h
43418         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
43420         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
43421         macro.
43422         (HWCAP_ARM_LPAE): Likewise.
43423         (HWCAP_ARM_EVTSTRM): Likewise.
43424         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
43425         Add vpfd32, lpae and evtstrm.
43426         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
43427         Increase to 22.
43429 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
43431         * math/auto-libm-test-in: Add tests of clog10.
43432         * math/auto-libm-test-out: Regenerated.
43433         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
43434         * sysdeps/i386/fpu/libm-test-ulps: Update.
43435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43437 2014-02-18  Andreas Schwab  <schwab@suse.de>
43439         [BZ #16574]
43440         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
43441         Store non-zero if the second buffer was newly allocated.
43442         (send_dg): Likewise.
43443         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
43444         to send_vc and send_dg.
43445         (res_nsend): Pass NULL for ansp2_malloced.
43446         * resolv/res_query.c (__libc_res_nquery): Add parameter
43447         answerp2_malloced and pass it down to __libc_res_nsend.
43448         (res_nquery): Pass additional NULL to __libc_res_nquery.
43449         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
43450         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
43451         second answer buffer if answerp2_malloced was set.
43452         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
43453         (__libc_res_nquerydomain): Add parameter
43454         answerp2_malloced and pass it down to __libc_res_nquery.
43455         (res_nquerydomain): Pass additional NULL to
43456         __libc_res_nquerydomain.
43457         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
43458         additional NULL to __libc_res_nsend and __libc_res_nquery.
43459         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
43460         additional NULL to __libc_res_nsearch.
43461         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
43462         parameter of __libc_res_nsearch to check for separately allocated
43463         second buffer.
43464         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
43465         __libc_res_nquery.
43466         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
43467         additional NULL to __libc_res_nquery.
43468         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
43469         __libc_res_nsearch.
43470         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
43471         * include/resolv.h: Update prototypes of __libc_res_nquery,
43472         __libc_res_nsearch, __libc_res_nsend.
43474 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
43476         * math/auto-libm-test-in: Add tests of fma.
43477         * math/auto-libm-test-out: Regenerated.
43478         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
43479         (fma_towardzero_test_data): Likewise.
43480         (fma_downward_test_data): Likewise.
43481         (fma_upward_test_data): Likewise.
43482         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
43483         mpc_mode.
43484         (rounding_modes): Add values for new field.
43485         (func_calc_method): Add value mpfr_fff_f.
43486         (func_calc_desc): Add mpfr_fff_f union field.
43487         (test_function): Add field exact_args.
43488         (FUNC): Add macro argument EXACT_ARGS.
43489         (FUNC_mpfr_f_f): Update call to FUNC.
43490         (FUNC_mpfr_f_f): Likewise.
43491         (FUNC_mpfr_ff_f): Likewise.
43492         (FUNC_mpfr_if_f): Likewise.
43493         (FUNC_mpc_c_f): Likewise.
43494         (FUNC_mpc_c_c): Likewise.
43495         (test_functions): Add fma.  Update calls to FUNC.
43496         (handle_input_arg): Add argument exact_args.
43497         (add_test): Update call to handle_input_arg.
43498         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
43499         (output_for_one_input_case): Update call to calc_generic_results.
43500         Recalculate exact zero results in each rounding mode.
43502         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
43503         non-negative before setting low bit.
43504         * math/auto-libm-test-in: Mark one asin test possibly having
43505         spurious underflow.
43506         * math/auto-libm-test-out: Regenerated.
43507         * sysdeps/i386/fpu/libm-test-ulps: Update.
43508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43510 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
43512         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
43513         * sysdeps/unix/sysv/linux/microblaze: Move directory from
43514         ports/sysdeps/unix/sysv/linux/microblaze.
43515         * README: Add missing listing for microblaze*-*-linux-gnu.
43517 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
43519         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
43520         duplicate code
43522 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
43524         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
43525         * sysdeps/unix/sysv/linux/ia64: Move directory from
43526         ports/sysdeps/unix/sysv/linux/ia64.
43527         * README: Update listing for ia64-*-linux-gnu.
43529 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
43530             Joseph Myers  <joseph@codesourcery.com>
43532         * Makeconfig (test-name): New variable.
43533         (evaluate-test): Likewise.
43534         * Makerules (do-test-clean): Remove .test-result files.
43535         (common-mostlyclean): Likewise.
43536         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
43537         * scripts/evaluate-test.sh: New file.
43539 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
43541         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
43542         separate $(objpfx)tst-fopenloc-cmp.out and
43543         $(objpfx)tst-fopenloc-mem.out targets.
43544         (tests): Update dependencies.
43545         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
43546         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
43547         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
43548         (tst-rxspencer-no-utf8-ARGS): New variable.
43549         (tst-rxspencer-no-utf8-ENV): Likewise.
43550         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
43551         instead of $(objpfx)tst-rxspencer-mem.
43552         ($(objpfx)tst-rxspencer-mem): Change target to
43553         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
43554         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
43555         * posix/tst-rxspencer-no-utf8.c: New file.
43557         * elf/Makefile ($(objpfx)order.out): Remove rule.
43558         [$(run-built-tests) = yes] (tests): Depend on
43559         $(objpfx)order-cmp.out.
43560         ($(objpfx)order-cmp.out): New rule.
43561         [$(run-built-tests) = yes] (tests): Depend on
43562         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
43563         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
43564         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
43565         $(objpfx)tst-array5-static-cmp.out.
43566         ($(objpfx)tst-array1.out): Remove rule.
43567         ($(objpfx)tst-array1-cmp.out): New rule.
43568         ($(objpfx)tst-array1-static.out): Remove rule.
43569         ($(objpfx)tst-array1-static-cmp.out): New rule.
43570         ($(objpfx)tst-array2.out): Remove rule.
43571         ($(objpfx)tst-array2-cmp.out): New rule.
43572         ($(objpfx)tst-array3.out): Remove rule.
43573         ($(objpfx)tst-array3-cmp.out): New rule.
43574         ($(objpfx)tst-array4.out): Remove rule.
43575         ($(objpfx)tst-array4-cmp.out): New rule.
43576         ($(objpfx)tst-array5.out): Remove rule.
43577         ($(objpfx)tst-array5-cmp.out): New rule.
43578         ($(objpfx)tst-array5-static.out): Remove rule.
43579         ($(objpfx)tst-array5-static-cmp.out): New rule.
43580         [$(run-built-tests) = yes] (tests): Depend on
43581         $(objpfx)order2-cmp.out.
43582         ($(objpfx)order2.out): Remove rule.
43583         ($(objpfx)order2-cmp.out): New rule.
43584         ($(objpfx)tst-initorder.out): Remove rule.
43585         [$(run-built-tests) = yes] (tests): Depend on
43586         $(objpfx)tst-initorder-cmp.out.
43587         ($(objpfx)tst-initorder-cmp.out): New rule.
43588         ($(objpfx)tst-initorder2.out): Remove rule.
43589         [$(run-built-tests) = yes] (tests): Depend on
43590         $(objpfx)tst-initorder2-cmp.out.
43591         ($(objpfx)tst-initorder2-cmp.out): New rule.
43592         [$(run-built-tests) = yes] (tests): Depend on
43593         $(objpfx)tst-unused-dep-cmp.out.
43594         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
43595         ($(objpfx)tst-unused-dep-cmp.out): New rule.
43596         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
43597         on $(objpfx)tst-setvbuf1-cmp.out.
43598         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
43599         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
43600         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
43601         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
43602         ($(objpfx)tst-svc.out): Remove rule.
43603         ($(objpfx)tst-svc-cmp.out): New rule.
43605 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
43607         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
43608         * ctype/ctype.h [__USE_MISC]: Likewise.
43609         * dirent/dirent.h [__USE_MISC]: Likewise.
43610         * grp/grp.h [__USE_MISC]: Likewise.
43611         * io/fcntl.h [__USE_MISC]: Likewise.
43612         * io/sys/stat.h [__USE_MISC]: Likewise.
43613         * libio/stdio.h [__USE_MISC]: Likewise.
43614         * posix/unistd.h [__USE_MISC]: Likewise.
43615         * pwd/pwd.h [__USE_MISC]: Likewise.
43616         * stdlib.h [__USE_MISC]: Likewise.
43617         * string/bits/string2.h [__USE_MISC]: Likewise.
43618         * string/string.h [__USE_MISC]: Likewise.
43619         * time/time.h [__USE_MISC]: Likewise.
43621 2014-02-13  Andreas Schwab  <schwab@suse.de>
43623         [BZ #16574]
43624         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
43625         second answer buffer if it was separately allocated.
43627 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
43629         * sysdeps/mips/math-tests.h: Include <features.h>.
43630         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43631         (ROUNDING_TESTS_long_double): Do not define.
43632         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
43633         (EXCEPTION_TESTS_long_double): Likewise.
43634         * sysdeps/mips/mips64/libm-test-ulps: Update.
43636         * include/features.h (__USE_BSD): Remove macro definitions.
43637         (__USE_SVID): Likewise.
43638         (_BSD_SOURCE): Likewise.
43639         (_SVID_SOURCE): Likewise.
43640         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
43641         from definition of _DEFAULT_SOURCE.
43642         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
43643         [_DEFAULT_SOURCE].
43644         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
43645         * bits/mman.h [__USE_BSD]: Likewise.
43646         * bits/termios.h [__USE_BSD]: Likewise.
43647         * bits/waitstatus.h [__USE_BSD]: Likewise.
43648         * ctype/ctype.h [__USE_SVID]: Likewise.
43649         * dirent/dirent.h [__USE_BSD]: Likewise.
43650         * grp/grp.h [__USE_SVID]: Likewise.
43651         [__USE_BSD]: Likewise.
43652         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
43653         * io/fcntl.h [__USE_BSD]: Likewise.
43654         * io/ftw.h [__USE_BSD]: Likewise.
43655         * io/sys/stat.h [__USE_BSD]: Likewise.
43656         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
43657         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
43658         * libio/stdio.h [__USE_SVID]: Likewise.
43659         [__USE_BSD]: Likewise.
43660         * math/math.h [__USE_SVID]: Likewise.
43661         [__USE_BSD]: Likewise.
43662         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
43663         * misc/bits/syslog.h [__USE_BSD]: Likewise.
43664         * misc/search.h [__USE_SVID]: Likewise.
43665         * misc/sys/mman.h [__USE_BSD]: Likewise.
43666         * misc/sys/syslog.h [__USE_BSD]: Likewise.
43667         * misc/sys/uio.h [__USE_BSD]: Likewise.
43668         * posix/bits/unistd.h [__USE_BSD]: Likewise.
43669         * posix/glob.h [__USE_BSD]: Likewise.
43670         * posix/regex.h [__USE_BSD]: Likewise.
43671         * posix/sys/types.h [__USE_BSD]: Likewise.
43672         [__USE_SVID]: Likewise.
43673         * posix/sys/utsname.h [__USE_SVID]: Likewise.
43674         * posix/sys/wait.h [__USE_BSD]: Likewise.
43675         [__USE_SVID]: Likewise.
43676         * posix/unistd.h [__USE_BSD]: Likewise.
43677         [__USE_SVID]: Likewise.
43678         * pwd/pwd.h [__USE_SVID]: Likewise.
43679         * resolv/netdb.h [__USE_BSD]: Likewise.
43680         * setjmp/setjmp.h [__USE_BSD]: Likewise.
43681         * signal/signal.h [__USE_BSD]: Likewise.
43682         [__USE_SVID]: Likewise.
43683         * socket/sys/socket.h [__USE_BSD]: Likewise.
43684         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
43685         * stdlib/stdlib.h [__USE_BSD]: Likewise.
43686         [__USE_SVID]: Likewise.
43687         * string/bits/string2.h [__USE_BSD]: Likewise.
43688         [__USE_SVID]: Likewise.
43689         * string/bits/string3.h [__USE_BSD]: Likewise.
43690         * string/endian.h [__USE_BSD]: Likewise.
43691         * string/string.h [__USE_SVID]: Likewise.
43692         [__USE_BSD]: Likewise.
43693         * string/strings.h [__USE_BSD]: Likewise.
43694         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
43695         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
43696         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
43697         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
43698         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
43699         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
43700         Likewise.
43701         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
43702         Likewise.
43703         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
43704         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
43705         Likewise.
43706         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
43707         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
43708         Likewise.
43709         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
43710         Likewise.
43711         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
43712         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
43713         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
43714         Likewise.
43715         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
43716         Likewise.
43717         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
43718         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
43719         * termios/termios.h [__USE_BSD]: Likewise.
43720         * time/sys/time.h [__USE_BSD]: Likewise.
43721         * time/time.h [__USE_BSD]: Likewise.
43722         [__USE_SVID]: Likewise.
43724         * Makefile (subdir_targets): Remove subdir_lint.out.
43726         * stdio-common/Makefile (do-tst-unbputc): Remove target.
43727         (do-tst-printf): Likewise.
43728         (tests): Depend directly on $(objpfx)tst-unbputc.out and
43729         $(objpfx)tst-printf.out.
43731         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
43733         * Makerules (check-abi-%): Change target to
43734         $(objpfx)check-abi-%.out.
43735         (check-abi target): Update dependencies.
43736         (check-abi-pattern variable): Redirect output of diff to $@.
43737         (check-abi variable): Likewise.
43738         * elf/Makefile (check-abi): Update dependencies.
43740         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
43741         unused.
43742         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
43743         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
43744         subnormal range.
43745         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
43746         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
43747         value has largest subnormal exponent.
43748         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
43749         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
43750         * sysdeps/aarch64/soft-fp/sfp-machine.h
43751         (_FP_TININESS_AFTER_ROUNDING): New macro.
43752         * sysdeps/alpha/soft-fp/sfp-machine.h
43753         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43754         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43755         Likewise.
43756         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
43757         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43758         * sysdeps/mips/soft-fp/sfp-machine.h
43759         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43760         * sysdeps/powerpc/soft-fp/sfp-machine.h
43761         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43762         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43763         Likewise.
43764         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
43765         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43766         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
43767         (_FP_TININESS_AFTER_ROUNDING): Likewise.
43768         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
43769         Likewise.
43771 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
43773         [BZ #16545]
43774         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
43775         model 1.
43777 2014-02-12  Richard Henderson  <rth@redhat.com>
43779         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
43780         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
43781         * sysdeps/unix/sysv/linux/alpha: Move directory from
43782         ports/sysdeps/unix/sysv/linux/alpha.
43783         * README: Update listing for alpha-*-linux-gnu.
43785 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
43787         * include/features.h: Update comment documenting feature test
43788         macros.
43789         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
43790         _DEFAULT_SOURCE.
43791         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
43792         (_SVID_SOURCE): Likewise.
43793         (_DEFAULT_SOURCE): Update description of default features.
43794         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
43795         with _GNU_SOURCE.
43796         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
43797         (S_ISVTX): Likewise.
43798         * manual/math.texi (Mathematical Constants): Likewise.
43799         * manual/signal.texi (Interrupted Primitives): Likewise.
43800         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
43801         * math/test-matherr.c (_SVID_SOURCE): Do not define.
43802         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
43803         Don't refer to _SVID_SOURCE in warning text.
43805         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43807         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
43808         already defined.
43809         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
43810         * sysdeps/mips/dl-lookup.c: Remove.
43811         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
43813 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43815         [BZ #16447]
43816         * math/auto-libm-test-in: Add testcase for expl.
43817         * math/auto-libm-test-out: Regenerate.
43818         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
43819         calculation of unsafe.
43820         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
43822 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43824         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
43825         * sysdeps/unix/sysv/linux/aarch64: Move directory from
43826         ports/sysdeps/unix/sysv/linux/aarch64.
43827         * README: Update listing for aarch64*-*-linux-gnu.
43829 2014-02-11  Will Newton  <will.newton@linaro.org>
43831         * manual/probes.texi (Mathematical Function Probes): Use
43832         "triggered" instead of "hit".
43834         * manual/probes.texi (Internal Probes): Add documentation
43835         of setjmp, longjmp and longjmp_target probes.
43837         * include/stap-probe.h: Add comment about probe argument
43838         format.
43840         * malloc/mtrace.c (attribute_hidden): Remove unused macro
43841         definition.  (tr_where, tr_freehook, tr_mallochook,
43842         tr_reallochook, tr_memalignhook): Use ANSI protoype.
43844 2014-02-11  David S. Miller  <davem@davemloft.net>
43846         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
43847         processing int_tests.
43849 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
43851         * sysdeps/mips: Move directory from ports/sysdeps/mips.
43852         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
43853         * sysdeps/unix/sysv/linux/mips: Move directory from
43854         ports/sysdeps/unix/sysv/linux/mips.
43855         * README: Update listing for mips-*-linux-gnu and
43856         mips64-*-linux-gnu.
43858 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
43860         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
43861         * sysdeps/unix/sysv/linux/m68k: Move directory from
43862         ports/sysdeps/unix/sysv/linux/m68k.
43863         * README: Update listing for m68k-*-linux-gnu.
43865 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
43867         * sysdeps/tile: Move directory from ports/sysdeps/tile.
43868         * sysdeps/unix/sysv/linux/generic: Move directory from
43869         ports/sysdeps/unix/sysv/linux/generic.
43870         * sysdeps/unix/sysv/linux/tile: Move directory from
43871         ports/sysdeps/unix/sysv/linux/tile.
43872         * README: Update listing for tile*-*-linux-gnu.
43874 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
43876         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
43877         __builtin_expect.
43878         * benchtests/bench-memmem.c (simple_memmem): Likewise.
43879         * catgets/open_catalog.c (__open_catalog): Likewise.
43880         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
43881         * debug/confstr_chk.c: Likewise.
43882         * debug/fread_chk.c (__fread_chk): Likewise.
43883         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
43884         * debug/getgroups_chk.c: Likewise.
43885         * debug/mbsnrtowcs_chk.c: Likewise.
43886         * debug/mbsrtowcs_chk.c: Likewise.
43887         * debug/mbstowcs_chk.c: Likewise.
43888         * debug/memcpy_chk.c: Likewise.
43889         * debug/memmove_chk.c: Likewise.
43890         * debug/mempcpy_chk.c: Likewise.
43891         * debug/memset_chk.c: Likewise.
43892         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
43893         * debug/strcat_chk.c (__strcat_chk): Likewise.
43894         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
43895         * debug/strncat_chk.c (__strncat_chk): Likewise.
43896         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
43897         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
43898         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
43899         * debug/wcpncpy_chk.c: Likewise.
43900         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
43901         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
43902         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
43903         * debug/wcsncpy_chk.c: Likewise.
43904         * debug/wcsnrtombs_chk.c: Likewise.
43905         * debug/wcsrtombs_chk.c: Likewise.
43906         * debug/wcstombs_chk.c: Likewise.
43907         * debug/wmemcpy_chk.c: Likewise.
43908         * debug/wmemmove_chk.c: Likewise.
43909         * debug/wmempcpy_chk.c: Likewise.
43910         * debug/wmemset_chk.c: Likewise.
43911         * dirent/scandirat.c (SCANDIRAT): Likewise.
43912         * dlfcn/dladdr1.c (dladdr1): Likewise.
43913         * dlfcn/dladdr.c (dladdr): Likewise.
43914         * dlfcn/dlclose.c (dlclose_doit): Likewise.
43915         * dlfcn/dlerror.c (__dlerror): Likewise.
43916         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
43917         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
43918         * dlfcn/dlopen.c (dlopen_doit): Likewise.
43919         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
43920         * dlfcn/dlsym.c (dlsym_doit): Likewise.
43921         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
43922         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
43923         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
43924         Likewise.
43925         * elf/dl-conflict.c: Likewise.
43926         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
43927         * elf/dl-dst.h: Likewise.
43928         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
43929         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
43930         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
43931         * elf/dl-init.c (call_init, _dl_init): Likewise.
43932         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
43933         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
43934         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
43935         Likewise.
43936         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
43937         Likewise.
43938         * elf/dl-minimal.c (__libc_memalign): Likewise.
43939         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
43940         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
43941         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
43942         * elf/dl-sym.c (do_sym): Likewise.
43943         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
43944         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
43945         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
43946         * elf/dl-writev.h (_dl_writev): Likewise.
43947         * elf/ldconfig.c (search_dir): Likewise.
43948         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
43949         (dl_main): Likewise.
43950         * elf/setup-vdso.h (setup_vdso): Likewise.
43951         * grp/compat-initgroups.c (compat_call): Likewise.
43952         * grp/fgetgrent.c (fgetgrent): Likewise.
43953         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
43954         * grp/putgrent.c (putgrent): Likewise.
43955         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
43956         Likewise.
43957         * hurd/hurdinit.c: Likewise.
43958         * iconvdata/8bit-gap.c (struct): Likewise.
43959         * iconvdata/ansi_x3.110.c : Likewise.
43960         * iconvdata/big5.c : Likewise.
43961         * iconvdata/big5hkscs.c : Likewise.
43962         * iconvdata/cp1255.c: Likewise.
43963         * iconvdata/cp1258.c : Likewise.
43964         * iconvdata/cp932.c : Likewise.
43965         * iconvdata/euc-cn.c: Likewise.
43966         * iconvdata/euc-jisx0213.c : Likewise.
43967         * iconvdata/euc-jp.c: Likewise.
43968         * iconvdata/euc-jp-ms.c : Likewise.
43969         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
43970         * iconvdata/gb18030.c : Likewise.
43971         * iconvdata/gbbig5.c (const): Likewise.
43972         * iconvdata/gbgbk.c: Likewise.
43973         * iconvdata/gbk.c : Likewise.
43974         * iconvdata/ibm1364.c : Likewise.
43975         * iconvdata/ibm930.c : Likewise.
43976         * iconvdata/ibm932.c: Likewise.
43977         * iconvdata/ibm933.c : Likewise.
43978         * iconvdata/ibm935.c : Likewise.
43979         * iconvdata/ibm937.c : Likewise.
43980         * iconvdata/ibm939.c : Likewise.
43981         * iconvdata/ibm943.c: Likewise.
43982         * iconvdata/iso_11548-1.c: Likewise.
43983         * iconvdata/iso-2022-cn.c : Likewise.
43984         * iconvdata/iso-2022-cn-ext.c : Likewise.
43985         * iconvdata/iso-2022-jp-3.c: Likewise.
43986         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
43987         * iconvdata/iso-2022-kr.c : Likewise.
43988         * iconvdata/iso646.c (gconv_end): Likewise.
43989         * iconvdata/iso_6937-2.c : Likewise.
43990         * iconvdata/iso_6937.c : Likewise.
43991         * iconvdata/iso8859-1.c: Likewise.
43992         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
43993         * iconvdata/shift_jisx0213.c : Likewise.
43994         * iconvdata/sjis.c : Likewise.
43995         * iconvdata/t.61.c : Likewise.
43996         * iconvdata/tcvn5712-1.c : Likewise.
43997         * iconvdata/tscii.c: Likewise.
43998         * iconvdata/uhc.c : Likewise.
43999         * iconvdata/unicode.c (gconv_end): Likewise.
44000         * iconvdata/utf-16.c (gconv_end): Likewise.
44001         * iconvdata/utf-32.c (gconv_end): Likewise.
44002         * iconvdata/utf-7.c (base64): Likewise.
44003         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
44004         * iconv/gconv_close.c (__gconv_close): Likewise.
44005         * iconv/gconv_open.c (__gconv_open): Likewise.
44006         * iconv/gconv_simple.c (internal_ucs4_loop_single)
44007         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
44008         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
44009         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
44010         (ucs4le_internal_loop_single): Likewise.
44011         * iconv/iconv.c (iconv): Likewise.
44012         * iconv/iconv_close.c: Likewise.
44013         * iconv/loop.c (SINGLE): Likewise.
44014         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
44015         * include/atomic.h: Likewise.
44016         * inet/inet6_option.c (option_alloc): Likewise.
44017         * intl/bindtextdom.c (set_binding_values): Likewise.
44018         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
44019         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
44020         * intl/localealias.c (read_alias_file): Likewise.
44021         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
44022         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
44023         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
44024         * libio/fmemopen.c (fmemopen): Likewise.
44025         * libio/iofgets.c (_IO_fgets): Likewise.
44026         * libio/iofgets_u.c (fgets_unlocked): Likewise.
44027         * libio/iofgetws.c (fgetws): Likewise.
44028         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
44029         * libio/iogetdelim.c (_IO_getdelim): Likewise.
44030         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
44031         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
44032         * locale/findlocale.c (_nl_find_locale): Likewise.
44033         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
44034         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
44035         Likewise.
44036         * locale/setlocale.c (setlocale): Likewise.
44037         * login/programs/pt_chown.c (main): Likewise.
44038         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
44039         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
44040         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
44041         (mmap, mmap64, mremap, munmap): Likewise.
44042         * math/e_exp2l.c: Likewise.
44043         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
44044         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
44045         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
44046         * math/s_catan.c (__catan): Likewise.
44047         * math/s_catanf.c (__catanf): Likewise.
44048         * math/s_catanh.c (__catanh): Likewise.
44049         * math/s_catanhf.c (__catanhf): Likewise.
44050         * math/s_catanhl.c (__catanhl): Likewise.
44051         * math/s_catanl.c (__catanl): Likewise.
44052         * math/s_ccosh.c (__ccosh): Likewise.
44053         * math/s_ccoshf.c (__ccoshf): Likewise.
44054         * math/s_ccoshl.c (__ccoshl): Likewise.
44055         * math/s_cexp.c (__cexp): Likewise.
44056         * math/s_cexpf.c (__cexpf): Likewise.
44057         * math/s_cexpl.c (__cexpl): Likewise.
44058         * math/s_clog10.c (__clog10): Likewise.
44059         * math/s_clog10f.c (__clog10f): Likewise.
44060         * math/s_clog10l.c (__clog10l): Likewise.
44061         * math/s_clog.c (__clog): Likewise.
44062         * math/s_clogf.c (__clogf): Likewise.
44063         * math/s_clogl.c (__clogl): Likewise.
44064         * math/s_csin.c (__csin): Likewise.
44065         * math/s_csinf.c (__csinf): Likewise.
44066         * math/s_csinh.c (__csinh): Likewise.
44067         * math/s_csinhf.c (__csinhf): Likewise.
44068         * math/s_csinhl.c (__csinhl): Likewise.
44069         * math/s_csinl.c (__csinl): Likewise.
44070         * math/s_csqrt.c (__csqrt): Likewise.
44071         * math/s_csqrtf.c (__csqrtf): Likewise.
44072         * math/s_csqrtl.c (__csqrtl): Likewise.
44073         * math/s_ctan.c (__ctan): Likewise.
44074         * math/s_ctanf.c (__ctanf): Likewise.
44075         * math/s_ctanh.c (__ctanh): Likewise.
44076         * math/s_ctanhf.c (__ctanhf): Likewise.
44077         * math/s_ctanhl.c (__ctanhl): Likewise.
44078         * math/s_ctanl.c (__ctanl): Likewise.
44079         * math/w_pow.c: Likewise.
44080         * math/w_powf.c: Likewise.
44081         * math/w_powl.c: Likewise.
44082         * math/w_scalb.c (sysv_scalb): Likewise.
44083         * math/w_scalbf.c (sysv_scalbf): Likewise.
44084         * math/w_scalbl.c (sysv_scalbl): Likewise.
44085         * misc/error.c (error_tail): Likewise.
44086         * misc/pselect.c (__pselect): Likewise.
44087         * nis/nis_callback.c (__nis_create_callback): Likewise.
44088         * nis/nis_call.c (__nisfind_server): Likewise.
44089         * nis/nis_creategroup.c (nis_creategroup): Likewise.
44090         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
44091         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
44092         * nis/nis_getservlist.c (nis_getservlist): Likewise.
44093         * nis/nis_lookup.c (nis_lookup): Likewise.
44094         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
44095         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
44096         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
44097         * nis/nis_xdr.c (xdr_endpoint): Likewise.
44098         * nis/nss_compat/compat-grp.c (getgrent_next_file)
44099         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
44100         * nis/nss_compat/compat-initgroups.c (add_group)
44101         (internal_getgrent_r): Likewise.
44102         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
44103         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
44104         * nis/nss_compat/compat-spwd.c (getspent_next_file)
44105         (internal_getspnam_r): Likewise.
44106         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
44107         (_nss_nis_getaliasbyname_r): Likewise.
44108         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
44109         (_nss_nis_getntohost_r): Likewise.
44110         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
44111         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
44112         (_nss_nis_getgrgid_r): Likewise.
44113         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
44114         (internal_nis_gethostent_r, internal_gethostbyname2_r)
44115         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
44116         (_nss_nis_gethostbyname4_r): Likewise.
44117         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
44118         (initgroups_netid): Likewise.
44119         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
44120         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
44121         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
44122         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
44123         (_nss_nis_getprotobynumber_r): Likewise.
44124         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
44125         (_nss_nis_getsecretkey): Likewise.
44126         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
44127         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
44128         (_nss_nis_getpwuid_r): Likewise.
44129         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
44130         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
44131         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
44132         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
44133         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
44134         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
44135         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
44136         Likewise.
44137         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
44138         (_nss_nisplus_getntohost_r): Likewise.
44139         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
44140         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
44141         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
44142         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
44143         Likewise.
44144         * nis/nss_nisplus/nisplus-initgroups.c
44145         (_nss_nisplus_initgroups_dyn): Likewise.
44146         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
44147         (_nss_nisplus_getnetbyaddr_r): Likewise.
44148         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
44149         (_nss_nisplus_getprotobynumber_r): Likewise.
44150         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
44151         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
44152         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
44153         Likewise.
44154         * nis/nss_nisplus/nisplus-service.c
44155         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
44156         (_nss_nisplus_getservbyport_r): Likewise.
44157         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
44158         (_nss_nisplus_getspnam_r): Likewise.
44159         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
44160         Likewise.
44161         * nscd/aicache.c (addhstaiX): Likewise.
44162         * nscd/cache.c (cache_search, prune_cache): Likewise.
44163         * nscd/connections.c (register_traced_file, send_ro_fd)
44164         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
44165         (main_loop_epoll): Likewise.
44166         * nscd/grpcache.c (addgrbyX): Likewise.
44167         * nscd/hstcache.c (addhstbyX): Likewise.
44168         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44169         * nscd/mem.c (gc, mempool_alloc): Likewise.
44170         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
44171         (addinnetgrX): Likewise.
44172         * nscd/nscd-client.h (__nscd_acquire_maplock)
44173         (__nscd_drop_map_ref): Likewise.
44174         * nscd/nscd_getai.c (__nscd_getai): Likewise.
44175         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
44176         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
44177         Likewise.
44178         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
44179         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44180         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
44181         (__nscd_get_map_ref): Likewise.
44182         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
44183         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
44184         Likewise.
44185         * nscd/pwdcache.c (addpwbyX): Likewise.
44186         * nscd/selinux.c (preserve_capabilities): Likewise.
44187         * nscd/servicescache.c (addservbyX): Likewise.
44188         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
44189         * posix/fnmatch.c (fnmatch): Likewise.
44190         * posix/getopt.c (_getopt_internal_r): Likewise.
44191         * posix/glob.c (glob, glob_in_dir): Likewise.
44192         * posix/wordexp.c (exec_comm_child): Likewise.
44193         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
44194         (getanswer_r, gaih_getanswer_slice): Likewise.
44195         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
44196         * resolv/res_init.c: Likewise.
44197         * resolv/res_mkquery.c (res_nmkquery): Likewise.
44198         * resolv/res_query.c (__libc_res_nquery): Likewise.
44199         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
44200         Likewise.
44201         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
44202         * stdio-common/perror.c (perror): Likewise.
44203         * stdio-common/printf_fp.c (___printf_fp): Likewise.
44204         * stdio-common/tmpnam.c (tmpnam): Likewise.
44205         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
44206         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
44207         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
44208         Likewise.
44209         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
44210         * stdlib/putenv.c (putenv): Likewise.
44211         * stdlib/setenv.c (__add_to_environ): Likewise.
44212         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
44213         * stdlib/strtol_l.c (INTERNAL): Likewise.
44214         * string/memmem.c (memmem): Likewise.
44215         * string/strerror.c (strerror): Likewise.
44216         * string/strnlen.c (__strnlen): Likewise.
44217         * string/test-memmem.c (simple_memmem): Likewise.
44218         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
44219         * sunrpc/pm_getport.c (__get_socket): Likewise.
44220         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
44221         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
44222         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
44223         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
44224         Likewise.
44225         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
44226         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
44227         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
44228         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
44229         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
44230         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
44231         Likewise.
44232         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
44233         Likewise.
44234         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
44235         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
44236         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
44237         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
44238         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
44239         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
44240         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
44241         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
44242         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
44243         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
44244         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44245         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
44246         Likewise.
44247         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
44248         Likewise.
44249         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
44250         Likewise.
44251         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
44252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44253         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
44254         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
44255         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
44256         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
44257         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
44258         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
44259         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
44260         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
44261         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
44262         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44263         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44264         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
44265         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
44266         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
44267         Likewise.
44268         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
44269         Likewise.
44270         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
44271         Likewise.
44272         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
44273         Likewise.
44274         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
44275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
44276         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
44277         Likewise.
44278         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
44279         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
44280         * sysdeps/posix/opendir.c (__opendirat): Likewise.
44281         * sysdeps/posix/sleep.c: Likewise.
44282         * sysdeps/posix/tempname.c: Likewise.
44283         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
44284         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
44285         Likewise.
44286         * sysdeps/powerpc/powerpc32/dl-machine.h
44287         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
44288         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
44289         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
44290         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
44291         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
44292         Likewise.
44293         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
44294         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
44295         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44296         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
44297         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
44298         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
44299         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
44300         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
44301         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
44302         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
44303         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
44304         (elf_machine_lazy_rel): Likewise.
44305         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
44306         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
44307         (elf_machine_lazy_rel): Likewise.
44308         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
44309         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
44310         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
44311         * sysdeps/unix/grantpt.c (grantpt): Likewise.
44312         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
44313         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
44314         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
44315         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44316         Likewise.
44317         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
44318         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
44319         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
44320         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
44321         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
44322         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
44323         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
44324         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
44325         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
44326         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
44327         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
44328         Likewise.
44329         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
44330         (__posix_fallocate64_l64): Likewise.
44331         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
44332         (posix_fallocate): Likewise.
44333         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
44334         Likewise.
44335         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
44336         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
44337         (getifaddrs_internal): Likewise.
44338         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
44339         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
44340         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
44341         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
44342         * sysdeps/unix/sysv/linux/posix_fallocate64.c
44343         (__posix_fallocate64_l64): Likewise.
44344         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
44345         Likewise.
44346         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
44347         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
44348         (__get_clockfreq): Likewise.
44349         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
44350         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
44351         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
44352         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
44353         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
44354         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
44355         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
44356         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
44357         Likewise.
44358         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
44359         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
44360         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
44361         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
44362         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
44363         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
44364         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
44365         Likewise.
44366         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
44367         (posix_fallocate): Likewise.
44368         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
44369         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
44370         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
44371         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
44372         (elf_machine_rela, elf_machine_rela_relative)
44373         (elf_machine_lazy_rel): Likewise.
44374         * time/asctime.c (asctime_internal): Likewise.
44375         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
44376         * time/tzset.c (__tzset_parse_tz): Likewise.
44377         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
44378         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
44379         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
44380         * wcsmbs/wcsmbsload.h: Likewise.
44382         [BZ #15894]
44383         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
44385         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
44386         (arena_get2): Remove THREAD_STATS conditionals.
44387         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
44388         (__malloc_stats, int): Likewise.
44390 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
44392         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
44393         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
44395         * manual/setjmp.texi: Fix typos/grammar errors.
44397         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
44398         Only return early when n is <= 0.  Delete unused return statement.
44400         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
44401         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
44402         * debug/tst-longjmp_chk3.c: New file.
44404         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
44405         (test_main): Replace code with set_fortify_handler call.
44406         * debug/test-strcpy_chk.c: Likewise.
44407         * debug/tst-chk1.c: Likewise.
44408         * debug/tst-longjmp_chk.c: Likewise.
44409         * test-skeleton.c: Include fcntl.h & paths.h
44410         (set_fortify_handler): Define.
44412         * debug/tst-longjmp_chk.c: Add header comment and include
44413         ../test-skeleton.c.
44414         (do_test): Mark static.
44415         (TEST_FUNCTION): Define.
44417         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
44418         (IP_PMTUDISC_INTERFACE): Likewise.
44419         (IP_MULTICAST_IF): Likewise.
44420         (IP_MULTICAST_TTL): Likewise.
44421         (IP_MULTICAST_LOOP): Likewise.
44422         (IP_ADD_MEMBERSHIP): Likewise.
44423         (IP_DROP_MEMBERSHIP): Likewise.
44424         (IP_UNBLOCK_SOURCE): Likewise.
44425         (IP_BLOCK_SOURCE): Likewise.
44426         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
44427         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
44428         (IP_MSFILTER): Likewise.
44429         (MCAST_JOIN_GROUP): Likewise.
44430         (MCAST_BLOCK_SOURCE): Likewise.
44431         (MCAST_UNBLOCK_SOURCE): Likewise.
44432         (MCAST_LEAVE_GROUP): Likewise.
44433         (MCAST_JOIN_SOURCE_GROUP): Likewise.
44434         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
44435         (MCAST_MSFILTER): Likewise.
44436         (IP_MULTICAST_ALL): Likewise.
44437         (IP_UNICAST_IF): Likewise.
44439         * timezone/Makefile: Delete $(have-ksh) check.
44440         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
44441         * timezone/tzselect.ksh: Add +x mode bits.
44443         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
44444         (ANON_INODE_FS_MAGIC): Likewise.
44445         (BDEVFS_MAGIC): Likewise.
44446         (BINFMTFS_MAGIC): Likewise.
44447         (BTRFS_TEST_MAGIC): Likewise.
44448         (CRAMFS_MAGIC_WEND): Likewise.
44449         (DEBUGFS_MAGIC): Likewise.
44450         (ECRYPTFS_SUPER_MAGIC): Likewise.
44451         (EXT3_SUPER_MAGIC): Likewise.
44452         (EXT4_SUPER_MAGIC): Likewise.
44453         (FUTEXFS_SUPER_MAGIC): Likewise.
44454         (HOSTFS_SUPER_MAGIC): Likewise.
44455         (HUGETLBFS_MAGIC): Likewise.
44456         (MINIX3_SUPER_MAGIC): Likewise.
44457         (MTD_INODE_FS_MAGIC): Likewise.
44458         (NILFS_SUPER_MAGIC): Likewise.
44459         (OPENPROM_SUPER_MAGIC): Likewise.
44460         (PIPEFS_MAGIC): Likewise.
44461         (PSTOREFS_MAGIC): Likewise.
44462         (QNX6_SUPER_MAGIC): Likewise.
44463         (RAMFS_MAGIC): Likewise.
44464         (REISERFS_SUPER_MAGIC_STRING): Likewise.
44465         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
44466         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
44467         (SECURITYFS_MAGIC): Likewise.
44468         (SELINUX_MAGIC): Likewise.
44469         (SMACK_MAGIC): Likewise.
44470         (SOCKFS_MAGIC): Likewise.
44471         (SQUASHFS_MAGIC): Likewise.
44472         (STACK_END_MAGIC): Likewise.
44473         (TMPFS_MAGIC): Likewise.
44474         (USBDEVICE_SUPER_MAGIC): Likewise.
44475         (V9FS_MAGIC): Likewise.
44476         (XENFS_SUPER_MAGIC): Likewise.
44477         (CRAMFS_MAGIC): Fix typo in comment.
44478         (EXT2_SUPER_MAGIC): Update comment.
44479         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
44481 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
44483         * sysdeps/arm: Move directory from ports/sysdeps/arm.
44484         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
44485         * sysdeps/unix/sysv/linux/arm: Move directory from
44486         ports/sysdeps/unix/sysv/linux/arm.
44487         * README: Update listing for arm-*-linux-gnueabi.
44489         * README: Remove mention of am33.
44491 2014-02-07  Roland McGrath  <roland@hack.frob.com>
44493         * bits/sigset.h (__sigemptyset): Use a statement expression rather
44494         than the comma operator, to avoid "rhs of comma has no effect"
44495         compiler warnings.
44496         (__sigfillset, __sigandset, __sigorset): Likewise.
44497         * include/signal.h (__sigemptyset): Likewise.
44498         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
44500 2014-02-07  Allan McRae  <allan@archlinux.org>
44502         * version.h (RELEASE): Set to "development".
44503         (VERSION): Set to "2.19.90"
44504         * NEWS: Add 2.20 section.
44506 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
44508         [BZ #16529]
44509         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
44511 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44513         * manual/contrib.texi: Update entry for Carlos O'Donell,
44514         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
44516 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
44518         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
44520         * sysdeps/unix/sysv/linux/kernel-features.h
44521         [__LINUX_KERNEL_VERSION >= 0x020621]
44522         (__ASSUME_PROC_PID_TASK_COMM): Define.
44524 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
44526         [BZ #16398]
44527         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
44528         conversion when destination buffer does not have enough space.
44529         * libio/tst-ftell-partial-wide.c: New test case.
44530         * libio/Makefile (tests): Add tst-ftell-partial-wide.
44532         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
44533         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
44534         Leonard and Allan McRae.
44536 2014-02-04  David S. Miller  <davem@davemloft.net>
44538         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
44539         32-bit.
44541 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
44544         New file
44545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
44546         New file
44547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
44548         New file.
44549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
44550         New file.
44551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
44552         New file.
44553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
44554         New file.
44555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
44556         New file.
44557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
44558         New file.
44559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
44560         New file.
44561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
44562         New file.
44563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
44564         New file.
44565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
44566         New file.
44567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
44568         New file.
44570 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44572         * nptl/shlib-versions: Change powerpc*le start to 2.17.
44573         * shlib-versions: Likewise.
44575 2014-02-04  Roland McGrath  <roland@hack.frob.com>
44576             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44578         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
44579         (abilist-pattern): New variable, set to %-le.abilist.
44581         * Makerules (abilist-pattern): New variable.
44582         (vpath): Use $(abilist-pattern) in place of %.abilist.
44583         (check-abi-% pattern rule): Likewise.
44584         (check-abi, update-abi): Likewise.
44586 2014-02-04  Eric Wong  <normalperson@yhbt.net>
44588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44590 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
44592         * manual/startup.texi: Add next, previous, and top entries for
44593         the `Program Arguments' and `Environment Variables' nodes.
44595 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
44597         * manual/macros.texi: Add comments before MTASC-safety macros.
44599         * manual/users.texi: Document MTASC-safety properties.
44601         * manual/threads.texi (pthread_key_create, pthread_key_delete)
44602         (pthread_getspecific, pthread_setspecific): Format with
44603         @deftypefun, and add @safety note.
44604         * manual/signal.texi: Move comments that analyze the above
44605         functions to their home place.
44607 2014-02-03  Allan McRae  <allan@archlinux.org>
44609         * po/sl.po: Update Slovenian translation from translation project.
44611 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
44613         * manual/time.texi (timegm): Add missing blank after @c.
44614         Reported by Joseph Myers <joseph@codesourcery.com>.
44616 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
44618         * manual/check-safety.sh: New.
44619         * manual/Makefile ($(objpfx)stamp-summary): Run it.
44621         * manual/terminal.texi: Document MTASC-safety properties.
44623         * manual/filesys.texi: Document MTASC-safety properties.
44625         * manual/errno.texi: Document MTASC-safety properties.
44627         * manual/intro.texi: Document safety identifiers and
44628         conditionals.
44630         * manual/string.texi (wcstok): Fix prototype.
44631         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
44633         * manual/time.texi: Document MTASC-safety properties.
44635         * manual/string.texi: Document MTASC-safety properties.
44637         * manual/threads.texi: Document MTASC-safety properties.
44639         * manual/stdio.texi: Document MTASC-safety properties.
44641         * manual/syslog.texi: Document MTASC-safety properties.
44643         * manual/sysinfo.texi: Document MTASC-safety properties.
44645         * manual/startup.texi: Document MTASC-safety properties.
44647         * manual/socket.texi: Document MTASC-safety properties.
44649         * manual/signal.texi: Document MTASC-safety properties.
44651 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
44653         * manual/setjmp.texi: Document MTASC-safety properties.
44655         * manual/search.texi: Document MTASC-safety properties.
44657         * manual/resource.texi: Document MTASC-safety properties.
44659         * manual/process.texi: Document MTASC-safety properties.
44661         * manual/platform.texi: Document MTASC-safety properties.
44663         * manual/pipe.texi: Document MTASC-safety properties.
44665         * manual/pattern.texi: Document MTASC-safety properties.
44667         * manual/message.texi: Document MTASC-safety properties.
44669         [BZ #12751]
44670         * manual/memory.texi: Document MTASC-safety properties.
44672         * manual/math.texi: Document MTASC-safety properties.
44674         * manual/locale.texi: Document MTASC-safety properties.
44676         * manual/llio.texi: Document MTASC-safety properties.
44678         * manual/libdl.texi: New.
44680         * manual/lang.texi: Document MTASC-safety properties.
44682         * manual/job.texi: Document MTASC-safety properties.
44684         * manual/getopt.texi: Document MTASC-safety properties.
44686         * manual/ctype.texi: Document MTASC-safety properties.
44688 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
44690         [BZ #16046]
44691         * csu/libc-tls.c (static_map): Remove variable.
44692         (__libc_setup_tls): Use main executable's link map for TLS data.
44693         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
44694         casing for LM_ID_BASE and GL(dl_nns).
44695         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
44696         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
44697         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
44698         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
44699         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
44700         member.
44701         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
44702         l_phnum members.
44704 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
44706         * manual/debug.texi: Document MTASC-safety properties.
44708 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
44710         [BZ #16510]
44711         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
44712         of __x86_64__ when disabling x87 inline functions.
44714 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
44716         * manual/charset.texi: Document MTASC-safety properties.
44718         * manual/crypt.texi: Document MTASC-safety properties.
44720         * manual/conf.texi: Document MTASC-safety properties.
44722         * manual/arith.texi: Document MTASC-safety properties.
44724         * manual/argp.texi: Document MTASC-safety properties.
44726         * manual/macros.texi: Introduce macros to document multi
44727         thread, asynchronous signal and asynchronous cancellation
44728         safety properties.
44729         * manual/intro.texi: Introduce the properties themselves.
44731 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44733         * sysdeps/sh/sh4/Makefile: New file.
44735 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
44737         * math/gen-libm-test.pl ($srcdir): New variable.
44738         ($auto_input): Use it.
44740 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
44742         [BZ #16506]
44743         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
44744         access beyond array bounds when parsing netgroups file.
44746         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
44747         the old buffer before realloc.
44749 2014-01-27  Allan McRae  <allan@archlinux.org>
44751         * po/fr.po: Update French translation from translation project.
44753 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44755         * sysdeps/sh/libm-test-ulps: Regenerate.
44757 2014-01-24  David S. Miller  <davem@davemloft.net>
44759         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
44761 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44763         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
44764         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
44766 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
44768         [BZ #16474]
44769         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
44770         string pointers after reallocation.
44772 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44774         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
44775         __SH4A__ instead of __SH_FPU_ANY__.
44777 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44779         * sysdeps/sh/fpu_control.h: New file.
44780         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
44781         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
44782         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
44783         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
44784         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
44785         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
44786         * sysdeps/sh/sys/ucontext.h: Remove.
44787         * sysdeps/sh/sys: Remove directory.
44789 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44791         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
44792         s390/sys/ucontext.h.
44793         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
44794         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
44796 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
44798         [BZ #15605]
44799         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
44801 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44803         [BZ#16431]
44804         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
44805         Adjust the vDSO correctly for internal calls.
44806         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
44808 2014-01-20  Allan McRae  <allan@archlinux.org>
44810         * po/ca.po: Update Catalan translation from translation project.
44812 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
44814         * sysdeps/s390/sotruss-lib.c: New file.
44816 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44818         [BZ#16430]
44819         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
44820         (__GI___gettimeofday): Alias for a different internal symbol to avoid
44821         local calls issues by not having a PLT stub required for IFUNC calls.
44822         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
44824 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
44826         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
44827         * math/test-fpucw-static.c: Likewise.
44829 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44831         [BZ #16453]
44832         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
44834 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44836         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
44837         implementation for powerpc.
44839 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
44841         [BZ #14782]
44842         * sysdeps/posix/system.c (__libc_system): Do not enable
44843         asynchronous cancellation.
44845 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44847         [BZ #16427]
44848         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
44849         handling only for numbers special also in the IEEE case.
44851 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44853         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
44855 2014-01-11  Allan McRae  <allan@archlinux.org>
44857         * po/bg.po: Update Bulgarian translation from translation project.
44859         * po/de.po: Update German translation from translation project.
44861 2014-01-10  Roland McGrath  <roland@hack.frob.com>
44863         * sysdeps/generic/gcc-compat.h: New file.
44865 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44867         * benchtests/asin-inputs: Correct slow inputs.
44868         * benchtests/acos-inputs: Likewise.
44870 2014-01-10  Allan McRae  <allan@archlinux.org>
44872         * po:sv.po: Update Swedish translation from translation project.
44874         * po/vi.po: Update Vietnamese translation from translation project.
44876         * po/eo.po: Update Esperanto translation from translation project.
44878         * po/cs.po: Update Czech translation from translation project.
44880         * po/nl.po: Update Dutch translation from translation project.
44882         * po/pl.po: Update Polish translation from translation project.
44884         * po/ru.po: Update Russian translation from translation project.
44886         * po/uk.po: Update Ukrainian translation from translation project.
44888 2014-01-08  Brooks Moses  <bmoses@google.com>
44890         * elf/dl-load.c: Fix comment typo.
44892 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
44894         * po/header.pot: Rename to...
44895         * po/pot.header: ... this.
44896         * po/Makefile: Use pot.header.
44898 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
44899             Maxim Kuvyrkov  <maxim@kugelworks.com>
44901         [BZ #16394]
44902         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
44903         SRC and DEST against LEN.
44905 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44907         [BZ #16414]
44908         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
44909         implementation.
44910         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
44912 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44914         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44916 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
44918         [BZ #16408]
44919         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
44920         for large positive arguments.
44922 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
44924         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
44926         * math/auto-libm-test-in: Mark various tests with
44927         xfail-rounding:ldbl-128ibm.
44928         * math/auto-libm-test-out: Regenerated.
44930         [BZ #16407]
44931         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
44932         Increase overflow threshold.
44934 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
44936         [BZ #14286]
44937         * stdio-common/vfprintf.c: Check for integer overflow.
44939 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44941         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
44942         the first argument and return value of __tls_get_addr_internal.
44944 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44946         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
44947         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
44949 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44951         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
44952         * sysdeps/s390/rtld-global-offsets.sym: New file.
44953         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
44954         GLIBC_2.19 symbol.
44955         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
44956         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
44957         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44958         ... this.
44959         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
44960         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44961         ... this.
44962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
44963         Regenerate.
44964         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
44965         Regenerate.
44966         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
44967         halfs of GPRs for high_gprs contexts.
44968         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
44969         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
44970         field.
44971         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
44972         uc_flags field.
44973         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
44974         64 bit versions:
44975         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
44976         for high GPRs (uc_high_gprs) and for future extensions
44977         (__reserved).
44978         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
44979         for future extensions (__reserved).
44980         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
44981         64 bit versions:
44982         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
44983         SC_HIGHGPRS offset definition.
44984         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
44985         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
44987         * Versions.def: Add GLIBC_2.19 for libpthread.
44988         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
44989         siglongjmp for libpthread with GLIBC_2.19 symver.
44990         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
44991         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
44992         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
44993         * sysdeps/s390/__longjmp.c: New file.
44994         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
44995         * sysdeps/s390/longjmp.c: New file.
44996         * sysdeps/s390/setjmp.S: New file.
44997         * sysdeps/s390/sigjmp.S: New file.
44998         * sysdeps/s390/v1-longjmp.c: New file.
44999         * sysdeps/s390/v1-setjmp.h: New file.
45000         * sysdeps/s390/v1-sigjmp.c: New file.
45001         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
45002         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
45003         GLIBC_2.19 version.
45004         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
45005         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
45006         versioned symbols for ____longjmp_chk.
45007         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
45008         Likewise.
45009         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
45010         Regenerate.
45011         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45012         Regenerate.
45013         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
45014         Regenerate.
45015         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45016         Regenerate.
45017         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
45018         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
45019         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
45020         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
45021         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
45022         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
45023         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
45024         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
45025         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
45026         * sysdeps/s390/rtld-__longjmp.c: New file.
45027         * sysdeps/s390/rtld-setjmp.S: New file.
45029 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
45031         [BZ #16400]
45032         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45033         Return -__logl (x) for small positive arguments without evaluating
45034         a polynomial.
45036 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
45038         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
45039         Rename to ...
45040         (__ptrace_peeksiginfo_args): ... this.
45041         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
45042         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
45043         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
45045 2014-01-06  Allan McRae  <allan@archlinux.org>
45047         * inet/netinet/in.h: Fix typo in comment.
45049 2014-01-05  Andreas Jaeger  <aj@suse.de>
45051         * sysdeps/i386/fpu/libm-test-ulps: Update.
45053 2014-01-05  Allan McRae  <allan@archlinux.org>
45055         * po/libc.pot: Regenerated.
45057         * malloc/memusagestat.c: Fix gettext call formatting.
45059 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
45061         * nscd/nscd.c: Improve usage() output.
45063 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
45065         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
45066         * sysdeps/unix/sysv/linux/configure: Regenerated.
45067         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
45068         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
45070 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45072         [BZ #16390]
45073         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45074         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
45076 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45078         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
45079         extra tokens at end of #undef directive.
45080         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
45081         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
45082         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
45084 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
45086         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45088         * math/auto-libm-test-in: Mark various tests with
45089         xfail-rounding:ldbl-128ibm.
45090         * math/auto-libm-test-out: Regenerated.
45092 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
45094         [BZ #16386]
45095         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
45096         numbers with subnormal high part when calculating exponent.
45098         [BZ #16385]
45099         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
45100         fabs.
45102         [BZ #16384]
45103         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
45104         M_LN2l.
45105         (__ieee754_acoshl): Use __log1pl not __log1p.
45107 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
45109         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
45110         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
45111         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
45112         (grow_heap, heap_trim, _int_new_arena, get_free_list)
45113         (reused_arena, arena_get2): Convert to GNU style.
45114         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
45115         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
45116         (memalign_check, __malloc_set_state): Likewise.
45117         * malloc/mallocbug.c (main): Likewise.
45118         * malloc/malloc.c (__malloc_assert, malloc_init_state)
45119         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
45120         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
45121         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
45122         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
45123         (__posix_memalign, malloc_info): Likewise.
45124         * malloc/malloc.h: Likewise.
45125         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
45126         (mallochook, memalignhook, reallochook, mabort): Likewise.
45127         * malloc/mcheck.h: Likewise.
45128         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
45129         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
45130         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
45131         * malloc/morecore.c (__default_morecore): Likewise.
45132         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
45133         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
45134         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
45135         (print_and_abort): Likewise.
45136         * malloc/obstack.h: Likewise.
45137         * malloc/set-freeres.c (__libc_freeres): Likewise.
45138         * malloc/tst-mallocstate.c (main): Likewise.
45139         * malloc/tst-mtrace.c (main): Likewise.
45140         * malloc/tst-realloc.c (do_test): Likewise.
45142 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45144         [BZ #16366]
45145         * nscd/netgroupcache.c (do_notfound): New function.
45146         (addgetnetgrentX): Use it.
45148         [BZ # 16365]
45149         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
45150         NSS_STATUS_NOTFOUND.
45152 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
45154         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
45155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45157 2014-01-01  Allan McRae  <allan@archlinux.org>
45159         * scripts/update-copyrights: Update configure input file suffix.
45161         * NEWS: Update copyright year.
45162         * catgets/gencat.c: Likewise.
45163         * csu/version.c: Likewise.
45164         * debug/catchsegv.sh: Likewise.
45165         * debug/pcprofiledump.c: Likewise.
45166         * debug/xtrace.sh: Likewise.
45167         * elf/ldconfig.c: Likewise.
45168         * elf/ldd.bash.in: Likewise.
45169         * elf/pldd.c: Likewise.
45170         * elf/sotruss.ksh: Likewise.
45171         * elf/sprof.c: Likewise.
45172         * iconv/iconv_prog.c: Likewise.
45173         * iconv/iconvconfig.c: Likewise.
45174         * locale/programs/locale.c: Likewise.
45175         * locale/programs/localedef.c: Likewise.
45176         * login/programs/pt_chown.c: Likewise.
45177         * malloc/memusage.sh: Likewise.
45178         * malloc/memusagestat.c: Likewise.
45179         * malloc/mtrace.pl: Likewise.
45180         * manual/libc.texinfo: Likewise.
45181         * nscd/nscd.c: Likewise.
45182         * nss/getent.c: Likewise.
45183         * nss/makedb.c: Likewise.
45184         * posix/getconf.c: Likewise.
45185         * scripts/test-installation.pl: Likewise.
45187         * All files with FSF copyright notices: Update copyright dates
45188         using scripts/update-copyrights.
45189         * intl/plural.c: Regenerated.
45190         * locale/programs/charmap-kw.h: Likewise.
45191         * locale/programs/locfile-kw.h: Likewise.
45193 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
45195         * sysdeps/unix/sysv/linux/configure: Regenerated.
45196         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
45197         the linux/fanotify.h header.
45198         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
45199         HAVE_LINUX_FANOTIFY_H is defined.
45201 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45203         * benchtests/cos-inputs: New inputs.
45204         * benchtests/sin-inputs: Likewise.
45206         * benchtests/atan-inputs: New inputs. Fix name of multiple
45207         precision fallback inputs.
45209         * benchtests/atanh-inputs: New inputs.
45210         * benchtests/tanh-inputs: Likewise.
45212         * benchtests/acosh-inputs: New inputs.
45213         * benchtests/asinh-inputs: Likewise.
45215         * benchtests/cosh-inputs: New inputs.
45216         * benchtests/sinh-inputs: Likewise.
45218         * benchtests/acos-inputs: Add more inputs.
45219         * benchtests/asin-inputs: Likewise.
45221 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
45223         [BZ #16375]
45224         * manual/arith.texi: Fix spelling.
45225         * manual/charset.texi: Likewise.
45226         * manual/errno.texi: Likewise.
45227         * manual/filesys.texi: Likewise.
45228         * manual/lang.texi: Likewise.
45229         * manual/llio.texi: Likewise.
45230         * manual/locale.texi: Likewise.
45231         * manual/message.texi: Likewise.
45232         * manual/resource.texi: Likewise.
45233         * manual/search.texi: Likewise.
45234         * manual/setjmp.texi: Likewise.
45235         * manual/stdio.texi: Likewise.
45236         * manual/string.texi: Likewise.
45237         * manual/sysinfo.texi: Likewise.
45238         * manual/time.texi: Likewise.
45240 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
45242         * po/sl.po: New file.
45244 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
45246         * .gitignore: Add core/.gdbinit/.gdb_history.
45248 2013-12-27  Allan McRae  <allan@archlinux.org>
45250         [BZ #16369]
45251         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
45252         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
45254 2013-12-24  Brooks Moses  <bmoses@google.com>
45256         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
45257         all compilers that claim C++98 compliance, not just GCC.
45258         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
45259         Likewise.
45261 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45263         * NEWS: Restore accidentally deleted bug-fix entries.
45265 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
45266             Ondřej Bílka  <neleai@seznam.cz>
45268         [BZ #15073]
45269         * malloc/malloc.c (_int_free): Perform sanity check only if we
45270         have_lock.
45272 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
45274         [BZ #12986]
45275         * manual/stdio.texi (String Input Conversions): Clarify that character
45276         classes are not supported.
45278 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45280         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45282 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
45284         [BZ #16337]
45285         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
45286         Calculate results for small negative arguments directly rather
45287         than using reflection formula with special underflow handling.
45289         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
45290         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
45291         sysdeps/unix/bsd/bsd4.4/syscalls.list.
45292         (fchflags): Likewise.
45293         (revoke): Likewise.
45294         (setlogin): Likewise.
45295         (sigaltstack): Likewise.
45296         (wait4): Likewise.
45297         (sigblock): Remove.
45298         (sigsetmask): Likewise.
45299         (wait3): Likewise.
45300         (waitpid): Likewise.
45301         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
45302         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
45303         file.
45304         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
45305         * sysdeps/unix/bsd/Makefile: ... here.
45306         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
45307         * sysdeps/unix/bsd/Versions: ... here.
45308         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
45309         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
45310         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
45311         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
45312         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
45313         * sysdeps/unix/bsd/sigblock.c: ... here.
45314         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
45315         * sysdeps/unix/bsd/sigsetmask.c: ... here.
45316         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
45317         * sysdeps/unix/bsd/sigvec.c: ... here.
45318         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
45319         * sysdeps/unix/bsd/tcdrain.c: ... here.
45320         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
45321         * sysdeps/unix/bsd/tcgetattr.c: ... here.
45322         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
45323         * sysdeps/unix/bsd/tcsetattr.c: ... here.
45324         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
45325         * sysdeps/unix/bsd/wait.c: ... here.
45326         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
45327         * sysdeps/unix/bsd/wait3.c: ... here.
45328         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
45329         * sysdeps/unix/bsd/waitpid.c: ... here.
45331 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
45333         [BZ #16356]
45334         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
45335         round-to-nearest for [!USE_AS_EXPM1L].
45336         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
45337         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
45338         more tests of exp and exp10.  Expect some exp10 tests to miss
45339         exceptions or fail in directed rounding modes.
45340         * math/auto-libm-test-out: Regenerated.
45341         * math/libm-test.inc (exp10_tonearest_test_data): New array.
45342         (exp10_test_tonearest): New function.
45343         (exp10_towardzero_test_data): New array.
45344         (exp10_test_towardzero): New function.
45345         (exp10_downward_test_data): New array.
45346         (exp10_test_downward): New function.
45347         (exp10_upward_test_data): New array.
45348         (exp10_test_upward): New function.
45349         (main): Call the new functions.
45350         * sysdeps/i386/fpu/libm-test-ulps: Update.
45351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45353 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
45355         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
45356         asinh, atan, atan2, atanh, cbrt, cos and cosh.
45357         * math/auto-libm-test-out: Regenerated.
45358         * math/libm-test.inc (acosh_test_data): Add more tests.
45359         (atanh_test_data): Likewise.
45360         (ceil_test_data): Likewise.
45361         (copysign_test_data): Likewise.
45362         * sysdeps/i386/fpu/libm-test-ulps: Update.
45363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45365         * timezone/checktab.awk: Update from tzcode 2013i.
45366         * timezone/private.h: Likewise.
45367         * timezone/scheck.c: Likewise.
45368         * timezone/tzfile.h: Likewise.
45369         * timezone/tzselect.ksh: Likewise.
45370         * timezone/zdump.c: Likewise.
45371         * timezone/zic.c: Likewise.
45373         * math/auto-libm-test-in: Add tests of cpow.
45374         * math/auto-libm-test-out: Regenerated.
45375         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
45376         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45377         mpc_cc_c.
45378         (func_calc_desc): Add mpc_cc_c union field.
45379         (test_functions): Add cpow.
45380         (special_fill_2pi): New function.
45381         (special_real_inputs): Add 2pi.
45382         (calc_generic_results): Handle mpc_cc_c.
45383         * sysdeps/i386/fpu/libm-test-ulps: Update.
45384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45386         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
45387         csqrt, ctan and ctanh.
45388         * math/auto-libm-test-out: Regenerated.
45389         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45390         (TEST_COND_x86): Likewise.
45391         (ccos_test_data): Use AUTO_TESTS_c_c.
45392         (ccosh_test_data): Likewise.
45393         (cexp_test_data): Likewise.
45394         (clog_test_data): Likewise.
45395         (csqrt_test_data): Likewise.
45396         (ctan_test_data): Likewise.
45397         (ctan_tonearest_test_data): Likewise.
45398         (ctan_towardzero_test_data): Likewise.
45399         (ctan_downward_test_data): Likewise.
45400         (ctan_upward_test_data): Likewise.
45401         (ctanh_test_data): Likewise.
45402         (ctanh_tonearest_test_data): Likewise.
45403         (ctanh_towardzero_test_data): Likewise.
45404         (ctanh_downward_test_data): Likewise.
45405         (ctanh_upward_test_data): Likewise.
45406         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45407         mpc_c_c.
45408         (func_calc_desc): Add mpc_c_c union field.
45409         (FUNC_mpc_c_c): New macro.
45410         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
45411         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
45412         ctanh.
45413         (special_fill_min_subnorm_p120): New function.
45414         (special_real_inputs): Add min_subnorm_p120.
45415         (calc_generic_results): Handle mpc_c_c.
45416         * sysdeps/i386/fpu/libm-test-ulps: Update.
45417         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45419 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
45421         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
45422         (do_sin_slow): New functions.
45423         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
45424         (cslow2, csloww1, csloww2): Use the new functions.
45426         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
45427         Use M to change sign of result instead of X.  Assume X is
45428         positive.
45429         (csloww1): Likewise.
45430         (__sin): Adjust.
45431         (__cos): Adjust.
45433         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
45434         arguments A and DA.
45435         (__sin): Adjust.
45436         (__cos): Likewise.
45438         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
45439         (__cos): Likewise.
45440         (sloww1): Don't adjust sign of DX.
45441         (csloww1): Likewise.
45442         (sloww2): Use X directly and don't adjust sign of DX.
45443         (csloww2): Likewise.
45445 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45447         * math/auto-libm-test-in: Add tests of cabs and carg.
45448         * math/auto-libm-test-out: Regenerated.
45449         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
45450         (carg_test_data): Likewise.
45451         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45452         mpc_c_f.
45453         (func_calc_desc): Add mpc_c_f union field.
45454         (test_functions): Add cabs and carg.
45455         (calc_generic_results): Handle mpc_c_f.
45457         * sysdeps/powerpc/powerpc32/libgcc-compat.S
45458         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
45459         as a macro and a compat symbol.
45460         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45461         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45462         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45463         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45464         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
45465         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
45466         not use .hidden.
45467         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
45468         Likewise.
45469         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
45470         Likewise.
45471         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
45472         Likewise.
45473         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
45474         Likewise.
45475         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
45476         Likewise.
45477         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
45478         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
45479         from GLIBC_2.3.2.
45481 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45485 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45487         * manual/texinfo.tex: Update to version 2013-11-26.10 with
45488         trailing whitespace removed.
45489         * scripts/config.guess: Update to version 2013-11-29.
45490         * scripts/config.sub: Update to version 2013-10-01.
45492         * math/auto-libm-test-in: Add tests of sincos.
45493         * math/auto-libm-test-out: Regenerated.
45494         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
45495         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45496         mpfr_f_11.
45497         (func_calc_desc): Add mpfr_f_11 union field.
45498         (test_functions): Add sincos.
45499         (calc_generic_results): Handle mpfr_f_11.
45500         * sysdeps/i386/fpu/libm-test-ulps: Update.
45501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45503 2013-12-19  Andreas Schwab  <schwab@suse.de>
45505         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
45506         CALL_MCOUNT.
45507         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
45508         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
45509         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
45511 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
45513         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
45514         * sysdeps/i386/fpu/libm-test-ulps: Update.
45515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45517         [BZ #16293]
45518         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
45519         round-to-nearest mode when using frndint.
45520         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
45521         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
45522         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
45523         Likewise.
45524         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
45525         sinh test to fail.
45526         * math/auto-libm-test-out: Regenerated.
45527         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
45528         (TEST_COND_x86): Likewise.
45529         (expm1_tonearest_test_data): New array.
45530         (expm1_test_tonearest): New function.
45531         (expm1_towardzero_test_data): New array.
45532         (expm1_test_towardzero): New function.
45533         (expm1_downward_test_data): New array.
45534         (expm1_test_downward): New function.
45535         (expm1_upward_test_data): New array.
45536         (expm1_test_upward): New function.
45537         (main): Run the new test functions.
45538         * sysdeps/i386/fpu/libm-test-ulps: Update.
45539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45541         * include/features.h: Update comment documenting feature test
45542         macros.  Mention _DEFAULT_SOURCE in comment.
45543         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
45544         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
45545         _BSD_SOURCE and _SVID_SOURCE.
45546         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
45547         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
45548         !_SVID_SOURCE]: Likewise.
45549         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45550         (__USE_POSIX_IMPLICITLY): Define.
45551         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45552         (_POSIX_SOURCE): Undefine and redefine.
45553         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
45554         (_POSIX_C_SOURCE): Likewise.
45555         * manual/creature.texi (_DEFAULT_SOURCE): Document.
45556         (Feature Test Macros): Update documentation of default features.
45558 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
45560         * benchtests/Makefile: Add bench-strtok.
45561         * benchtests/bench-strtok.c: New file: strtok benchtest.
45563 2013-12-19  Allan McRae  <allan@archlinux.org>
45565         * manual/install.texi: Suppress menu for plain text output.
45566         * INSTALL: Regenerated.
45568 2013-12-18  Brooks Moses  <bmoses@google.com>
45570         [BZ #15846]
45571         * misc/getauxval.c: Include errno.h.
45572         (__getauxval): Set errno to ENOENT if the requested type is not
45573         found.
45574         * misc/sys/auxv.h (getauxval): Document that it may set errno;
45575         don't declare with __attribute_const__.
45576         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
45577         * manual/startup.texi: Document that getauxval sets errno.
45579 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45581         * math/auto-libm-test-in: Add tests of jn and yn.
45582         * math/auto-libm-test-out: Regenerated.
45583         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
45584         (yn_test_data): Likewise.
45585         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45586         mpfr_if_f.
45587         (func_calc_desc): Add mpfr_if_f union field.
45588         (FUNC_mpfr_if_f): New macro.
45589         (test_functions): Add jn and yn.
45590         (calc_generic_results): Assert type of second input for
45591         mpfr_ff_f.  Handle mpfr_if_f.
45592         (output_for_one_input_case): Disable all checking for arguments
45593         fitting floating-point types in case of an integer argument.
45594         * sysdeps/i386/fpu/libm-test-ulps: Update.
45595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
45598         Don't expect fegetround reference in libm.so.
45600 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
45602         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
45603         $(config-cflags-nofma).
45605 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
45607         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
45608         * math/auto-libm-test-out: Regenerated.
45610         [BZ #16338]
45611         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
45612         to determine exponent and adjust argument to have exponent of -1.
45613         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
45614         log2.
45615         * math/auto-libm-test-out: Regenerated.
45616         * sysdeps/i386/fpu/libm-test-ulps: Update.
45617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45619 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
45621         * manual/probes.texi: Remove cases when per-thread arenas are
45622         disabled.
45624 2013-12-18  Andreas Schwab  <schwab@suse.de>
45626         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
45627         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
45628         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
45629         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
45630         * sysdeps/i386/i686/multiarch/Makefile: Update.
45631         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
45633 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45635         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
45636         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
45638 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
45640         [BZ #15968]
45641         Support TZ transition times < 00:00:00.
45642         This is needed for version-3 tz-format files; it supports time
45643         stamps past 2037 for America/Godthab (the only entry in the tz
45644         database for which this change is relevant).
45645         * manual/time.texi (TZ Variable): Document transition times
45646         from -167:59:59 through -00:00:01.
45647         * time/tzset.c (tz_rule): Time of day is now signed.
45648         (__tzset_parse_tz): Parse negative time of day.
45650         Document TZ transition times >= 25:00:00.
45651         * manual/time.texi (TZ Variable): Document transition times from
45652         25:00:00 through 167:59:59.  These are already supported, and this
45653         support will help with version-3 tz-format files.
45655         * manual/time.texi (TZ Variable): Modernize North America example
45656         to reflect current (i.e., 2007-and-later) daylight saving rules.
45658         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
45660 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45662         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
45663         * sysdeps/unix/bsd/bits/stat.h: Likewise.
45664         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
45665         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
45666         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
45667         * sysdeps/unix/bsd/bsdstat.h: Likewise.
45668         * sysdeps/unix/bsd/clock.c: Likewise.
45669         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
45670         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
45671         * sysdeps/unix/bsd/init-posix.c: Likewise.
45672         * sysdeps/unix/bsd/poll.c: Likewise.
45673         * sysdeps/unix/bsd/ptsname.c: Likewise.
45674         * sysdeps/unix/bsd/seekdir.c: Likewise.
45675         * sysdeps/unix/bsd/setegid.c: Likewise.
45676         * sysdeps/unix/bsd/seteuid.c: Likewise.
45677         * sysdeps/unix/bsd/setgid.c: Likewise.
45678         * sysdeps/unix/bsd/setrgid.c: Likewise.
45679         * sysdeps/unix/bsd/setruid.c: Likewise.
45680         * sysdeps/unix/bsd/setsid.c: Likewise.
45681         * sysdeps/unix/bsd/setuid.c: Likewise.
45682         * sysdeps/unix/bsd/sigaction.c: Likewise.
45683         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
45684         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
45685         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
45686         * sysdeps/unix/bsd/telldir.c: Likewise.
45687         * sysdeps/unix/bsd/times.c: Likewise.
45688         * sysdeps/unix/bsd/usleep.c: Likewise.
45690         * misc/Makefile (install-lib): Remove libbsd-compat.a.
45691         ($(objpfx)libbsd-compat.a): Remove rule.
45693         * include/features.h (__FAVOR_BSD): Do not define.
45694         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
45695         features conflicting with POSIX.
45696         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
45697         (_BSD_SOURCE): Remove description of not being a subset of other
45698         feature test macros.
45699         * manual/job.texi (getpgrp): Do not document BSD version.
45700         (getpgid): Do not document by reference to BSD getpgrp.
45701         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
45702         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
45703         * signal/signal.h [__FAVOR_BSD]: Likewise.
45704         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
45705         instead of making contents conditional on [__FAVOR_BSD].
45706         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
45708 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45712 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
45714         [BZ #16314]
45715         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
45716         values below 2**-450, not 2**-500.
45717         * math/auto-libm-test-in: Don't allow spurious underflow from
45718         hypot.
45719         * math/auto-libm-test-out: Regenerated.
45721         [BZ #16316]
45722         [BZ #16330]
45723         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
45724         values of ha and hb and sort them after adjusting subnormal
45725         arguments.
45726         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
45727         Likewise.
45728         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
45729         values of ea and eb and sort them after adjusting subnormal
45730         arguments.
45731         * math/auto-libm-test-in: Do not expect some hypot tests of
45732         subnormals to fail.  Add more hypot tests.
45733         * math/auto-libm-test-out: Regenerated.
45735 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45737         [BZ #13304]
45738         * sysdeps/sh/s_fma.c: New file.
45739         * sysdeps/sh/s_fmaf.c: New file.
45740         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
45741         version.
45742         * sysdeps/sh/Implies: Add sh/soft-fp.
45744 2013-12-16  Roland McGrath  <roland@hack.frob.com>
45746         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
45747         level of indirection to members `objname', `errstring', `malloced'.
45748         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
45749         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
45750         it as the __longjmp argument (just pass 1 instead).
45751         (_dl_catch_error): Initialize C with argument pointers and address of
45752         volatile local ERRCODE rather than copying values out of C at return.
45754 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
45756         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
45757         * math/auto-libm-test-out: Regenerated.
45758         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
45759         (hypot_test_data): Likewise.
45760         (pow_test_data): Likewise.
45761         (pow_tonearest_test_data): Likewise.
45762         * math/gen-auto-libm-tests.c (func_calc_method): Add value
45763         mpfr_ff_f.
45764         (func_calc_desc): Add mpfr_ff_f union field.
45765         (FUNC_mpfr_ff_f): New macro.
45766         (test_functions): Add atan2, hypot and pow.
45767         (special_fill_min): New function.
45768         (special_fill_minus_min): Likewise.
45769         (special_fill_min_subnorm): Likewise.
45770         (special_fill_minus_min_subnorm): Likewise.
45771         (special_real_inputs): Add min, -min, min_subnorm and
45772         -min_subnorm.
45773         (calc_generic_results): Handle mpfr_ff_f.
45774         * sysdeps/i386/fpu/libm-test-ulps: Update.
45775         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45777 2013-12-16  Will Newton  <will.newton@linaro.org>
45779         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
45780         (Aligned Memory Blocks): Add documentation for aligned_alloc
45781         and suggest it as an alternative to posix_memalign.
45782         (Hooks for Malloc): Document __memalign_hook is also called
45783         for aligned_alloc.  (Summary of Malloc): Add summary for
45784         aligned alloc.  Document __memalign_hook is also called
45785         for aligned_alloc.
45787 2013-12-16  Will Newton  <will.newton@linaro.org>
45789         * manual/memory.texi (Malloc Examples): Clarify default
45790         alignment documentation.  Suggest posix_memalign rather
45791         than memalign or valloc.
45792         (Aligned Memory Blocks): Remove suggestion to use memalign
45793         or valloc.  Remove obsolete comment about BSD.
45794         Document memalign errno values and mark the function obsolete.
45795         Document posix_memalign returned error codes.  Mark valloc
45796         as obsolete.  (Hooks for Malloc): __memalign_hook is also
45797         called for posix_memalign and valloc.
45798         (Summary of Malloc): Add posix_memalign to function summary.
45799         __memalign_hook is also called for posix_memalign and valloc.
45801 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45803         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
45804         TAYLOR_SIN.
45805         (__sin): Adjust.
45806         (__cos): Likewise.
45807         (sloww): Use mynumber union.  Expand ternary operator into
45808         if-else statements.
45809         (cslow): use mynumber union.
45811 2013-12-16  Allan McRae  <allan@archlinux.org>
45813         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
45814         * configure: Regenerated.
45816         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
45818         [BZ #14120]
45819         * configure.ac: Added --enable-maintainer-mode. Check for
45820         autoconf when enabled.
45821         * configure: Regenerated.
45823         * nscd/nscd.service: New file.
45824         * nscd/nscd.tmpfiles: New file.
45826 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
45828         [BZ #12100]
45829         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
45830         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
45831         * sysdeps/x86_64/multiarch/strstr.c: ... here.
45832         (strstr): Add __strstr_sse2_unaligned ifunc.
45833         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
45834         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
45835         (strcasestr): Remove __strcasestr_sse42 ifunc.
45836         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
45837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
45838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
45840 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45842         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
45843         * sysdeps/sh/bits/fenv.h: ... here.
45844         * sysdeps/sh/sh4/fpu/bits: Remove directory.
45846 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45848         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
45850         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
45851         hypotf multiarch implementations.
45852         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
45853         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
45854         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
45855         multiarch hypot for PPC64.
45856         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
45857         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
45858         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
45859         multiarch hypotf for PPC64.
45861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
45862         modff multiarch implementations.
45863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
45864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
45865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
45866         multiarch modf for PPC64.
45867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
45868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
45869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
45870         multiarch modff for PPC64.
45872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
45873         and logl multiarch implementations.
45874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
45875         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
45876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
45877         multiarch logb for PPC64.
45878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
45879         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
45880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
45881         multiarch logb for PPC64.
45882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
45883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
45884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
45885         multiarch logb for PPC64.
45887         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
45888         isinff multiarch implementation.
45889         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
45890         file.
45891         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
45892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
45893         multiarch isinf for PPC64.
45894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
45895         file.
45896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
45897         multiarch isinff for PPC64.
45899         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
45900         finitef multiarch implementation.
45901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
45902         file.
45903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
45904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
45905         multiarch finite for PPC64.
45906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
45907         file.
45908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
45909         multiarch finitef for PPC64.
45911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
45912         lrint multiarch implementation.
45913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
45914         file.
45915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
45916         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
45917         multiarch llrint for PPC64.
45918         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
45919         multiarch lrint for PPC64.
45921         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
45922         copysignf multiarch implementation.
45923         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
45924         file.
45925         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
45926         file.
45927         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
45928         multiarch copysign for PPC64.
45929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
45930         multiarch copysignf for PPC64.
45932         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
45933         multiarch implementation.
45934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
45935         file.
45936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
45937         file.
45938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
45939         file.
45940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
45941         file.
45942         multiarch llround for PPC64.
45943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
45944         multiarch trunc for PPC64.
45945         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
45946         multiarch truncf for PPC64.
45948         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
45949         multiarch implementation.
45950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
45951         file.
45952         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
45953         file.
45954         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
45955         file.
45956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
45957         file.
45958         multiarch llround for PPC64.
45959         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
45960         multiarch round for PPC64.
45961         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
45962         multiarch roundf for PPC64.
45964         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
45965         multiarch implementation.
45966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
45967         file.
45968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
45969         file.
45970         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
45971         file.
45972         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
45973         file.
45974         multiarch llround for PPC64.
45975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
45976         multiarch floor for PPC64.
45977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
45978         multiarch floorf for PPC64.
45980         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
45981         multiarch implementation.
45982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
45983         file.
45984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
45985         file.
45986         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
45987         file.
45988         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
45989         file.
45990         multiarch llround for PPC64.
45991         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
45992         multiarch ceil for PPC64.
45993         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
45994         multiarch ceilf for PPC64.
45996         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45997         multiarch implementation.
45998         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
45999         file.
46000         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
46001         file.
46002         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
46003         file.
46004         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
46005         multiarch llround for PPC64.
46006         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
46007         multiarch lround for PPC64.
46009         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46010         multiarch implementation.
46011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
46012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
46013         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
46014         file.
46015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
46016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
46017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
46018         multiarch isnan for PPC64.
46019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
46020         multiarch isnanf for PPC64.
46022         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
46023         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
46024         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
46025         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
46026         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
46027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
46029         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
46030         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
46031         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
46032         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
46034         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
46035         multiarch implementations.
46036         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46037         (__libc_ifunc_impl_list): Likewise.
46038         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
46039         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
46040         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
46041         multiarch stpcpy for PPC64.
46043         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
46044         multiarch implementations.
46045         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46046         (__libc_ifunc_impl_list): Likewise.
46047         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
46048         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
46049         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
46050         multiarch strcpy for PPC64.
46052         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
46053         redefine function name.
46054         (_wordcopy_fwd_dest_aligned): Likewise.
46055         (_wordcopy_bwd_aligned): Likewise.
46056         (_wordcopy_bwd_dest_aligned): Likewise.
46057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
46058         multiarch implementations.
46059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46060         (__libc_ifunc_impl_list): Likewise.
46061         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
46062         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
46063         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
46064         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
46065         multiarch wcscpy for PPC64.
46067         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
46068         multiarch implementations.
46069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46070         (__libc_ifunc_impl_list): Likewise.
46071         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
46072         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
46073         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
46074         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
46075         multiarch wcscpy for PPC64.
46077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
46078         multiarch implementations.
46079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46080         (__libc_ifunc_impl_list): Likewise.
46081         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
46082         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
46083         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
46084         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
46085         multiarch wcsrchr for PPC64.
46087         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
46088         multiarch implementations.
46089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46090         (__libc_ifunc_impl_list): Likewise.
46091         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
46092         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
46093         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
46094         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
46095         multiarch wcschr for PPC64.
46097         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
46098         multiarch implementations.
46099         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46100         (__libc_ifunc_impl_list): Likewise.
46101         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
46102         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
46103         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
46104         multiarch strchrnul for PPC64.
46106         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
46107         implementations.
46108         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46109         (__libc_ifunc_impl_list): Likewise.
46110         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
46111         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
46112         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
46113         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
46114         strchr for PPC64.
46116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
46117         implementations.
46118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46119         (__libc_ifunc_impl_list): Likewise.
46120         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
46121         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
46122         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
46123         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
46124         strncmp for PPC64.
46126         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
46127         multiarch implementations.
46128         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46129         (__libc_ifunc_impl_list): Likewise.
46130         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
46131         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
46132         strncasecmp for PPC64.
46133         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
46134         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
46135         multiarch strncasecmp_l for PPC64.
46137         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
46138         multiarch implementations.
46139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46140         (__libc_ifunc_impl_list): Likewise.
46141         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
46142         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
46143         multiarch strcasecmp for PPC64.
46144         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
46145         file.
46146         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
46147         multiarch strcasecmp_l for PPC64.
46149         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
46150         implementations.
46151         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46152         (__libc_ifunc_impl_list): Likewise.
46153         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
46154         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
46155         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
46156         strnlen for PPC64.
46158         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
46159         implementations.
46160         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46161         (__libc_ifunc_impl_list): Likewise.
46162         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
46163         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
46164         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
46165         strlen for PPC64.
46167         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
46168         implementations.
46169         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46170         (__libc_ifunc_impl_list): Likewise.
46171         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
46172         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
46173         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
46174         rawmemrchr for PPC64.
46176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
46177         implementation.
46178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46179         (__libc_ifunc_impl_list): Likewise.
46180         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
46181         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
46182         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
46183         memrchr for PPC64.
46185         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
46186         implementation.
46187         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46188         (__libc_ifunc_impl_list): Likewise.
46189         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
46190         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
46191         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
46192         memchr for PPC64.
46194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
46195         implementation.
46196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46197         (__libc_ifunc_impl_list): Likewise.
46198         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
46199         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
46200         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
46201         mempcpy for PPC64.
46203         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
46204         avoid cretion of __bzero symbol.
46205         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
46206         Likewise.
46207         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
46208         Likewise.
46209         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
46210         Likewise.
46211         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
46212         multiarch implementations.
46213         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46214         (__libc_ifunc_impl_list): Likewise.
46215         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
46216         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
46217         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
46218         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
46219         bzero for PPC32.
46220         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
46221         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
46222         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
46223         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
46224         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
46225         memset for PPC64.
46226         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
46228         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
46229         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
46230         implementations.
46231         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46232         (__libc_ifunc_impl_list): Likewise.
46233         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
46234         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
46235         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
46236         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
46237         memcmp for PPC64.
46239         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
46240         multiarch for POWER/PPC64.
46241         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46242         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
46243         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
46244         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
46245         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
46246         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
46247         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
46248         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
46249         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
46250         memcpy for PPC64.
46252         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
46253         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
46254         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
46255         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
46256         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
46257         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
46258         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
46259         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
46260         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
46261         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
46262         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
46263         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
46264         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
46265         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
46266         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
46267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
46268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
46269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
46270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
46271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
46272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
46273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
46275 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46277         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
46279 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46281         * benchtests/Makefile (bench): Add exp2 and log2.
46282         (LDLIBS-bench-exp2): Add -lm.
46283         (LDLIBS-bench-log2): Likewise.
46284         * benchtests/exp2-inputs: New inputs file.
46285         * benchtests/log2-inputs: New inputs file.
46286         * benchtests/log-inputs: Add new inputs.
46287         * benchtests/tan-inputs: Likewise.
46289 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
46291         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
46292         definition...
46293         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
46294         (csloww2): ... from here.
46296         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
46297         instead of structures.
46298         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
46299         (POLYNOMIAL): Likewise.
46300         (TAYLOR_SLOW): Likewise.
46301         (__sin): Likewise.
46302         (__cos): Likewise.
46303         (slow1): Likewise.
46304         (slow2): Likewise.
46305         (sloww): Likewise.
46306         (sloww1); Likewise.
46307         (sloww2): Likewise.
46308         (bsloww1): Likewise.
46309         (bsloww2): Likewise.
46310         (cslow2): Likewise.
46311         (csloww): Likewise.
46312         (csloww1): Likewise.
46313         (csloww2): Likewise.
46315 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
46317         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
46318         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
46319         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
46320         * malloc/hooks.c (realloc_check): Likewise.
46322         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
46323         * malloc/arena.c: Remove PER_THREAD conditional.
46324         [!PER_THREAD]: Remove code.
46325         (ptmalloc_unlock_all2): Likewise.
46326         (ptmalloc_init): Likewise.
46327         (_int_new_arena): Likewise.
46328         (arena_get2): Likewise.
46329         * malloc/hooks.c (__malloc_get_state): Likewise.
46330         (__malloc_set_state): Likewise.
46331         * malloc/malloc.c: Likewise.
46332         (struct malloc_state): Likewise.
46333         (struct malloc_par): Likewise.
46334         (__libc_realloc): Likewise.
46335         (__libc_mallopt): Likewise.
46337 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46339         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
46341 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
46343         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
46344         macro to a function.  Check for zero perturb_byte.
46345         (_int_malloc, _int_free): Remove zero perturb_byte checks.
46347         * malloc/malloc.c: (force_reg): Remove.
46348         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
46349         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
46350         force_reg by atomic_forced_read.
46351         * malloc/arena.c (ptmalloc_init): Likewise.
46352         * malloc/hooks.c (top_check): Likewise.
46354 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46358 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
46360         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46362 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
46364         * math/auto-libm-test-in: Add tests of lgamma.
46365         * math/auto-libm-test-out: Regenerated.
46366         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
46367         (M_LOG_2_SQRT_PIl): Likewise.
46368         (lgamma_test_data): Use AUTO_TESTS_f_f1.
46369         * math/gen-auto-libm-tests.c (func_calc_method): Add value
46370         mpfr_f_f1.
46371         (func_calc_desc): Add mpfr_f_f1 union field.
46372         (ARGS1): New macro.
46373         (ARGS2): Likewise.
46374         (ARGS3): Likewise.
46375         (ARGS4): Likewise.
46376         (RET1): Likewise.
46377         (RET2): Likewise.
46378         (CALC): Likewise.
46379         (FUNC): Likewise.
46380         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
46381         (test_functions): Add lgamma.
46382         (calc_generic_results): Handle mpfr_f_f1.
46383         * sysdeps/i386/fpu/libm-test-ulps: Update.
46384         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46386 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46388         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
46389         __mpn_add_n for PowerPC64/POWER7.
46390         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
46391         __mpn_sub_n for PowerPC64/POWER7.
46393         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
46394         __mpn_addmul_1 for PowerPC64.
46395         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
46396         __mpn_submul_1 for PowerPC64.
46397         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
46398         for PowerPC64.
46399         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
46400         for PowerPC64.
46402 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
46404         [BZ #15089]
46405         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
46407 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46409         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
46411         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
46412         add multiarch folders.
46413         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
46414         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
46415         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
46416         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
46417         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
46418         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
46419         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
46420         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
46421         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
46422         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
46423         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
46424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
46425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
46426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
46427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
46428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
46429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
46431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46432         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
46433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
46434         New file.
46435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
46436         New file.
46437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
46438         multiarch __ieee754_hypot for PowerPC32.
46439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
46440         New file.
46441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
46442         New file.
46443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
46444         multiarch __ieee754_hypotf for PowerPC32.
46446         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
46447         long_double_symbol only if __logbl is defined.
46448         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
46449         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
46450         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
46451         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
46452         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
46453         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
46454         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
46455         path for implementation.
46456         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
46457         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
46458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
46459         logb, and logbl multiarch implementations for PowerPC32.
46460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
46461         file.
46462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
46463         file.
46464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
46465         multiarch logb for PowerPC32.
46466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
46467         file.
46468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
46469         file.
46470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
46471         multiarch logbf for PowerPC32.
46472         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
46473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
46474         file.
46475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
46476         multiarch logbl implementation for PowerPC32.
46478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
46479         and modff multiarch implementations.
46480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
46481         New file.
46482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
46483         New file.
46484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
46485         multiarch modf for PowerPC32.
46486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
46487         New file.
46488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
46489         New file.
46490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
46491         multiarch modff for PowerPC32.
46493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
46494         and lrintf multiarch implementations.
46495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
46496         New file.
46497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
46498         New file.
46499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
46500         multiarch lrint for PowerPC32.
46501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
46502         file: multiarch lrintf for PowerPC32.
46504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
46505         and lroundf multiarch implementations.
46506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
46507         New file.
46508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
46509         New file.
46510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
46511         New file.
46512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
46513         multiarch lround for PowerPC32.
46514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
46515         file: multiarch lroundf for PowerPC32.
46517         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
46518         copysign and copysignf multiarch implementations.
46519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
46520         New file.
46521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
46522         New file.
46523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
46524         file: multiarch copysign for PowerPC32.
46525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
46526         file: multiarch copysignf for PowerPC32.
46528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
46529         and truncf multiarch implementations.
46530         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
46531         New file.
46532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
46533         file.
46534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
46535         multiarch trunc for PowerPC32.
46536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
46537         New file.
46538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
46539         New file.
46540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
46541         multiarch truncf for PowerPC32.
46543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
46544         and roundf multiarch implementations.
46545         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
46546         New file.
46547         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
46548         file.
46549         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
46550         multiarch round for PowerPC32.
46551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
46552         New file.
46553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
46554         New file.
46555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
46556         multiarch roundf for PowerPC32.
46558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
46559         and floorf multiarch implementations.
46560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
46561         New file.
46562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
46563         file.
46564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
46565         multiarch floor for PowerPC32.
46566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
46567         New file.
46568         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
46569         New file.
46570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
46571         multiarch floorf for PowerPC32.
46573         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
46574         and ceilf multiarch implementations.
46575         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
46576         New file.
46577         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
46578         file.
46579         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
46580         multiarch ceil for PowerPC32.
46581         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
46582         New file.
46583         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
46584         file.
46585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
46586         multiarch ceilf for PowerPC32.
46588         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
46589         is defined.
46590         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
46591         FINITEF is defined.
46592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
46593         and finitef multiarch implementations.
46594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
46595         New file.
46596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
46597         file.
46598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
46599         multiarch finite for PowerPC32.
46600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
46601         New file.
46602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
46603         file: multiarch finitef for PowerPC32.
46605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
46606         and isinff multiarch implementations.
46607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
46608         file.
46609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
46610         file.
46611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
46612         multiarch isinf for PowerPC32.
46613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46614         New file.
46615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
46616         multiarch isinff for PowerPC32.
46618         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
46619         alias when __isnan is defined.
46620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
46621         and isnanf multiarch implementations.
46622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
46623         file.
46624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
46625         file.
46626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
46627         file.
46628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
46629         file.
46630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
46631         multiarch isnan for PowerPC32.
46632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
46633         New file.
46634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
46635         New file.
46636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
46637         multiarch isnanf for PowerPC32.
46639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
46640         and sqrtf multiarch implementations.
46641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
46642         file.
46643         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
46644         file.
46645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
46646         multiarch sqrt for PowerPC32.
46647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
46648         file.
46649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
46650         file.
46651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
46652         multiarch sqrtf for PowerPC32.
46654         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
46655         and llroundf multiarch implementations.
46656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
46657         New file.
46658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
46659         New file.
46660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
46661         New file.
46662         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
46663         file: multiarch llround for PowerPC32.
46664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
46665         file: multiarch llroundf for PowerPC32.
46667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
46668         multiarch PowerPC32 fpu implementations.
46669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
46670         New file.
46671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
46672         New file.
46673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
46674         multiarch llrint for PowerPC32.
46675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
46676         New file.
46677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
46678         New file.
46679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
46680         file.
46682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
46684         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
46685         file.
46686         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
46687         file.
46688         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
46689         file.
46690         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
46691         multiarch wordcopy for PPC32.
46692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46693         wordcopy objects.
46694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46695         (__libc_ifunc_impl_list): Likewise.
46696         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
46697         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
46698         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
46699         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
46700         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
46701         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
46703         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
46704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
46705         file.
46706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
46707         file.
46708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
46709         file.
46710         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
46711         multiarch wcscpy for PPC32.
46712         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
46713         multiarch objects.
46714         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46715         (__libc_ifunc_impl_list): Likewise.
46716         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46717         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46718         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
46719         sysdeps/powerpc/power6/wcscpy.c.
46721         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
46722         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
46723         file.
46724         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
46725         file.
46726         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
46727         file.
46728         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
46729         multiarch wcsrchr for PPC32.
46730         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46731         multiarch objects.
46732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46733         (__libc_ifunc_impl_list): Likewise.
46734         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
46735         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
46736         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
46737         sysdeps/powerpc/power6/wcsrchr.c.
46739         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
46740         file.
46741         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
46742         file.
46743         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
46744         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
46745         multiarch wcschr for PPc32.
46746         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
46747         multiarch objects.
46748         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46749         (__libc_ifunc_impl_list): Likewise.
46750         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
46751         * sysdeps/powerpc/power6/wcschr.c: ... to here.
46752         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
46753         sysdeps/powerpc/power6/wcschr.c.
46755         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
46756         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
46757         file.
46758         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
46759         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
46760         file: multiarch strchr for PPC32.
46761         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
46762         multiarch objects.
46763         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46764         (__libc_ifunc_impl_list): Likewise.
46766         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
46767         name.
46768         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
46769         file.
46770         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
46771         file.
46772         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
46773         multiarch strchrnul for PPC32.
46774         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
46775         multiarch objects.
46776         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46777         (__libc_ifunc_impl_list): Likewise.
46779         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
46780         file.
46781         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
46782         multiarch strncasecmp for PPC32.
46783         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
46784         file.
46785         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
46786         multiarch strncasecmp_l for PPC32.
46787         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
46788         strncasecmp multiarch objects.
46789         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46790         (__libc_ifunc_impl_list): Likewise.
46792         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
46793         file.
46794         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
46795         multiarch strncasecmp for PPC32.
46796         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46797         New file.
46798         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
46799         multiarch strcasecmp_l for PPC32.
46800         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
46801         multiarch objects.
46802         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46803         (__libc_ifunc_impl_list): Likewise.
46805         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
46806         file.
46807         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
46808         file.
46809         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
46810         multiarch strncmp for PPC32.
46811         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
46812         multiarch objects.
46813         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46814         (__libc_ifunc_impl_list): Likewise.
46816         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
46817         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
46818         file.
46819         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
46820         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
46821         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
46822         multiarch objects.
46823         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46824         (__libc_ifunc_impl_list): Likewise.
46826         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
46827         file.
46828         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
46829         file.
46830         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
46831         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
46832         multiarch objects.
46833         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46834         (__libc_ifunc_impl_list): Likewise.
46836         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
46837         file.
46838         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
46839         file.
46840         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
46841         multiarch rawmemchr for PPC32.
46842         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
46843         multiarch objects.
46844         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46845         (__libc_ifunc_impl_list): Likewise.
46847         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
46848         file.
46849         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
46850         file.
46851         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
46852         file: memrchr multiarch for PPC32.
46853         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
46854         multiarch objects.
46855         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
46856         (__libc_ifunc_impl_list): Likewise.
46858         * string/memchr.c (__memchr): Using macro to redefine symbol name.
46859         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
46860         file.
46861         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
46862         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
46863         multiarch memchr for PPC32.
46864         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
46865         multiarch objects.
46866         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46867         (__libc_ifunc_impl_list): Likewise.
46869         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
46870         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
46871         file.
46872         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46873         file.
46874         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
46875         file: multiarch mempcpy for PPC32.
46876         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
46877         multiarch objects.
46878         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46879         (__libc_ifunc_impl_list): Likewise.
46881         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
46882         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
46883         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
46884         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
46885         multiarch bzero for PPC32.
46886         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
46887         file.
46888         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
46889         file.
46890         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
46891         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
46892         file: multiarch memset for PPC32.
46893         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
46894         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
46895         memset multiarch objects.
46896         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46897         (__libc_ifunc_impl_list): Likewise.
46899         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
46900         file.
46901         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
46902         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
46903         memcmp for PPC32.
46904         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
46905         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
46906         multiarch objects.
46907         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46908         (__libc_ifunc_impl_list): Likewise.
46910         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
46911         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
46912         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
46913         file.
46914         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
46915         file.
46916         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
46917         file.
46918         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
46919         multiarch memcpy for PPC32.
46920         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
46921         multiarch objects.
46922         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46923         (__libc_ifunc_impl_list): Likewise.
46925         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
46926         support multiarch for POWER/PPC32.
46927         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
46928         Likewise.
46929         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
46930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
46931         Implies file to make multiarch folder appers before the fpu and
46932         default folder for power4 configuration.
46934 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
46936         * scripts/bench.pl: Append volatile keyword to type.
46938 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46940         * sysdeps/sh/sotruss-lib.c: New file.
46941         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
46943 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46947 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
46949         [BZ #6810]
46950         * math/w_tgamma.c: Include <errno.h>.
46951         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
46952         * math/w_tgammaf.c: Include <errno.h>.
46953         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
46954         * math/w_tgammal.c: Include <errno.h>.
46955         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
46956         * math/auto-libm-test-in: Do not allow missing errno on tgamma
46957         underflow.  Add more tgamma tests.
46958         * math/auto-libm-test-out: Regenerated.
46959         * sysdeps/i386/fpu/libm-test-ulps: Update.
46960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46962         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
46963         sin, sinh, tan, tanh, tgamma, y0 and y1.
46964         * math/auto-libm-test-out: Regenerated.
46965         * math/libm-test.inc (TEST_COND_x86_64): New macro.
46966         (TEST_COND_x86): Likewise.
46967         (M_E2l): Remove macro.
46968         (M_E3l): Likewise.
46969         (M_2_SQRT_PIl): Likewise.
46970         (M_SQRT_PIl): Likewise.
46971         (M_1_DIV_El): Likewise.
46972         (log_test_data): Use AUTO_TESTS_f_f.
46973         (log10_test_data): Likewise.
46974         (log1p_test_data): Likewise.
46975         (log2_test_data): Likewise.
46976         (sin_test_data): Likewise.
46977         (sin_tonearest_test_data): Likewise.
46978         (sin_towardzero_test_data): Likewise.
46979         (sin_downward_test_data): Likewise.
46980         (sin_upward_test_data): Likewise.
46981         (sinh_test_data): Likewise.
46982         (sinh_tonearest_test_data): Likewise.
46983         (sinh_towardzero_test_data): Likewise.
46984         (sinh_downward_test_data): Likewise.
46985         (sinh_upward_test_data): Likewise.
46986         (tan_test_data): Likewise.
46987         (tan_tonearest_test_data): Likewise.
46988         (tan_towardzero_test_data): Likewise.
46989         (tan_downward_test_data): Likewise.
46990         (tan_upward_test_data): Likewise.
46991         (tanh_test_data): Likewise.
46992         (tgamma_test_data): Likewise.
46993         (y0_test_data): Likewise.
46994         (y1_test_data): Likewise.
46995         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
46996         (special_real_inputs): Add pi/4.
46997         * sysdeps/i386/fpu/libm-test-ulps: Update.
46998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47000 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47002         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
47003         "longjmp_target" static probes.
47004         (__longjmp): Rename to __longjmp_symbol.
47005         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
47006         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
47007         on which longjmp to generate.
47008         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
47009         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
47010         probe.
47011         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47012         (__sigjmp_save): Rename to __sigjmp_save_symbol.
47013         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
47014         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
47015         and __sigjmp_save_symbol based on which sigsetjmp to generated.
47016         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
47018         __longjmp_symbol based on which __longjmp to generate.
47019         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
47020         probe.
47021         (setjmp): Rename to setjmp_symbol.
47022         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47023         (_setjmp): Rename to _setjmp_symbol.
47024         (__sigsetjmp): Rename to __sigsetjmp_symbol.
47025         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
47026         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
47027         which setjmp to generate.
47028         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
47029         "longjmp_target" static probes.
47031 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47033         * benchtests/README: Add note about output arguments.
47034         * benchtests/bench-sincos.c: Remove file.
47035         * benchtests/sincos-inputs: New file.
47036         * scripts/bench.pl: Identify output arguments and define
47037         static variables for them.
47039         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
47041         [BZ #15941]
47042         * Makefile (INSTALL): Add install-plain.texi as the primary
47043         dependency.
47044         * manual/install-plain.texi: New file.
47045         * manual/install.texi: Include node directive only for
47046         non-plaintext output.
47048 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
47050         * stdlib/longlong.h: Update from GCC.
47052         [BZ #6807]
47053         [BZ #15901]
47054         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
47055         * math/w_j0f.c (y0f): Likewise.
47056         * math/w_j0l.c (__y0l): Likewise.
47057         * math/w_j1.c (y1): Likewise.
47058         * math/w_j1f.c (y1f): Likewise.
47059         * math/w_j1l.c (__y1l): Likewise.
47060         * math/w_jn.c (yn): Likewise.
47061         * math/w_jnf.c (ynf): Likewise.
47062         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
47063         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
47064         value for Bessel function domain errors outside _SVID_ mode.
47065         Adjust sign of return value for yn (negative integer, 0).
47066         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
47067         by zero in return for negative x and set sign appropriately for
47068         negative n.
47069         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
47070         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
47071         * math/libm-test.inc (y0_test_data): Add more tests and adjust
47072         expectations in error cases.
47073         (y1_test_data): Likewise.
47074         (yn_test_data): Likewise.
47075         * sysdeps/i386/fpu/libm-test-ulps: Update.
47076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47078 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47080         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
47081         "64" to "64-v1".  Add "64-v2".
47082         (abi-64-options): Rename to ...
47083         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
47084         (abi-64-condition): Rename to ...
47085         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
47086         (abi-64-ld-soname): Rename to ...
47087         (abi-64-v1-ld-soname): ... this.
47088         (abi-64-v2-options): Define.
47089         (abi-64-v2-condition): Likewise.
47090         (abi-64-v2-ld-soname): Likewise.
47091         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
47092         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
47093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
47094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
47095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
47097 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47098             Alan Modra  <amodra@gmail.com>
47100         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
47101         New versions for use with the ELFv2 ABI.
47102         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
47103         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
47104         declaration.
47105         (struct La_ppc64v2_retval): Likewise.
47106         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
47107         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
47108         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
47109         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
47110         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
47111         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47112         Do not save or restore CR.
47113         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
47114         (_dl_profile_resolve): Do no save or restore CR.  Support extended
47115         return values for ELFv2 ABI.  Fix location of FPR return registers.
47116         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
47117         updated values for _CALL_ELF == 2.
47118         (La_regs, La_retval, int_retval): Likewise.
47120 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47122         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
47123         (FRAME_MIN_SIZE_PARM): Likewise.
47124         (FRAME_BACKCHAIN): Likewise.
47125         (FRAME_CR_SAVE): Likewise.
47126         (FRAME_LR_SAVE): Likewise.
47127         (FRAME_TOC_SAVE): Likewise.
47128         (FRAME_PARM_SAVE): Likewise.
47129         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
47130         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
47131         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47132         (call_mcount_parm_offset): New macro.
47133         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
47134         (PROF): Use symbolic stack frame offsets.
47135         (TAIL_CALL_SYSCALL_ERROR): Likewise.
47136         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
47137         Redefine in terms of FRAME_MIN_SIZE.
47138         (_dl_runtime_resolve): Use symbolic stack frame offsets.
47139         (_dl_profile_resolve): Likewise.  Update comment.
47140         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
47141         symbols stack frame offsets.
47142         (__sigsetjmp): Likewise.
47143         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
47144         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
47145         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
47146         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
47148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
47149         (FRAME_BACKCHAIN): Remove.
47150         (FRAME_CR_SAVE): Likewise.
47151         (FRAME_LR_SAVE): Likewise.
47152         (FRAME_COMPILER_DW): Likewise.
47153         (FRAME_LINKER_DW): Likewise.
47154         (FRAME_TOC_SAVE): Likewise.
47155         (FRAME_PARM_SAVE): Likewise.
47156         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
47157         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
47158         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
47159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
47160         (CHECK_SP): Use symbolic stack frame offsets.
47161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
47162         zone" instead of caller's parameter save area for temp storage.
47163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47164         Likewise.  Also, use symbolic stack frame offsets.
47165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
47166         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
47167         our own stack frame instead of the caller's.
47168         (__socket): Use symbolic stack frame offsets.
47170 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47171             Alan Modra  <amodra@gmail.com>
47173         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
47174         Define.
47175         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
47176         (PPC64_LOCAL_ENTRY_OFFSET): Define.
47177         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
47178         New function.
47179         (elf_machine_fixup_plt): Call it.
47180         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
47181         reloc arguments.
47182         (elf_machine_rela): Update call to elf_machine_plt_conflict.
47183         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47184         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
47185         r2 before calling target.
47187 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47188             Alan Modra  <amodra@gmail.com>
47190         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
47191         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
47192         versions of macros to support ELFv2 ABI.
47193         (LOCALENTRY): New macro.
47194         (ENTRY, EALIGN): Use it.
47195         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
47196         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
47197         fall through into ENTRY entry point.
47198         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
47199         Only define if _CALL_ELF != 2.
47201         (elf_machine_matches_host): Verify ABI version matches.
47202         (RTLD_START): Use LOCALENTRY.
47203         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
47204         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
47205         (PLT_ENTRY_WORDS): New macro.
47206         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
47207         (elf_machine_runtime_setup): Support ELFv2 ABI.
47208         (elf_machine_fixup_plt): Likewise.
47209         (elf_machine_plt_conflict): Likewise.
47210         (resolve_ifunc): Likewise.
47211         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47212         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
47213         Likewise.
47214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
47215         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
47216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47217         (makecontext): Support ELFv2 ABI.
47218         * elf/elf.h (EF_PPC64_ABI): Define.
47220 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47222         * sysdeps/powerpc/powerpc64/sysdep.h
47223         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
47224         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
47225         (ENTRY) [ASSEMBLER]: ... but instead here ...
47226         (EALIGN) [ASSEMBLER]: ... and here.
47227         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
47228         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
47229         (ENTRY_2) [!ASSEMBLER]: Use it.
47230         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
47231         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
47232         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
47233         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
47234         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
47235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
47236         Use PPC64_LOAD_FUNCPTR.
47238         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
47240 2013-12-04  Alan Modra  <amodra@gmail.com>
47242         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
47243         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
47244         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
47245         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
47247         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
47248         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
47249         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
47250         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
47251         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
47252         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
47254 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
47256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47257         (__makecontext): Fix incorrect CFI when backtracing out of
47258         context created via makecontext.
47259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
47260         (__setcontext): Fix incorrect CFI during switch to new context.
47261         (__novec_setcontext): Likewise.
47263 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47265         [BZ #4772]
47266         * time/strptime_l.c (__strptime_internal): Allow modifiers
47267         in strptime.
47268         * time/tst-strptime.c (day_tests): Add testcase.
47270 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47272         * scripts/bench.pl: Skip over blank lines.
47274 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
47276         [BZ #926]
47277         * manual/time.texi (Calendar Time): Clarify what timezone functions
47278         use.
47280 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47282         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47284 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
47286         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
47287         implementation.
47288         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
47289         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
47290         * debug/memset_chk.c (__memset_chk): Likewise.
47291         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
47292         * debug/strncpy_chk.c: Likewise.
47294 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47296         [BZ #15268]
47297         [BZ #15425]
47298         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
47299         (__ieee754_exp): For possibly underflowing results, check size of
47300         result and force underflow exception if required.
47301         * math/auto-libm-test-in: Add more tests of exp.
47302         * math/auto-libm-test-out: Regenerated.
47303         * sysdeps/i386/fpu/libm-test-ulps: Update.
47304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47306         [BZ #16283]
47307         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
47308         * math/w_exp2f.c (__exp2f): Likewise.
47309         * math/w_exp2l.c (__exp2l): Likewise.
47310         * math/auto-libm-test-in: Do not allow missing errno on exp2
47311         underflow.
47312         * math/auto-libm-test-out: Regenerated.
47314 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
47316         [BZ #16274]
47317         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
47318         handle filename validation.
47319         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
47320         (do_open): Delete.
47322 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
47324         [BZ #6786]
47325         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
47326         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
47327         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
47328         <float.h>.
47329         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
47330         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
47331         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47332         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
47333         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47334         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
47335         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
47336         * math/auto-libm-test-in: Don't allow missing errno from erfc.
47337         Add more erfc tests.
47338         * math/auto-libm-test-out: Regenerated.
47339         * sysdeps/i386/fpu/libm-test-ulps: Update.
47340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47342         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
47343         exp2, expm1, j0 and j1.
47344         * math/auto-libm-test-out: Regenerated.
47345         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
47346         (erfc_test_data): Likewise.
47347         (exp_test_data): Likewise.
47348         (exp_tonearest_test_data): Likewise.
47349         (exp_towardzero_test_data): Likewise.
47350         (exp_downward_test_data): Likewise.
47351         (exp_upward_test_data): Likewise.
47352         (exp10_test_data): Likewise.
47353         (exp2_test_data): Likewise.
47354         (expm1_test_data): Likewise.
47355         (j0_test_data): Likewise.
47356         (j1_test_data): Likewise.
47357         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
47358         (input_flag_type): Add flag_xfail_rounding.
47359         (input_flags): Add xfail-rounding.
47360         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
47361         (output_for_one_input_case): Handle flag_xfail_rounding.
47362         * sysdeps/i386/fpu/libm-test-ulps: Update.
47363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47365 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
47367         [BZ #16289]
47368         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
47369         division by 0.
47371 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
47373         [BZ #16195]
47374         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
47375         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
47376         (STAP_PROBE0): New macro.
47377         (STAP_PROBE1): Likewise.
47378         (STAP_PROBE2): Likewise.
47379         (STAP_PROBE3): Likewise.
47380         (STAP_PROBE4): Likewise.
47382 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
47384         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
47386 2013-12-02  Steve Ellcey  <sellcey@mips.com>
47388         * benchtests/Makefile (bench): Add sqrt.
47389         (LDLIBS-bench-sqrt): New.
47390         * benchtests/sqrt-input: New.
47392 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
47394         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
47395         (GAIH_EAI): Likewise.
47396         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
47397         (gaih_inet): Likewise.
47398         (getaddrinfo): Don't use GAIH_EAI.
47400         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
47401         (struct gaih): Remove definition.
47403 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47405         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
47406         Use HERRNOP directly.
47408 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47410         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47412 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
47414         * math/gen-auto-libm-tests.c (test_functions): Add more
47415         single-argument functions.
47416         (special_fill_pi_2): New function.
47417         (special_fill_minus_pi_2): Likewise.
47418         (special_fill_pi_6): Likewise.
47419         (special_fill_minus_pi_6): Likewise.
47420         (special_fill_pi_3): Likewise.
47421         (special_fill_2pi_3): Likewise.
47422         (special_fill_e): Likewise.
47423         (special_fill_1_e): Likewise.
47424         (special_fill_e_minus_1): Likewise.
47425         (special_real_inputs): Add more special inputs.
47426         (output_for_one_input_case): Do not require ERANGE on underflow to
47427         zero if round-to-nearest result does not underflow to zero, unless
47428         exact results required.
47429         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
47430         atan, atanh, cbrt, cos and cosh.
47431         * math/auto-libm-test-out: Regenerated.
47432         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
47433         (acos_tonearest_test_data): Likewise.
47434         (acos_towardzero_test_data): Likewise.
47435         (acos_downward_test_data): Likewise.
47436         (acos_upward_test_data): Likewise.
47437         (acosh_test_data): Likewise.
47438         (asin_test_data): Likewise.
47439         (asin_tonearest_test_data): Likewise.
47440         (asin_towardzero_test_data): Likewise.
47441         (asin_upward_test_data): Likewise.
47442         (asinh_test_data): Likewise.
47443         (atan_test_data): Likewise.
47444         (atanh_test_data): Likewise.
47445         (cbrt_test_data): Likewise.
47446         (cos_test_data): Likewise.
47447         (cos_tonearest_test_data): Likewise.
47448         (cos_towardzero_test_data): Likewise.
47449         (cos_downward_test_data): Likewise.
47450         (cos_upward_test_data): Likewise.
47451         (cosh_test_data): Likewise.
47452         (cosh_tonearest_test_data): Likewise.
47453         (cosh_towardzero_test_data): Likewise.
47454         (cosh_downward_test_data): Likewise.
47455         (cosh_upward_test_data): Likewise.
47456         * sysdeps/i386/fpu/libm-test-ulps: Update.
47457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47459 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
47461         [BZ #6787]
47462         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
47463         * math/w_exp10f.c (__exp10f): Likewise.
47464         * math/w_exp10l.c (__exp10l): Likewise.
47465         * math/libm-test.inc (exp10_test_data): Add more tests and expect
47466         errno settings in existing tests.
47468         [BZ #14032]
47469         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
47470         precision control set to double precision.
47471         * sysdeps/i386/fpu/w_sqrt.c: New file.
47472         * math/auto-libm-test-in: Add more tests.
47473         * math/auto-libm-test-out: Update.
47475         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
47476         (sqrt_test_tonearest): New function.
47477         (sqrt_towardzero_test_data): New variable.
47478         (sqrt_test_towardzero): New function.
47479         (sqrt_downward_test_data): New variable.
47480         (sqrt_test_downward): New function.
47481         (sqrt_upward_test_data): New variable.
47482         (sqrt_test_upward): New function.
47483         (main): Call the new functions.
47485         * math/gen-auto-libm-tests.c: New file.
47486         * math/auto-libm-test-in: Likewise.
47487         * math/auto-libm-test-out: New generated file.
47488         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
47489         variables.
47490         (%beautify): Add generated representations of zero.
47491         (top level): Set $auto_input and call parse_auto_input.
47492         (beautify): Remove trailing "f" from hex float constants.
47493         (parse_args): Handle XFAIL_TEST.
47494         (convert_condition): New function.
47495         (or_value): Likewise.
47496         (or_cond_value): Likewise.
47497         (generate_testfile): Handle AUTO_TESTS_* lines.
47498         (parse_auto_input): New function.
47499         * math/libm-test.inc (XFAIL_TEST): New macro.
47500         (ERRNO_UNCHANGED): Update value.
47501         (ERRNO_EDOM): Likewise.
47502         (ERRNO_ERANGE): Likewise.
47503         (IGNORE_RESULT): Likewise.
47504         (TEST_COND_flt_32): New macro.
47505         (TEST_COND_dbl_64): Likewise.
47506         (TEST_COND_ldbl_96_intel): Likewise.
47507         (TEST_COND_ldbl_96_m68k): Likewise.
47508         (TEST_COND_ldbl_128): Likewise.
47509         (TEST_COND_ldbl_128ibm): Likewise.
47510         (TEST_COND_long32): Likewise.
47511         (TEST_COND_long64): Likewise.
47512         (TEST_COND_before_rounding): Likewise.
47513         (TEST_COND_after_rounding): Likewise.
47514         (enable_test): Handle XFAIL_TEST flag.
47515         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
47516         with finite results.
47517         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
47518         auto-libm-test-out.
47520 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
47521             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47523         [BZ #16214]
47524         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
47525         __tls_get_addr_internal instead of __tls_get_offset in order to
47526         avoid GOT pointer dependency.  Make rtld export
47527         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
47528         __tls_get_addr since we are a __tls_get_offset platform.
47529         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
47530         GOT pointer being set up before.
47531         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
47533 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
47535         * manual/math.texi (Errors in Math Functions): Document accuracy
47536         goals.
47538         [BZ #15004]
47539         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
47540         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
47541         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47542         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47543         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47544         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47545         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47546         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47547         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47548         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47549         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47550         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47551         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47552         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47553         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47554         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47556         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
47557         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
47558         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
47559         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
47560         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
47561         Likewise.
47562         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
47563         Likewise.
47564         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
47565         Likewise.
47566         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
47567         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
47568         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
47569         atomic-feupdateenv and flt-rounds.
47570         * sysdeps/powerpc/nofpu/Versions (libc): Add
47571         __atomic_feholdexcept, __atomic_feclearexcept,
47572         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
47573         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
47574         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
47575         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
47576         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
47577         here.
47578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
47579         Update.
47581         * manual/arith.texi (FP Exceptions): Document that exceptions may
47582         not be raised when matherr is used.
47583         (Math Error Reporting): Document overflow in directed rounding
47584         modes.  Document that errno may not be set when finite values are
47585         returned on overflow.  Document intent to set errno on underflow
47586         only for underflow to zero.
47588         [BZ #16271]
47589         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
47590         round-to-nearest then adjust result for other rounding modes.
47591         * include/fenv.h (fegetround): Use libm_hidden_proto.
47592         * math/fegetround.c (fegetround): Use libm_hidden_def.
47593         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
47594         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
47595         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47596         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
47597         Likewise.
47598         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
47599         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
47600         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
47601         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
47603 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47605         [BZ #16077]
47606         * nss/Versions (libnss_files): Add
47607         _nss_files_gethostbyname3_r.
47608         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
47609         New function.
47610         (HOST_DB_LOOKUP): Remove macro.
47611         (_nss_files_gethostbyname_r): Implement function without the
47612         HOST_DB_LOOKUP macro.
47613         (_nss_files_gethostbyname2_r): Likewise.
47615 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
47617         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
47619 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
47621         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
47622         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
47623         warning.
47625 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47627         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
47628         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
47629         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
47630         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
47631         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
47632         __fe_nomask_env_priv and attribute_hidden.
47633         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
47634         (libc_feupdateenv_test_ppc): Likewise.
47635         (libc_feresetround_ppc): Likewise.
47636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
47637         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
47638         compat_symbol macro.
47639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
47640         (__fe_nomask_env): Likewise.
47641         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
47643 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47645         * string/Makefile: Remove ifunc tests.
47646         * string/test-string.h: Define TEST_IFUNC.
47647         * string/test-bcopy-ifunc.c: Remove.
47648         * string/test-bzero-ifunc.c: Likewise.
47649         * string/test-memccpy-ifunc.c: Likewise.
47650         * string/test-memchr-ifunc.c: Likewise.
47651         * string/test-memcmp-ifunc.c: Likewise.
47652         * string/test-memcpy-ifunc.c: Likewise.
47653         * string/test-memmem-ifunc.c: Likewise.
47654         * string/test-memmove-ifunc.c: Likewise.
47655         * string/test-mempcpy-ifunc.c: Likewise.
47656         * string/test-memrchr-ifunc.c: Likewise.
47657         * string/test-memset-ifunc.c: Likewise.
47658         * string/test-rawmemchr-ifunc.c: Likewise.
47659         * string/test-stpcpy-ifunc.c: Likewise.
47660         * string/test-stpncpy-ifunc.c: Likewise.
47661         * string/test-strcasecmp-ifunc.c: Likewise.
47662         * string/test-strcasestr-ifunc.c: Likewise.
47663         * string/test-strcat-ifunc.c: Likewise.
47664         * string/test-strchr-ifunc.c: Likewise.
47665         * string/test-strchrnul-ifunc.c: Likewise.
47666         * string/test-strcmp-ifunc.c: Likewise.
47667         * string/test-strcpy-ifunc.c: Likewise.
47668         * string/test-strcspn-ifunc.c: Likewise.
47669         * string/test-strlen-ifunc.c: Likewise.
47670         * string/test-strncasecmp-ifunc.c: Likewise.
47671         * string/test-strncat-ifunc.c: Likewise.
47672         * string/test-strncmp-ifunc.c: Likewise.
47673         * string/test-strncpy-ifunc.c: Likewise.
47674         * string/test-strnlen-ifunc.c: Likewise.
47675         * string/test-strpbrk-ifunc.c: Likewise.
47676         * string/test-strrchr-ifunc.c: Likewise.
47677         * string/test-strspn-ifunc.c: Likewise.
47678         * string/test-strstr-ifunc.c: Likewise.
47680 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47682         * benchtests/Makefile: Remove ifunc tests.
47683         * benchtests/bench-string.h: Define TEST_IFUNC.
47684         * benchtests/bench-bcopy-ifunc.c: Remove.
47685         * benchtests/bench-bzero-ifunc.c: Likewise.
47686         * benchtests/bench-memccpy-ifunc.c: Likewise.
47687         * benchtests/bench-memchr-ifunc.c: Likewise.
47688         * benchtests/bench-memcmp-ifunc.c: Likewise.
47689         * benchtests/bench-memcpy-ifunc.c: Likewise.
47690         * benchtests/bench-memmem-ifunc.c: Likewise.
47691         * benchtests/bench-memmove-ifunc.c: Likewise.
47692         * benchtests/bench-mempcpy-ifunc.c: Likewise.
47693         * benchtests/bench-memrchr-ifunc.c: Likewise.
47694         * benchtests/bench-memset-ifunc.c: Likewise.
47695         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
47696         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
47697         * benchtests/bench-stpcpy-ifunc.c: Likewise.
47698         * benchtests/bench-stpncpy-ifunc.c: Likewise.
47699         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
47700         * benchtests/bench-strcasestr-ifunc.c: Likewise.
47701         * benchtests/bench-strcat-ifunc.c: Likewise.
47702         * benchtests/bench-strchr-ifunc.c: Likewise.
47703         * benchtests/bench-strchrnul-ifunc.c: Likewise.
47704         * benchtests/bench-strcmp-ifunc.c: Likewise.
47705         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
47706         * benchtests/bench-strcpy-ifunc.c: Likewise.
47707         * benchtests/bench-strcspn-ifunc.c: Likewise.
47708         * benchtests/bench-strlen-ifunc.c: Likewise.
47709         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
47710         * benchtests/bench-strncat-ifunc.c: Likewise.
47711         * benchtests/bench-strncmp-ifunc.c: Likewise.
47712         * benchtests/bench-strncpy-ifunc.c: Likewise.
47713         * benchtests/bench-strnlen-ifunc.c: Likewise.
47714         * benchtests/bench-strpbrk-ifunc.c: Likewise.
47715         * benchtests/bench-strrchr-ifunc.c: Likewise.
47716         * benchtests/bench-strsep-ifunc.c: Likewise.
47717         * benchtests/bench-strspn-ifunc.c: Likewise.
47718         * benchtests/bench-strstr-ifunc.c: Likewise.
47720 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47722         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
47724 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
47726         * resolv/netdb.h: Use __glibc_reserved instead __unused.
47727         * rt/aio.h: Likewise.
47728         * sysdeps/gnu/bits/utmp.h: Likewise.
47729         * sysdeps/gnu/bits/utmpx.h: Likewise.
47730         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
47731         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
47732         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
47733         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
47734         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
47735         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
47736         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
47737         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
47738         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
47739         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
47740         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
47741         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
47742         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
47743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
47744         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
47745         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
47746         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
47747         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
47748         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
47749         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
47750         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
47751         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
47752         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
47753         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47754         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
47755         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
47756         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
47757         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
47758         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
47759         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
47760         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
47761         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
47762         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
47763         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
47764         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
47765         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
47766         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
47767         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
47768         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
47769         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
47770         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
47771         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47773 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
47775         [BZ #16245]
47776         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
47777         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
47779 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
47781         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
47782         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
47783         Likewise.
47785 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47787         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
47788         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
47789         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
47790         (__fesetround): Remove define.
47791         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
47792         rounding and exceptions handling.
47793         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
47794         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
47795         (__fe_nomask_env): Likewise.
47796         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
47797         __fegetround instead of fegetround.
47798         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47799         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
47801 2013-11-21  Roland McGrath  <roland@hack.frob.com>
47803         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
47804         it's there.
47806         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
47808 2013-11-21  Meador Inge  <meadori@codesourcery.com>
47810         [BZ #11157]
47811         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
47812         (encrypt_r): Likewise.
47813         * malloc/obstack.h (obstack_free): Likewise.
47814         * posix/unistd.h (encrypt): Likewise.
47816 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
47818         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
47819         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
47820         DL_CALL_DT_FINI() that call the functions directly.
47821         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
47822         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
47823         * elf/dl-fini.c: Likewise.
47825 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
47827         * malloc/hooks.c (memalign_check): Add alignment rounding.
47828         * malloc/malloc.c (_mid_memalign): New function.
47829         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
47830         Implement by calling _mid_memalign.
47831         * manual/probes.texi (Memory Allocation Probes): Remove
47832         memory_valloc_retry and memory_pvalloc_retry.
47834 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47836         * locale/programs/locarchive.c (open_archive): Add const
47837         qualifier to ARCHIVEFNAME and copy default fname to
47838         DEFAULT_FNAME.
47840         [BZ #15601]
47841         * libio/tst-widetext.input: Rename Oriya to Odia.
47842         * locale/iso-639.def: Likewise.
47844         * manual/probes.texi (Mathematical Function Probes): Add
47845         documentation for sin, cos, asin and acos probes.
47846         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
47847         (__sin32): Add slowasin probe.
47848         (__cos32): Add slowacos probe.
47849         (__mpsin): Add slowsin probe.
47850         (__mpcos): Add slowcos probe.
47852 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
47854         [BZ #15483]
47855         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
47856         thread-local __sim_exceptions_thread and global
47857         __sim_exceptions_global.
47858         (__sim_disabled_exceptions): Change to thread-local
47859         __sim_disabled_exceptions_thread and global
47860         __sim_disabled_exceptions_global.
47861         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47862         and global __sim_round_mode_global.
47863         (__simulate_exceptions): Use thread-local floating-point state and
47864         set global state from it as needed.
47865         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
47866         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
47867         __sim_round_mode_thread.
47868         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
47869         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
47870         and global __sim_exceptions_global.
47871         (__sim_disabled_exceptions): Change to thread-local
47872         __sim_disabled_exceptions_thread and global
47873         __sim_disabled_exceptions_global.
47874         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
47875         and global __sim_round_mode_global.
47876         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
47877         (SIM_SET_GLOBAL): Likewise.
47878         * sysdeps/powerpc/soft-fp/sfp-machine.h
47879         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
47880         __sim_round_mode_thread.
47881         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
47882         __sim_disabled_exceptions_thread.
47883         (__sim_exceptions): Change to __sim_exceptions_thread.
47884         (__sim_disabled_exceptions): Change to
47885         __sim_disabled_exceptions_thread.
47886         (__sim_round_mode): Change to __sim_round_mode_thread.
47887         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
47888         thread-local floating-point state and set global state from it as
47889         needed.
47890         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
47891         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
47892         (__sim_disabled_exceptions): Remove extern declaration.
47893         (feenableexcept): Use thread-local floating-point state and set
47894         global state from it as needed.
47895         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
47896         extern declaration.
47897         (__sim_disabled_exceptions): Likewise.
47898         (__sim_round_mode): Likewise.
47899         (__fegetenv): Use thread-local floating-point state.
47900         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
47901         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
47902         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
47903         floating-point state and set global state from it as needed.
47904         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
47905         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
47906         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
47907         Likewise.
47908         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
47909         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
47910         Likewise.
47911         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
47912         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
47913         Use __sim_round_mode_thread.
47914         * math/test-fenv-tls.c: New file.
47915         * math/Makefile (tests): Add test-fenv-tls.
47916         ($(objpfx)test-fenv-tls): Depend on
47917         $(common-objpfx)nptl/libpthread.so.
47919 2013-11-19  Andreas Schwab  <schwab@suse.de>
47921         * locale/programs/locale.c (show_info): Decode wordarray elements.
47922         * locale/categories.def (LC_MONETARY): Add element for
47923         _NL_MONETARY_CRNCYSTR.
47924         * locale/C-monetary.c (conversion_rate): New variable.
47925         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
47926         element.
47928 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
47930         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
47931         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
47933 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
47935         * elf/Makefile (tst-auxv): New test.
47936         * elf/tst-auxv.c: New
47937         * elf/rtld.c (dl_main): Adjust AT_EXECFN
47939 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
47941         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
47942         (hidden_proto): Caller changed.
47943         (hidden_tls_proto): New macro.
47944         (libc_hidden_tls_proto): Likewise.
47945         (rtld_hidden_tls_proto): Likewise.
47946         (libm_hidden_tls_proto): Likewise.
47947         (libresolv_hidden_tls_proto): Likewise.
47948         (librt_hidden_tls_proto): Likewise.
47949         (libdl_hidden_tls_proto): Likewise.
47950         (libnss_files_hidden_tls_proto): Likewise.
47951         (libnsl_hidden_tls_proto): Likewise.
47952         (libnss_nisplus_hidden_tls_proto): Likewise.
47953         (libutil_hidden_tls_proto): Likewise.
47955 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
47957         [BZ #10253]
47958         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
47959         (decompose_rpath): Defer expansion to fillin_rpath.
47960         (_dl_init_paths): Pass linkmap to fillin_rpath.
47962 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
47964         * benchtests/Makefile: Add strsep.
47965         * benchtests/bench-strsep.c: New file: strsep benchtest.
47966         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
47968 2013-11-18  Andreas Schwab  <schwab@suse.de>
47970         * locale/programs/locale.c (show_info) [case byte]: Check for
47971         '\377' instead of '\177'.
47972         * locale/C-monetary.c (not_available): Always use "\377".
47973         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
47974         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
47975         detect unavailable sign_posn locale elements.
47976         * locale/localeconv.c (__localeconv): For grouping and
47977         mon_grouping handle "\177" and "\377" like no grouping.
47978         (INT_ELEM): New macro.  Use it to set all numeric members.
47979         * locale/programs/ld-monetary.c (monetary_read)
47980         <tok_mon_grouping>: Normalize single -1 to the empty string.
47981         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
47982         Likewise.
47984 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
47986         [BZ #16055]
47987         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
47988         when we match (nil).
47989         * stdio-common/tst-sscanf.c (struct test): Add testcase.
47991 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
47993         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
47994         (NO_TEST_INLINE): Update value.
47995         (ERRNO_UNCHANGED): Likewise.
47996         (ERRNO_EDOM): Likewise.
47997         (ERRNO_ERANGE): Likewise.
47998         (IGNORE_RESULT): Likewise.
47999         (check_float_internal): Check signs of NaN results if
48000         TEST_NAN_SIGN used.
48001         (check_complex): Pass TEST_NAN_SIGN flag through to second
48002         check_float_internal call.
48003         (copysign_test_data): Add tests with quiet NaNs as second
48004         argument.  Use TEST_NAN_SIGN.
48005         (fabs_test_data): Add test of negative quiet NaN argument.  Use
48006         TEST_NAN_SIGN.
48007         (signbit_test_data): Add tests of quiet NaN argument.
48008         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
48010         * math/gen-libm-test.pl (show_exceptions): Take extra argument
48011         $ignore_result.
48012         (parse_args): Handle function results specified as IGNORE.
48013         * math/libm-test.inc (IGNORE_RESULT): New macro.
48014         (check_float_internal): Do not check numerical result if flag
48015         IGNORE_RESULT set.
48016         (check_complex): Pass through IGNORE_RESULT to second
48017         check_float_internal call.
48018         (check_int): Do not check numerical result if flag IGNORE_RESULT
48019         set.
48020         (check_long): Likewise.
48021         (check_bool): Likewise.
48022         (check_longlong): Likewise.
48023         (lrint_test_data): Add tests of infinite and NaN arguments.
48024         (lrint_tonearest_test_data): Likewise.
48025         (lrint_towardzero_test_data): Likewise.
48026         (lrint_downward_test_data): Likewise.
48027         (lrint_upward_test_data): Likewise.
48028         (llrint_test_data): Likewise.
48029         (llrint_tonearest_test_data): Likewise.
48030         (llrint_towardzero_test_data): Likewise.
48031         (llrint_downward_test_data): Likewise.
48032         (llrint_upward_test_data): Likewise.
48033         (lround_test_data): Likewise.
48034         (llround_test_data): Likewise.
48036         * math/libm-test.inc (NO_TEST_INLINE): New macro.
48037         (ERRNO_UNCHANGED): Update value.
48038         (ERRNO_EDOM): Likewise.
48039         (ERRNO_ERANGE): Likewise.
48040         (NO_TEST_INLINE_FLOAT): New macro.
48041         (NO_TEST_INLINE_DOUBLE): Likewise.
48042         (enable_test): New function.
48043         (RUN_TEST_f_f): Check enable_test before running test.
48044         (RUN_TEST_2_f): Likewise.
48045         (RUN_TEST_fff_f): Likewise.
48046         (RUN_TEST_c_f): Likewise.
48047         (RUN_TEST_f_f1): Likewise.
48048         (RUN_TEST_fF_f1): Likewise.
48049         (RUN_TEST_fI_f1): Likewise.
48050         (RUN_TEST_ffI_f1): Likewise.
48051         (RUN_TEST_c_c): Likewise.
48052         (RUN_TEST_cc_c): Likewise.
48053         (RUN_TEST_f_i): Likewise.
48054         (RUN_TEST_f_i_tg): Likewise.
48055         (RUN_TEST_ff_i_tg): Likewise.
48056         (RUN_TEST_f_b): Likewise.
48057         (RUN_TEST_f_b_tg): Likewise.
48058         (RUN_TEST_f_l): Likewise.
48059         (RUN_TEST_f_L): Likewise.
48060         (RUN_TEST_fFF_11): Likewise.
48061         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
48062         conditionals.
48063         (cosh_test_data): Likewise.
48064         (exp_test_data): Likewise.
48065         (expm1_test_data): Likewise.
48066         (hypot_test_data): Likewise.
48067         (pow_test_data): Likewise.
48068         (sinh_test_data): Likewise.
48069         (tanh_test_data): Likewise.
48070         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
48071         flags argument.
48073         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
48074         tests with quiet NaN input and output.
48075         (acosh_test_data): Likewise.
48076         (asin_test_data): Likewise.
48077         (asinh_test_data): Likewise.
48078         (atan_test_data): Likewise.
48079         (atanh_test_data): Likewise.
48080         (atan2_test_data): Likewise.
48081         (cbrt_test_data): Likewise.
48082         (cos_test_data): Likewise.
48083         (cosh_test_data): Likewise.
48084         (erf_test_data): Likewise.
48085         (erfc_test_data): Likewise.
48086         (exp_test_data): Likewise.
48087         (exp10_test_data): Likewise.
48088         (exp2_test_data): Likewise.
48089         (expm1_test_data): Likewise.
48090         (hypot_test_data): Likewise.
48091         (j0_test_data): Likewise.
48092         (j1_test_data): Likewise.
48093         (jn_test_data): Likewise.
48094         (lgamma_test_data): Likewise.
48095         (log_test_data): Likewise.
48096         (log10_test_data): Likewise.
48097         (log1p_test_data): Likewise.
48098         (log2_test_data): Likewise.
48099         (pow_test_data): Likewise.
48100         (scalb_test_data): Likewise.
48101         (sin_test_data): Likewise.
48102         (sincos_test_data): Likewise.
48103         (sinh_test_data): Likewise.
48104         (tan_test_data): Likewise.
48105         (tanh_test_data): Likewise.
48106         (tgamma_test_data): Likewise.
48107         (y0_test_data): Likewise.
48108         (y1_test_data): Likewise.
48109         (yn_test_data): Likewise.
48111         [BZ #16167]
48112         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
48113         argument being NaN and avoid computations with second argument in
48114         that case.
48115         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48116         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48117         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
48119 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
48121         * locale/iso-639.def: Add Chitwani Tharu (the).
48123 2013-11-14  Andreas Schwab  <schwab@suse.de>
48125         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
48126         word instead of empty string.
48128 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48131         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
48132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48133         (__fe_nomask_env): Likewise.
48135 2013-11-13  Steve Ellcey  <sellcey@mips.com>
48137         * benchtests/bench-timing.h: Include time.h.
48139 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
48141         [BZ #15997]
48142         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
48143         to 3.4.0 for x32.
48144         * sysdeps/unix/sysv/linux/configure: Regenerated.
48146 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
48148         [BZ #16151]
48149         * stdlib/strtod_l.c (round_and_return): Do not consider
48150         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
48151         exponent one less than half the least subnormal exponent.
48152         * stdlib/test-strtod-round-data: Add more tests.
48153         * stdlib/tst-strtod-round.c (tests): Regenerated.
48155 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48157         [BZ #14143]
48158         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
48159         (__fe_mask_env): Likewise.
48160         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
48161         libm_hidden_proto and add function prototype.
48162         (__fe_mask_env): Add function prototype.
48163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
48164         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
48165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
48166         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
48167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
48168         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
48170 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48172         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
48173         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
48175 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48177         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
48178         of htab_find_slot().
48180 2013-11-11  David S. Miller  <davem@davemloft.net>
48182         [BZ #16150]
48183         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
48184         symbol in the non-vis3 case in static builds.
48185         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
48186         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
48187         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
48188         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
48190 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
48192         [BZ #387]
48193         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
48194         it is empty.
48196 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48198         * benchtests/Makefile: Add bench-strtod.
48199         * benchtests/bench-strtod.c: New file: strtod benchtest
48201 2013-11-11  Andreas Schwab  <schwab@suse.de>
48203         [BZ #16153]
48204         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
48205         terminating NUL in key length.
48207 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48209         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
48210         Add artificial ODP entry for vDSO symbol for PPC64.
48211         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
48212         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
48214 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
48216         [BZ #15374]
48217         * nss/getent.c (services_keys): Recognize services starting with digit.
48219 2013-11-06  David S. Miller  <davem@davemloft.net>
48221         [BZ #15985]
48222         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
48223         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
48225 2013-11-06  Will Newton  <will.newton@linaro.org>
48227         * manual/memory.texi (Malloc Examples): Remove register
48228         keyword from examples.
48230 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
48232         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
48234 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
48236         [BZ #6981]
48237         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
48238         depending on [__GCC_IEC_559 > 0].
48239         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
48240         depending on [__GCC_IEC_559_COMPLEX > 0].
48242 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
48244         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
48245         to iso-639.def.
48247 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
48249         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
48251 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
48253         [BZ #16112]
48254         * malloc/malloc (malloc_info): Do not handle first bin as
48255         special case.
48257 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
48259         * locale/iso-639.def: Add Central Nahuatl (nhn).
48261 2013-11-01  Bruno Haible  <bruno@clisp.org>
48263         [BZ #7003]
48264         * manual/math.texi (BSD Random): Specify range upper bound as
48265         in POSIX.
48267 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
48269         * locale/iso-639.def: Add Meadow Mari (mhr).
48271 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
48273         [BZ #14752], [BZ #15763]
48274         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
48275         Validate name.
48276         * rt/tst_shm.c: Add test for escaping directory.
48278 2013-10-31  Andreas Schwab  <schwab@suse.de>
48280         [BZ #15917]
48281         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
48282         followed by 'x' as part of digit sequence.
48283         * stdio-common/tst-sscanf.c (double_tests2): New tests.
48285 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
48287         [BZ #16037]
48288         * configure.ac: allow GNU Make 4.0 and greater.
48289         * configure: Regenerated.
48291 2013-10-30  Will Newton  <will.newton@linaro.org>
48293         [BZ #16038]
48294         * malloc/hooks.c (memalign_check): Limit alignment to the
48295         maximum representable power of two.
48296         * malloc/malloc.c (__libc_memalign): Likewise.
48297         * malloc/tst-memalign.c (do_test): Add test for very
48298         large alignment values.
48299         * malloc/tst-posix_memalign.c (do_test): Likewise.
48301 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48303         [BZ #11087]
48304         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
48305         (munmap_chunk): Likewise.
48306         (mremap_chunk): Likewise.
48308 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
48310         [BZ #15799]
48311         * stdlib/div.c (div): Remove obsolete code.
48312         * stdlib/ldiv.c (ldiv): Likewise.
48313         * stdlib/lldiv.c (lldiv): Likewise.
48315 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48317         [BZ #16071]
48318         * nss/nss_files/files-XXX.c (get_contents_ret): New
48319         enumerator.
48320         (get_contents): New function.
48321         (internal_getent): Use it.  Expand size of LINEBUFLEN.
48323 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
48325         * configure.in: Moved to ...
48326         * configure.ac: ... here. Change reference to configure.in
48327         to configure.ac.
48328         * sysdeps/arm/preconfigure.ac: ... here.
48329         configure.in to configure.ac.
48330         * sysdeps/gnu/configure.in: Moved to ...
48331         * sysdeps/gnu/configure.ac: ... here.
48332         * sysdeps/i386/configure.in: Moved to ...
48333         * sysdeps/i386/configure.ac: ... here.
48334         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
48335         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
48336         * sysdeps/mach/configure.in: Moved to ...
48337         * sysdeps/mach/configure.ac: ... here.
48338         * sysdeps/mach/hurd/configure.in: Moved to ...
48339         * sysdeps/mach/hurd/configure.ac: ... here.
48340         * sysdeps/powerpc/configure.in: Moved to ...
48341         * sysdeps/powerpc/configure.ac: ... here.
48342         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
48343         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
48344         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
48345         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
48346         * sysdeps/s390/s390-32/configure.in: Moved to ...
48347         * sysdeps/s390/s390-32/configure.ac: ... here.
48348         * sysdeps/s390/s390-64/configure.in: Moved to ...
48349         * sysdeps/s390/s390-64/configure.ac: ... here.
48350         * sysdeps/sh/configure.in: Moved to ...
48351         * sysdeps/sh/configure.ac: ... here.
48352         * sysdeps/sparc/configure.in: Moved to ...
48353         * sysdeps/sparc/configure.ac: ... here.
48354         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
48355         * sysdeps/unix/sysv/linux/configure.ac: ... here.
48356         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
48357         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
48358         * sysdeps/x86_64/configure.in: Moved to ...
48359         * sysdeps/x86_64/configure.ac: ... here.
48360         * sysdeps/x86_64/preconfigure.in: Moved to ...
48361         * sysdeps/x86_64/preconfigure.ac: ... here.
48362         * aclocal.m4: Change reference to configure.in to configure.ac.
48363         * config.h.in: Likewise.
48364         * manual/install.texi: Likewise.
48365         * manual/maint.texi: Likewise.
48366         * Makefile: Likewise.
48367         * malloc/Makefile: Likewise.
48368         * nscd/Makefile: Likewise.
48369         * Makeconfig: Change reference to configure.in and
48370         preconfigure.in to configure.ac and preconfigure.ac
48371         respectively.
48372         * INSTALL: Regenerated.
48373         * configure: Likewise.
48374         * sysdeps/gnu/configure: Likewise.
48375         * sysdeps/i386/configure: Likewise.
48376         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
48377         * sysdeps/mach/configure: Likewise.
48378         * sysdeps/mach/hurd/configure: Likewise.
48379         * sysdeps/powerpc/configure: Likewise.
48380         * sysdeps/powerpc/powerpc32/configure: Likewise.
48381         * sysdeps/powerpc/powerpc64/configure: Likewise.
48382         * sysdeps/s390/s390-32/configure: Likewise.
48383         * sysdeps/s390/s390-64/configure: Likewise.
48384         * sysdeps/sh/configure: Likewise.
48385         * sysdeps/sparc/configure: Likewise.
48386         * sysdeps/unix/sysv/linux/configure: Likewise.
48387         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
48388         * sysdeps/x86_64/configure: Likewise.
48389         * sysdeps/x86_64/preconfigure: Likewise.
48391 2013-10-29  Andreas Schwab  <schwab@suse.de>
48393         * stdio-common/Makefile (tst-swscanf-ENV): Define.
48395 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48397         * benchtests/pow-inputs: Add new inputs.
48399         * benchtests/exp-inputs: Add new inputs.
48401         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
48402         conditional check for return value.
48403         (__cos32): Likewise.
48405 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48407         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
48408         to provide a boost for large inputs with word alignment.
48409         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
48410         implementation based on optimized PPC64 strcpy.
48411         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
48412         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
48413         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
48414         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
48416 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48418         [BZ #2801]
48419         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
48421 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48423         [BZ #14876]
48424         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
48425         * time/tst-strptime.c (day_tests): Add testcase.
48427 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
48429         [BZ #14029]
48430         * manual/pattern.texi: Acknowledge that fnmatch can fail.
48432 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
48434         [BZ #16074]
48435         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
48436         MAP_FAILED on error.
48438 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48440         [BZ #16072]
48441         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
48442         heap for large requests.
48444 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
48446         [BZ #9954]
48447         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
48448         result if the result has no associated interface.
48449         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
48450         interface for all 127.X.Y.Z addresses.
48452 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
48454         * locale/iso-639.def: Add Ligurian (lij)
48456 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
48458         [BZ #15825]
48459         * sunrpc/rpc_main.c: Document rpcgen -5.
48461 2013-10-19  Michael Stahl  <mstahl@redhat.com>
48463         * elf/rtld.c (do_preload): Print the reason why preloading failed.
48465 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48467         [BZ #10278]
48468         * posix/glob.c: Match only directories when trailing slash is present.
48469         * posix/tst-gnuglob.c (my_opendir): Do not open files.
48470         (main): Add testcase.
48472 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
48474         [BZ #15670]
48475         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
48477 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
48479         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
48480         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
48481         AUTH_DES and cindex for FIPS 140-2.
48482         (DES Encryption): Add cindex FIPS 46-3.
48484         * locale/locarchive.h (struct locarhandle): Add fname.
48485         * locale/programs/localedef.c (main): Pass ARGV[remaining]
48486         if an optional argument was specified to --list-archive,
48487         otherwise NULL.
48488         * locale/programs/locarchive.c (show_archive_content): Take new
48489         argument fname and pass it via ah.fname to open_archive.
48490         * locale/programs/localedef.h: Update decl.
48491         (open_archive): If AH->fname is non-null, open that file
48492         rather than the default file name, and don't ignore ENOENT.
48493         (create_archive): Set AH.fname to NULL.
48494         (delete_locales_from_archive): Likewise.
48495         (add_locales_to_archive): Likewise.
48496         * locale/programs/locfile.c (write_all_categories): Likewise.
48498 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
48499             Aldy Hernandez  <aldyh@redhat.com>
48501         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
48502         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
48503         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
48504         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
48505         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
48506         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
48507         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
48508         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
48509         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
48510         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
48511         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
48512         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
48513         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
48514         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
48515         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
48516         Likewise.
48517         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
48518         Likewise.
48519         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
48520         Likewise.
48521         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
48522         Likewise.
48523         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
48524         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
48525         Likewise.
48526         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
48527         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
48528         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
48529         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
48530         Likewise.
48531         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
48532         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
48533         * sysdeps/powerpc/preconfigure: Likewise.
48534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
48535         Likewise.
48536         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
48537         Replace contents of file by #include of <fenv_libc.h>.
48538         * sysdeps/powerpc/soft-fp/sfp-machine.h
48539         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
48540         and <sys/prctl.h>.
48541         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
48542         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
48543         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
48544         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
48545         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
48546         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
48547         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
48548         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
48549         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
48550         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
48551         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
48552         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
48553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48554         Allow copysignl PLT reference to be missing.
48556 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
48557             Joseph Myers  <joseph@codesourcery.com
48559         [BZ #15948]
48560         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
48561         single character.
48562         (add_to_tablewc): Assert sequence of wide characters is nonempty.
48564 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48566         * elf/tst-tls-dlinfo.c: Don't include tls.h.
48567         * elf/tst-tls1.c: Likewise.
48568         * elf/tst-tls10.h: Likewise.
48569         * elf/tst-tls14.c: Likewise.
48570         * elf/tst-tls2.c: Likewise.
48571         * elf/tst-tls3.c: Likewise.
48572         * elf/tst-tls4.c: Likewise.
48573         * elf/tst-tls5.c: Likewise.
48574         * elf/tst-tls6.c: Likewise.
48575         * elf/tst-tls7.c: Likewise.
48576         * elf/tst-tls8.c: Likewise.
48577         * elf/tst-tls9.c: Likewise.
48578         * elf/tst-tlsmod1.c: Likewise.
48579         * elf/tst-tlsmod13.c: Likewise.
48580         * elf/tst-tlsmod13a.c: Likewise.
48581         * elf/tst-tlsmod14a.c: Likewise.
48582         * elf/tst-tlsmod16a.c: Likewise.
48583         * elf/tst-tlsmod16b.c: Likewise.
48584         * elf/tst-tlsmod2.c: Likewise.
48585         * elf/tst-tlsmod3.c: Likewise.
48586         * elf/tst-tlsmod4.c: Likewise.
48587         * elf/tst-tlsmod5.c: Likewise.
48588         * elf/tst-tlsmod6.c: Likewise.
48590 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
48592         [BZ #12486]
48593         * malloc/malloc.c: remove checks for statistics.
48595 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48597         [BZ #15277]
48598         * inet/inet_net.c (inet_network): Detect additional invalid strings.
48599         * inet/tst-network.c: Add testcase.
48601 2013-10-17  Andreas Schwab  <schwab@suse.de>
48603         [BZ #15218]
48604         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
48605         to determine canonical name.
48607 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
48609         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
48610         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
48611         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48612         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48613         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48614         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48615         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48616         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48617         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48618         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48619         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
48620         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48621         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48622         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48623         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48624         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48625         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48626         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48627         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48628         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48629         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48630         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48631         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48632         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
48633         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
48634         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48635         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48636         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
48637         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48638         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
48639         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48640         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48641         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48642         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48643         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48644         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48645         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48646         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48647         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48648         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48649         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48650         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48651         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48652         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48653         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48654         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48655         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48656         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48657         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48658         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48659         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48660         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48661         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48662         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48663         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48664         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48665         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48666         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48668 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
48670         [BZ #16041]
48671         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
48672         make result into a quiet NaN.
48674 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
48676         * soft-fp/adddf3.c: Fix horizontal whitespace.
48677         * soft-fp/addsf3.c: Likewise.
48678         * soft-fp/addtf3.c: Likewise.
48679         * soft-fp/divdf3.c: Likewise.
48680         * soft-fp/divsf3.c: Likewise.
48681         * soft-fp/divtf3.c: Likewise.
48682         * soft-fp/double.h: Likewise.
48683         * soft-fp/eqdf2.c: Likewise.
48684         * soft-fp/eqsf2.c: Likewise.
48685         * soft-fp/eqtf2.c: Likewise.
48686         * soft-fp/extenddftf2.c: Likewise.
48687         * soft-fp/extended.h: Likewise.
48688         * soft-fp/extendsfdf2.c: Likewise.
48689         * soft-fp/extendsftf2.c: Likewise.
48690         * soft-fp/extendxftf2.c: Likewise.
48691         * soft-fp/fixdfdi.c: Likewise.
48692         * soft-fp/fixdfsi.c: Likewise.
48693         * soft-fp/fixdfti.c: Likewise.
48694         * soft-fp/fixsfdi.c: Likewise.
48695         * soft-fp/fixsfsi.c: Likewise.
48696         * soft-fp/fixsfti.c: Likewise.
48697         * soft-fp/fixtfdi.c: Likewise.
48698         * soft-fp/fixtfsi.c: Likewise.
48699         * soft-fp/fixtfti.c: Likewise.
48700         * soft-fp/fixunsdfdi.c: Likewise.
48701         * soft-fp/fixunsdfsi.c: Likewise.
48702         * soft-fp/fixunsdfti.c: Likewise.
48703         * soft-fp/fixunssfdi.c: Likewise.
48704         * soft-fp/fixunssfsi.c: Likewise.
48705         * soft-fp/fixunssfti.c: Likewise.
48706         * soft-fp/fixunstfdi.c: Likewise.
48707         * soft-fp/fixunstfsi.c: Likewise.
48708         * soft-fp/fixunstfti.c: Likewise.
48709         * soft-fp/floatdidf.c: Likewise.
48710         * soft-fp/floatdisf.c: Likewise.
48711         * soft-fp/floatditf.c: Likewise.
48712         * soft-fp/floatsidf.c: Likewise.
48713         * soft-fp/floatsisf.c: Likewise.
48714         * soft-fp/floatsitf.c: Likewise.
48715         * soft-fp/floattidf.c: Likewise.
48716         * soft-fp/floattisf.c: Likewise.
48717         * soft-fp/floattitf.c: Likewise.
48718         * soft-fp/floatundidf.c: Likewise.
48719         * soft-fp/floatundisf.c: Likewise.
48720         * soft-fp/floatunditf.c: Likewise.
48721         * soft-fp/floatunsidf.c: Likewise.
48722         * soft-fp/floatunsisf.c: Likewise.
48723         * soft-fp/floatunsitf.c: Likewise.
48724         * soft-fp/floatuntidf.c: Likewise.
48725         * soft-fp/floatuntisf.c: Likewise.
48726         * soft-fp/floatuntitf.c: Likewise.
48727         * soft-fp/fmadf4.c: Likewise.
48728         * soft-fp/fmasf4.c: Likewise.
48729         * soft-fp/fmatf4.c: Likewise.
48730         * soft-fp/gedf2.c: Likewise.
48731         * soft-fp/gesf2.c: Likewise.
48732         * soft-fp/getf2.c: Likewise.
48733         * soft-fp/ledf2.c: Likewise.
48734         * soft-fp/lesf2.c: Likewise.
48735         * soft-fp/letf2.c: Likewise.
48736         * soft-fp/muldf3.c: Likewise.
48737         * soft-fp/mulsf3.c: Likewise.
48738         * soft-fp/multf3.c: Likewise.
48739         * soft-fp/negdf2.c: Likewise.
48740         * soft-fp/negsf2.c: Likewise.
48741         * soft-fp/negtf2.c: Likewise.
48742         * soft-fp/op-1.h: Likewise.
48743         * soft-fp/op-2.h: Likewise.
48744         * soft-fp/op-4.h: Likewise.
48745         * soft-fp/op-8.h: Likewise.
48746         * soft-fp/op-common.h: Likewise.
48747         * soft-fp/quad.h: Likewise.
48748         * soft-fp/single.h: Likewise.
48749         * soft-fp/soft-fp.h: Likewise.
48750         * soft-fp/sqrtdf2.c: Likewise.
48751         * soft-fp/sqrtsf2.c: Likewise.
48752         * soft-fp/sqrttf2.c: Likewise.
48753         * soft-fp/subdf3.c: Likewise.
48754         * soft-fp/subsf3.c: Likewise.
48755         * soft-fp/subtf3.c: Likewise.
48756         * soft-fp/truncdfsf2.c: Likewise.
48757         * soft-fp/trunctfdf2.c: Likewise.
48758         * soft-fp/trunctfsf2.c: Likewise.
48759         * soft-fp/trunctfxf2.c: Likewise.
48760         * soft-fp/unorddf2.c: Likewise.
48761         * soft-fp/unordsf2.c: Likewise.
48762         * soft-fp/unordtf2.c: Likewise.
48764 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
48766         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
48767         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
48769 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
48771         * elf/dl-libc.c: Clear initfini list after freeing.
48773 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
48775         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
48776         * soft-fp/addsf3.c: Likewise.
48777         * soft-fp/addtf3.c: Likewise.
48778         * soft-fp/divdf3.c: Likewise.
48779         * soft-fp/divsf3.c: Likewise.
48780         * soft-fp/divtf3.c: Likewise.
48781         * soft-fp/double.h: Likewise.
48782         * soft-fp/eqdf2.c: Likewise.
48783         * soft-fp/eqsf2.c: Likewise.
48784         * soft-fp/eqtf2.c: Likewise.
48785         * soft-fp/extenddftf2.c: Likewise.
48786         * soft-fp/extended.h: Likewise.
48787         * soft-fp/extendsfdf2.c: Likewise.
48788         * soft-fp/extendsftf2.c: Likewise.
48789         * soft-fp/extendxftf2.c: Likewise.
48790         * soft-fp/fixdfdi.c: Likewise.
48791         * soft-fp/fixdfsi.c: Likewise.
48792         * soft-fp/fixdfti.c: Likewise.
48793         * soft-fp/fixsfdi.c: Likewise.
48794         * soft-fp/fixsfsi.c: Likewise.
48795         * soft-fp/fixsfti.c: Likewise.
48796         * soft-fp/fixtfdi.c: Likewise.
48797         * soft-fp/fixtfsi.c: Likewise.
48798         * soft-fp/fixtfti.c: Likewise.
48799         * soft-fp/fixunsdfdi.c: Likewise.
48800         * soft-fp/fixunsdfsi.c: Likewise.
48801         * soft-fp/fixunsdfti.c: Likewise.
48802         * soft-fp/fixunssfdi.c: Likewise.
48803         * soft-fp/fixunssfsi.c: Likewise.
48804         * soft-fp/fixunssfti.c: Likewise.
48805         * soft-fp/fixunstfdi.c: Likewise.
48806         * soft-fp/fixunstfsi.c: Likewise.
48807         * soft-fp/fixunstfti.c: Likewise.
48808         * soft-fp/floatdidf.c: Likewise.
48809         * soft-fp/floatdisf.c: Likewise.
48810         * soft-fp/floatditf.c: Likewise.
48811         * soft-fp/floatsidf.c: Likewise.
48812         * soft-fp/floatsisf.c: Likewise.
48813         * soft-fp/floatsitf.c: Likewise.
48814         * soft-fp/floattidf.c: Likewise.
48815         * soft-fp/floattisf.c: Likewise.
48816         * soft-fp/floattitf.c: Likewise.
48817         * soft-fp/floatundidf.c: Likewise.
48818         * soft-fp/floatundisf.c: Likewise.
48819         * soft-fp/floatunsidf.c: Likewise.
48820         * soft-fp/floatunsisf.c: Likewise.
48821         * soft-fp/floatuntidf.c: Likewise.
48822         * soft-fp/floatuntisf.c: Likewise.
48823         * soft-fp/floatuntitf.c: Likewise.
48824         * soft-fp/fmadf4.c: Likewise.
48825         * soft-fp/fmasf4.c: Likewise.
48826         * soft-fp/fmatf4.c: Likewise.
48827         * soft-fp/gedf2.c: Likewise.
48828         * soft-fp/gesf2.c: Likewise.
48829         * soft-fp/getf2.c: Likewise.
48830         * soft-fp/ledf2.c: Likewise.
48831         * soft-fp/lesf2.c: Likewise.
48832         * soft-fp/letf2.c: Likewise.
48833         * soft-fp/muldf3.c: Likewise.
48834         * soft-fp/mulsf3.c: Likewise.
48835         * soft-fp/multf3.c: Likewise.
48836         * soft-fp/negdf2.c: Likewise.
48837         * soft-fp/negsf2.c: Likewise.
48838         * soft-fp/negtf2.c: Likewise.
48839         * soft-fp/op-1.h: Likewise.
48840         * soft-fp/op-2.h: Likewise.
48841         * soft-fp/op-4.h: Likewise.
48842         * soft-fp/op-8.h: Likewise.
48843         * soft-fp/op-common.h: Likewise.
48844         * soft-fp/quad.h: Likewise.
48845         * soft-fp/single.h: Likewise.
48846         * soft-fp/soft-fp.h: Likewise.
48847         * soft-fp/sqrtdf2.c: Likewise.
48848         * soft-fp/sqrtsf2.c: Likewise.
48849         * soft-fp/sqrttf2.c: Likewise.
48850         * soft-fp/subdf3.c: Likewise.
48851         * soft-fp/subsf3.c: Likewise.
48852         * soft-fp/subtf3.c: Likewise.
48853         * soft-fp/truncdfsf2.c: Likewise.
48854         * soft-fp/trunctfdf2.c: Likewise.
48855         * soft-fp/trunctfsf2.c: Likewise.
48856         * soft-fp/trunctfxf2.c: Likewise.
48857         * soft-fp/unorddf2.c: Likewise.
48858         * soft-fp/unordsf2.c: Likewise.
48859         * soft-fp/unordtf2.c: Likewise.
48861 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
48863         [BZ #15672]
48864         * misc/error.c (error_tail): Fix possible buffer overflow.
48866 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
48868         [BZ #13028]
48869         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
48870         address.
48872 2013-10-14  P. J. McDermott  <pj@pehjota.net>
48874         [BZ #832]
48875         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
48876         testing pipefail option.
48878 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48880         * soft-fp/double.h: Indent preprocessor directives inside #if.
48881         * soft-fp/extended.h: Likewise.
48882         * soft-fp/op-2.h: Likewise.
48883         * soft-fp/op-4.h: Likewise.
48884         * soft-fp/op-common.h: Likewise.
48885         * soft-fp/quad.h: Likewise.
48886         * soft-fp/single.h: Likewise.
48887         * soft-fp/soft-fp.h: Likewise.
48889 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
48891         * iconv/iconv_prog.c: Fix typos.
48892         * stdio-common/psiginfo-data.h: Likewise.
48894 2013-10-12   Reuben Thomas <rrt@sc3d.org>
48896         [BZ #15764]
48897         * locale/setlocale.c: Fix typo.
48899 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
48901         [BZ #16036]
48902         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
48903         signaling NaN arguments.
48904         * soft-fp/unordsf2.c (__unordsf2): Likewise.
48905         * soft-fp/unordtf2.c (__unordtf2): Likewise.
48907         [BZ #14910]
48908         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
48909         unordered operands.
48910         * soft-fp/gesf2.c (__gesf2): Likewise.
48911         * soft-fp/getf2.c (__getf2): Likewise.
48912         * soft-fp/ledf2.c (__ledf2): Likewise.
48913         * soft-fp/lesf2.c (__lesf2): Likewise.
48914         * soft-fp/letf2.c (__letf2): Likewise.
48916         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
48917         * soft-fp/eqsf2.c (__eqsf2): Likewise.
48918         * soft-fp/eqtf2.c (__eqtf2): Likewise.
48919         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
48920         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
48921         * soft-fp/fixdfti.c (__fixdfti): Likewise.
48922         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
48923         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
48924         * soft-fp/fixsfti.c (__fixsfti): Likewise.
48925         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
48926         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
48927         * soft-fp/fixtfti.c (__fixtfti): Likewise.
48928         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
48929         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
48930         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
48931         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
48932         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
48933         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
48934         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
48935         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
48936         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
48937         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
48938         * soft-fp/floatdisf.c (__floatdisf): Likewise.
48939         * soft-fp/floatsisf.c (__floatsisf): Likewise.
48940         * soft-fp/floattidf.c (__floattidf): Likewise.
48941         * soft-fp/floattisf.c (__floattisf): Likewise.
48942         * soft-fp/floattitf.c (__floattitf): Likewise.
48943         * soft-fp/floatundidf.c (__floatundidf): Likewise.
48944         * soft-fp/floatundisf.c (__floatundisf): Likewise.
48945         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
48946         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
48947         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
48948         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
48949         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
48950         * soft-fp/gesf2.c (__gesf2): Likewise.
48951         * soft-fp/getf2.c (__getf2): Likewise.
48952         * soft-fp/ledf2.c (__ledf2): Likewise.
48953         * soft-fp/lesf2.c (__lesf2): Likewise.
48954         * soft-fp/letf2.c (__letf2): Likewise.
48956         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
48957         Undefine and redefine.
48958         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
48959         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
48960         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
48961         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
48962         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48963         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
48964         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48965         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
48966         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48967         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
48968         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48969         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
48970         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48971         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
48972         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
48974         [BZ #16032]
48975         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
48976         without decrementing exponent if mantissa >= that for the
48977         denominator, not >.
48978         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
48979         denominator, not >.  Decrement exponent in < case instead of
48980         incrementing in >= case.
48981         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
48982         without decrementing exponent if mantissa >= that for the
48983         denominator, not >.
48985         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
48986         computing saturated result for unsigned overflow.
48988 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48989             Jeff Law  <law@redhat.com>
48991         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
48992         (atan2Mp): Add systemtap probe marker.
48993         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
48994         (__ieee754_log): Add systemtap probe marker.
48995         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
48996         (atanMp): Add systemtap probe marker.
48997         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
48998         (tanMp): Add systemtap probe marker.
48999         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
49000         (__slowexp): Add systemtap probe marker.
49001         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
49002         (__slowpow): Add systemtap probe marker.
49003         * manual/probes.texi: Document probes.
49005 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
49007         [BZ #15362]
49008         * libio/fileops.c (_IO_new_file_write): Return count of bytes
49009         written.
49010         (_IO_new_file_xsputn): Don't return EOF if nothing has been
49011         written.
49012         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
49013         written to buffer but not flushed.
49014         * libio/iofwrite_u.c:  Likewise.
49015         * libio/iopadn.c:  Return bytes returned even if EOF was
49016         encountered.
49017         * libio/iowpadn.c:  Likewise.
49018         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
49019         if _IO_padn does not write the whole buffer.
49020         [!COMPILE_WPRINTF] (PAD): Likewise.
49022 2013-10-10  David S. Miller  <davem@davemloft.net>
49024         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
49025         directory block.
49027 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49029         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
49030         instead of FSF address.
49031         * soft-fp/fixdfti.c: Likewise.
49032         * soft-fp/fixsfti.c: Likewise.
49033         * soft-fp/fixtfti.c: Likewise.
49034         * soft-fp/fixunsdfti.c: Likewise.
49035         * soft-fp/fixunssfti.c: Likewise.
49036         * soft-fp/fixunstfti.c: Likewise.
49037         * soft-fp/floattidf.c: Likewise.
49038         * soft-fp/floattisf.c: Likewise.
49039         * soft-fp/floattitf.c: Likewise.
49040         * soft-fp/floatuntidf.c: Likewise.
49041         * soft-fp/floatuntisf.c: Likewise.
49042         * soft-fp/floatuntitf.c: Likewise.
49043         * soft-fp/trunctfxf2.c: Likewise.
49045         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
49046         * soft-fp/fixdfti.c: Likewise.
49047         * soft-fp/fixsfti.c: Likewise.
49048         * soft-fp/fixtfti.c: Likewise.
49049         * soft-fp/fixunsdfti.c: Likewise.
49050         * soft-fp/fixunssfti.c: Likewise.
49051         * soft-fp/fixunstfti.c: Likewise.
49052         * soft-fp/floattidf.c: Likewise.
49053         * soft-fp/floattisf.c: Likewise.
49054         * soft-fp/floattitf.c: Likewise.
49055         * soft-fp/floatuntidf.c: Likewise.
49056         * soft-fp/floatuntisf.c: Likewise.
49057         * soft-fp/floatuntitf.c: Likewise.
49058         * soft-fp/trunctfxf2.c: Likewise.
49060 2013-10-10  David S. Miller  <davem@davemloft.net>
49062         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49064 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
49066         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
49067         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
49068         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
49069         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
49070         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
49071         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
49072         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
49074         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
49075         for NaNs before doing comparisons on argument.
49076         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
49077         Likewise.
49079 2013-10-10  Will Newton  <will.newton@linaro.org>
49081         * malloc/hooks.c (memalign_check): Ensure the value of bytes
49082         passed to _int_memalign does not overflow.
49084 2013-10-10  Torvald Riegel  <triegel@redhat.com>
49086         * scripts/bench.pl: Add include-sources directive.
49087         * benchtests/README: Update documentation.
49089 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
49091         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
49092         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
49093         instead of FP_INIT_ROUNDMODE.
49094         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
49095         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
49097         [BZ #16034]
49098         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
49099         copy class of input value.
49100         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
49101         not handle exceptions.
49102         * soft-fp/negsf2.c (__negsf2): Likewise.
49103         * soft-fp/negtf2.c (__negtf2): Likewise.
49104         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
49106 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
49108         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
49109         semicolon.  From Linux kernel.
49111 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
49113         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
49115 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
49117         [BZ #156]
49118         * manual/socket.texi: Added statement about buffer
49119         for gethostbyname2_r.
49121 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
49123         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
49124         Use .p2align directive instead, throughout.
49125         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
49126         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
49127         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
49128         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
49129         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
49130         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
49131         * sysdeps/x86_64/strchr.S: Likewise.
49132         * sysdeps/x86_64/strrchr.S: Likewise.
49134 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
49136         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
49138         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
49140         * sysdeps/generic/math_private.h (__mpsin1): Remove
49141         declaration.
49142         (__mpcos1): Likewise.
49143         (__mpsin): New argument __range_reduce.
49144         (__mpcos): Likewise.
49145         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49146         (slow): Use __mpsin and __mpcos.
49147         (slow1): Likewise.
49148         (slow2): Likewise.
49149         (sloww): Likewise.
49150         (sloww1): Likewise.
49151         (sloww2): Likewise.
49152         (bsloww): Likewise.
49153         (bsloww1): Likewise.
49154         (bsloww2): Likewise.
49155         (cslow2): Likewise.
49156         (csloww): Likewise.
49157         (csloww1): Likewise.
49158         (csloww2): Likewise.
49159         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
49160         range_reduce.  Merge in __mpsin1.
49161         (__mpcos): Likewise.
49162         (__mpsin1): Remove.
49163         (__mpcos1): Likewise.
49165 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
49167         * locale/loadlocale.c (_nl_intern_locale_data): Use
49168         LOCFILE_ALIGNED_P.
49169         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
49170         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
49171         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
49172         obstack data is appropriately aligned.
49173         (obstack_int32_grow_fast): Likewise.
49174         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
49175         * locale/programs/locfile.c (add_locale_uint32): Likewise.
49176         (add_locale_uint32_array): Likewise.
49178 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
49180         * benchtests/Makefile: Remove ARGLIST and RET variables.
49181         ($(objpfx)bench-%.c): Pass only function name to the script.
49182         * benchtests/README: Update documentation.
49183         * benchtests/acos-inputs: Add new directives.
49184         * benchtests/acosh-inputs: Likewise.
49185         * benchtests/asin-inputs: Likewise.
49186         * benchtests/asinh-inputs: Likewise.
49187         * benchtests/atan-inputs: Likewise.
49188         * benchtests/atanh-inputs: Likewise.
49189         * benchtests/cos-inputs: Likewise.
49190         * benchtests/cosh-inputs: Likewise.
49191         * benchtests/exp-inputs: Likewise.
49192         * benchtests/log-inputs: Likewise.
49193         * benchtests/pow-inputs: Likewise.
49194         * benchtests/rint-inputs: Likewise.
49195         * benchtests/sin-inputs: Likewise.
49196         * benchtests/sinh-inputs: Likewise.
49197         * benchtests/tan-inputs: Likewise.
49198         * benchtests/tanh-inputs: Likewise.
49199         * scripts/bench.pl: Add support for new directives.
49201 2013-10-07  Alan Modra  <amodra@gmail.com>
49203         * README: Fix careless merge.
49205 2013-10-05  Alan Modra  <amodra@gmail.com>
49207         * NEWS: Mention powerpc64le support and bugs fixed.
49208         * README: Both big-endian and little-endian powerpc64 supported.
49210 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49212         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
49213         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
49214         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
49215         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
49217 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
49219         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
49220         match prototype.
49222 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
49224         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
49225         Move -mhard-float appending from
49226         ports/sysdeps/powerpc/powerpc32/Makefile.
49227         [$(with-fp) = yes] (ASFLAGS): Likewise.
49228         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
49229         * sysdeps/powerpc/nofpu: Move directory from
49230         ports/sysdeps/powerpc/nofpu.
49231         * sysdeps/powerpc/soft-fp: Move directory from
49232         ports/sysdeps/powerpc/soft-fp.
49233         * sysdeps/powerpc/powerpc32/405: Move directory from
49234         ports/sysdeps/powerpc/powerpc32/405.
49235         * sysdeps/powerpc/powerpc32/440: Move directory from
49236         ports/sysdeps/powerpc/powerpc32/440.
49237         * sysdeps/powerpc/powerpc32/464: Move directory from
49238         ports/sysdeps/powerpc/powerpc32/464.
49239         * sysdeps/powerpc/powerpc32/476: Move directory from
49240         ports/sysdeps/powerpc/powerpc32/476.
49241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
49242         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
49243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
49244         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
49245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
49246         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
49247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
49248         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
49249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
49250         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
49251         * README: Update for powerpc-*-linux-gnu software floating point
49252         support in libc.
49254         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
49255         case to powerpc/powerpc32*.
49256         * sysdeps/unix/sysv/linux/configure: Regenerated.
49258         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
49259         (_FPU_MASK_OM): Define as 0x04.
49260         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
49261         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
49262         0x00c10080.
49263         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
49264         0x0000003c.
49265         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
49267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
49268         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49269         getcontext_e500.
49270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
49271         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
49272         setcontext_e500.
49273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
49274         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
49275         and setcontext_e500.
49277 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
49279         * locale/iso-3166.def: Update iso-1366.def and related occurrences
49281 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49283         * manual/threads.texi (Default Thread Attributes): Fix typo.
49285 2013-10-04  Will Newton  <will.newton@linaro.org>
49287         * malloc/Makefile: Add tst-memalign.
49288         * malloc/tst-memalign.c: New file.
49290         * malloc/tst-posix_memalign.c: Add comments.
49291         (do_test): Add comments and call free on all potentially
49292         allocated pointers. Add space after cast.
49294         * malloc/tst-pvalloc.c: Add comments.
49295         (do_test): Add comments and call free on all potentially
49296         allocated pointers. Remove duplicate check for NULL pointer.
49297         Add space after cast.
49299         * malloc/tst-valloc.c: Add comments.
49300         (do_test): Add comments and call free on all potentially
49301         allocated pointers. Remove duplicate check for NULL pointer.
49302         Add space after cast.
49304 2013-10-04  Alan Modra  <amodra@gmail.com>
49306         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49307         Use stdint types in rather than __attribute__((mode())).
49308         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49310 2013-10-04  Alan Modra  <amodra@gmail.com>
49312         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
49313         Correct handling of unaligned relocs for little-endian.
49314         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
49316 2013-10-04  Alan Modra  <amodra@gmail.com>
49318         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
49319         * configure: Regenerate.
49320         * nptl/shlib-versions: Powerpc*le starts at 2.18.
49321         * shlib-versions: Likewise.
49323 2013-10-04  Alan Modra  <amodra@gmail.com>
49325         * string/tester.c (test_memrchr): Increment reported test cycle.
49327 2013-10-04  Alan Modra  <amodra@gmail.com>
49329         * string/test-memcpy.c (do_one_test): When reporting errors, print
49330         string address and don't overrun end of string.
49332 2013-10-04  Alan Modra  <amodra@gmail.com>
49334         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
49335         insrdi.  Make better use of reg selection to speed exit slightly.
49336         Schedule entry path a little better.  Remove useless "are we done"
49337         checks on entry to main loop.  Handle wrapping around zero address.
49338         Correct main loop count.  Handle single left-over word from main
49339         loop inline rather than by using loop_small.  Remove extra word
49340         case in loop_small caused by wrong loop count.  Add little-endian
49341         support.
49342         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
49343         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
49344         cache hint.
49345         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
49346         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
49347         support.  Avoid rlwimi.
49348         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
49350 2013-10-04  Alan Modra  <amodra@gmail.com>
49352         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
49353         insrdi.  Formatting.
49354         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
49355         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49356         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
49357         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
49358         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49359         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
49361 2013-10-04  Alan Modra  <amodra@gmail.com>
49363         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
49364         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49365         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
49366         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
49367         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
49368         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
49369         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49370         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49371         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
49372         use of regs.  Use power7 mtocrf.  Tidy function tails.
49374 2013-10-04  Alan Modra  <amodra@gmail.com>
49376         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
49377         Formatting.  Consistently use rXXX register defines or rN defines.
49378         Use early exit labels that avoid restoring unused non-volatile regs.
49379         Make cr field use more consistent with rWORDn compares.  Rename
49380         regs used as shift registers for unaligned loop, using rN defines
49381         for short lifetime/multiple use regs.
49382         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
49383         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
49384         addi 1,1,64 to pop stack frame.  Simplify return value code.
49385         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49387 2013-10-04  Alan Modra  <amodra@gmail.com>
49389         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
49390         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
49391         rather than rlwimi.
49392         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
49393         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
49394         little-endian support.  Correct typos.
49395         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
49396         rather than rlwimi.
49397         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
49398         in loop and entry code to keep "and." results.
49399         (strchr): Add little-endian support.  Comment.  Move cntlzd
49400         earlier in tail.
49401         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
49403 2013-10-04  Alan Modra  <amodra@gmail.com>
49405         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
49406         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
49407         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
49408         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
49410 2013-10-04  Alan Modra  <amodra@gmail.com>
49412         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
49413         (rTMP): Define as r11.
49414         (strcmp): Add little-endian support.  Optimise tail.
49415         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
49416         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
49417         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
49418         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
49419         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
49420         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49421         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
49423 2013-10-04  Alan Modra  <amodra@gmail.com>
49425         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
49426         little-endian support.  Remove unnecessary "are we done" tests.
49427         Handle "s" wrapping around zero and extremely large "size".
49428         Correct main loop count.  Handle single left-over word from main
49429         loop inline rather than by using small_loop.  Correct comments.
49430         Delete "zero" tail, use "end_max" instead.
49431         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
49433 2013-10-04  Alan Modra  <amodra@gmail.com>
49435         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
49436         support.  Don't branch over align.
49437         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
49438         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
49439         support.  Rearrange tmp reg use to suit.  Comment.
49440         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
49442 2013-10-04  Alan Modra  <amodra@gmail.com>
49444         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
49446 2013-10-04  Alan Modra  <amodra@gmail.com>
49448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
49449         conditional form of branch and link when obtaining pc.
49450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49452 2013-10-04  Alan Modra  <amodra@gmail.com>
49454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
49455         HIWORD/LOWORD.
49456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
49457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
49459 2013-10-04  Alan Modra  <amodra@gmail.com>
49461         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
49462         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
49463         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
49464         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
49465         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49466         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49467         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
49468         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49469         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
49470         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
49472 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49473             Alistair Popple <alistair@ozlabs.au.ibm.com>
49474             Alan Modra <amodra@gmail.com>
49476         [BZ #15723]
49477         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
49478         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
49479         _dl_hwcap access for little-endian.
49480         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
49481         destroy vmx regs when saving unaligned.
49482         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
49483         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
49484         destroy vmx regs when saving unaligned.
49486 2013-10-04  Alan Modra  <amodra@gmail.com>
49488         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
49489         Don't use a union to pack hi/low value.
49491 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49493         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
49494         for little-endian.
49495         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
49496         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
49497         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
49498         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
49499         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
49501 2013-10-04  Alan Modra  <amodra@gmail.com>
49503         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
49504         constants to usual value for .cst8 section, and remove redundant
49505         high address load.
49506         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
49507         constant for 0x1p52.  Load little-endian words of double from
49508         correct stack offsets.
49510 2013-10-04  Alan Modra  <amodra@gmail.com>
49512         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
49513         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
49514         words of double from correct stack offsets.
49515         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
49516         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
49517         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
49518         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
49519         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
49520         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
49521         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
49522         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
49523         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
49524         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
49525         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
49526         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
49527         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49528         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49529         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49530         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
49531         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
49533 2013-10-04  Alan Modra  <amodra@gmail.com>
49535         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
49536         64-bit int/double union.
49537         (_FPU_SETCW): Likewise.
49538         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
49539         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
49541 2013-10-04  Alan Modra  <amodra@gmail.com>
49543         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
49544         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
49546 2013-10-04  Alan Modra  <amodra@gmail.com>
49548         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
49549         use vector int constants.
49550         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
49552 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49554         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
49555         array with long long.
49556         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
49557         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
49558         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
49559         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
49560         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
49561         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
49562         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
49563         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
49564         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
49565         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
49566         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
49567         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
49568         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
49570 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
49572         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
49573         (__signbit): Likewise.  Correct for little-endian.
49574         (__signbitl): Call __signbit.
49575         (lrint): Correct for little-endian.
49576         (lrintf): Call lrint.
49578 2013-10-04  Alan Modra  <amodra@gmail.com>
49580         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
49581         union 32-bit int array member with 64-bit int array.
49582         (t515, tm256): Double rather than long double.
49583         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
49585 2013-10-04  Alan Modra  <amodra@gmail.com>
49587         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
49588         Delete.
49589         (IEEE854_LONG_DOUBLE_BIAS): Delete.
49590         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
49591         version of math_ldbl.h.
49593 2013-10-04  Alan Modra  <amodra@gmail.com>
49595         [BZ #15734], [BZ #15735]
49596         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
49597         all uses of ieee875 long double macros and unions.  Simplify test
49598         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
49599         ldbl_extract_mantissa value for ix,iy exponents.  Properly
49600         normalize after ldbl_extract_mantissa, and don't add hidden bit
49601         already handled.  Don't treat low word of ieee854 mantissa like
49602         low word of IBM long double and mask off bit when testing for
49603         zero.
49604         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
49605         all uses of ieee875 long double macros and unions.  Simplify tests
49606         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
49607         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
49608         two1022, instead use their values.  Recognise that tests for large
49609         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
49610         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
49611         Rewrite all uses of ieee875 long double macros and unions.  Simplify
49612         test for 0.0L and nan.  Correct negation.
49613         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
49614         ieee875 long double macros and unions.  Correct output for large
49615         magnitude x.  Correct absolute value calculation.
49616         (__erfcl): Likewise.
49617         * math/libm-test.inc: Add tests for errors discovered in IBM long
49618         double versions of fmodl, remainderl, erfl and erfcl.
49620 2013-10-04  Alan Modra  <amodra@gmail.com>
49622         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
49623         all uses of ieee854 long double macros and unions.  Simplify tests
49624         for long doubles that are fully specified by the high double.
49625         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
49626         Likewise.
49627         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
49628         Remove dead code too.
49629         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
49630         (__ieee754_ynl): Likewise.
49631         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
49632         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
49633         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
49634         Remove dead code too.
49635         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
49636         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
49637         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
49638         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
49639         Simplify.
49640         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
49641         Simplify.
49642         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
49643         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
49644         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
49645         Comment on variable precision.
49646         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
49647         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
49648         Likewise.
49649         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
49650         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49651         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49652         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
49653         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
49655 2013-10-04  Alan Modra  <amodra@gmail.com>
49657         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
49658         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
49659         all uses of ieee854 long double macros and unions.
49660         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
49661         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
49662         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
49663         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
49664         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
49665         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
49666         Likewise.
49667         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
49668         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
49669         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
49670         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
49671         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
49672         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
49673         Simplify sign and nan test too.
49674         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
49675         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
49676         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
49677         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
49678         Likewise.
49679         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
49680         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
49681         Likewise.
49682         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
49683         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
49684         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
49685         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
49686         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
49687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
49689 2013-10-04  Alan Modra  <amodra@gmail.com>
49691         * stdio-common/printf_size.c (__printf_size): Don't use
49692         union ieee854_long_double in fpnum union.
49693         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
49694         signbit macro to retrieve sign from long double.
49695         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
49696         retrieve sign from long double.
49697         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
49698         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
49699         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
49700         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49701         * math/test-misc.c (main): Don't use union ieee854_long_double.
49703 2013-10-04  Alan Modra  <amodra@gmail.com>
49705         [BZ #15680]
49706         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
49707         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
49708         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
49709         calculation.  Remove unnecessary test for denormal exponent.
49710         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
49711         Correct handling of denormals.  Avoid undefined shift behaviour.
49712         Correct normalisation of low mantissa when low double is denormal.
49713         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
49714         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
49715         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
49716         Correct normalisation of low mantissa.  Test for overflow of high
49717         mantissa and normalise.
49718         (ldbl_nearbyint): Use more readable constant for two52.
49719         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
49720         (__mpn_construct_long_double): Fix test for overflow of high
49721         mantissa and correct normalisation.  Avoid undefined shift.
49723 2013-10-04  Alan Modra  <amodra@gmail.com>
49725         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49726         (union ibm_extended_long_double): Define as an array of ieee754_double.
49727         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
49728         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
49729         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
49730         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
49731         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49732         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
49733         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
49734         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
49735         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49736         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
49737         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
49739 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
49741         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
49742         page size instead of calling getpagesize.
49744         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
49745         (LOCFILE_ALIGN_MASK): Likewise.
49746         (LOCFILE_ALIGN_UP): Likewise.
49747         (LOCFILE_ALIGNED_P): Likewise.
49748         * locale/programs/ld-collate.c (collate_output): Use the new
49749         macros instead of __alignof__ (int32_t).
49750         * locale/weight.h (findidx): Likewise.
49752 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
49754         [BZ #431]
49755         * manual/string.texi: Fix strncat and wcsncat.
49757 2013-10-03  Brooks Moses  <bmoses@google.com>
49759         [BZ #15915]
49760         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
49761         * Makerules: ...here, and adjust associated comments.
49763 2013-10-02  Will Newton  <will.newton@linaro.org>
49765         * malloc/Makefile: Add tst-pvalloc.
49766         * malloc/tst-pvalloc.c: New file.
49768 2013-10-02  Will Newton  <will.newton@linaro.org>
49770         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
49771         improve test coverage.
49773 2013-10-02  Will Newton  <will.newton@linaro.org>
49775         * malloc/Makefile: Add tst-posix_memalign.
49776         * malloc/tst-posix_memalign.c: New file.
49778 2013-10-01  Eric Blake  <eblake@redhat.com>
49780         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
49781         Use __THROWNL rather than __THROW on static functions.
49783 2013-09-30  Petr Machata  <pmachata@redhat.com>
49785         * elf/elf.h (R_AARCH64_ABS16): New macro.
49786         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
49787         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
49788         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
49789         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
49790         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
49791         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
49792         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
49793         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
49794         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
49795         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
49796         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
49797         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
49798         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
49799         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
49800         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
49801         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
49802         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
49803         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
49804         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
49805         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
49806         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
49807         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
49808         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
49809         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
49810         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
49811         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
49812         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
49813         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
49814         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
49815         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
49816         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
49817         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
49818         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
49819         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
49820         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
49821         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
49822         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
49823         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
49824         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
49825         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
49826         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
49827         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
49828         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
49829         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
49830         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
49831         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
49832         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
49833         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
49834         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
49835         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
49836         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
49837         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
49838         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
49839         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
49840         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
49841         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
49842         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
49843         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
49844         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
49845         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
49846         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
49847         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
49848         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
49849         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
49850         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
49851         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
49852         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
49853         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
49854         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
49855         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
49856         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
49857         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
49858         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
49859         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
49860         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
49861         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
49862         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
49863         (R_AARCH64_TLSDESC_LDR): Likewise.
49864         (R_AARCH64_TLSDESC_ADD): Likewise.
49865         (R_AARCH64_TLSDESC_CALL): Likewise.
49867 2013-09-30  Andreas Schwab  <schwab@suse.de>
49869         [BZ #15048]
49870         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
49871         the nss database lookup.
49872         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49875 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
49877         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
49879 2013-09-28  P. J. McDermott  <pj@pehjota.net>
49881         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
49882         ${Bash-specific parameter/pattern/string} parameter expansion.
49883         * sysdeps/unix/make-syscalls.sh: Likewise.
49885 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49887         * sysdeps/sh/stackguard-macros.h: New file.
49889 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
49891         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49892         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
49893         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
49894         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
49895         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49896         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
49898 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49900         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
49901         Fix thread ID register.
49903 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
49905         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
49906         [POSIX || UNIX98]: Require rather than permitting all symbols from
49907         <time.h>.
49908         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
49909         element of struct sched_param.
49910         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
49911         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
49912         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
49913         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
49914         constant.
49916 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
49918         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
49919         argument calculation.
49921 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49923         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
49924         Expect macro.
49925         [POSIX] (pthread_attr_t): Do not require type.
49926         [POSIX] (pthread_cond_t): Likewise.
49927         [POSIX] (pthread_condattr_t): Likewise.
49928         [POSIX] (pthread_key_t): Likewise.
49929         [POSIX] (pthread_mutex_t): Likewise.
49930         [POSIX] (pthread_mutexattr_t): Likewise.
49931         [POSIX] (pthread_once_t): Likewise.
49932         [POSIX] (pthread_t): Likewise.
49933         [POSIX-based standards] (pthread_atfork): Expect function.
49935 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
49936             Richard Sandiford  <richard@codesourcery.com>
49938         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
49939         (swap_endianness_p): New extern variable.
49940         (set_big_endian): New inline function.
49941         (maybe_swap_uint32): Likewise.
49942         (maybe_swap_uint32_array): Likewise.
49943         (maybe_swap_uint32_obstack): Likewise.
49944         * locale/programs/locfile.c: Include <stdbool.h>.
49945         (swap_endianness_p): New variable.
49946         (add_locale_uint32): Call maybe_swap_uint32.
49947         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
49948         (write_locale_data): Call maybe_swap_uint32_array.
49949         * locale/programs/ld-collate.c (obstack_int32_grow): Call
49950         maybe_swap_uint32.
49951         (obstack_int32_grow_fast): Likewise.
49952         (output_weightwc): Call maybe_swap_uint32_obstack.
49953         (collate_output): Likewise.
49954         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
49955         (OPT_LITTLE_ENDIAN): Likewise.
49956         (options): Add --little-endian and --big-endian options.
49957         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
49958         * locale/programs/locarchive.c: Include "locfile.h".
49959         (GET): New macro.
49960         (SET): Likewise.
49961         (INC): Likewise.
49962         (create_archive): Use the new macros to access fields of
49963         structures directly mapped from or written to locale archives.
49964         (oldlocrecentcmp): Likewise.
49965         (enlarge_archive): Likewise.
49966         (insert_name): Likewise.
49967         (add_alias): Likewise.
49968         (add_locale): Likewise.
49969         (delete_locales_from_archive): Likewise.
49970         (show_archive_content): Likewise.
49971         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
49972         locale data.
49974 2013-09-24  Roland McGrath  <roland@hack.frob.com>
49976         * manual/freemanuals.texi: Updated from (newly) canonical copy at
49977         http://www.gnu.org/doc/freemanuals.texi.
49978         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
49980 2013-09-24  Will Newton  <will.newton@linaro.org>
49982         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
49983         macro.
49985 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
49987         * locale/hashval.h (compute_hashval): Interpret bytes of key as
49988         unsigned char.
49990 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
49992         * manual/threads.texi (POSIX Threads): Fix a typo.
49994 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
49996         [BZ #14547]
49997         * string/tst-strcoll-overflow.c: New test case.
49998         * string/Makefile (xtests): Add tst-strcoll-overflow.
49999         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
50000         cache if string sizes may cause integer overflow.
50002         [BZ #14547]
50003         * string/strcoll_l.c (coll_seq): New members rule, idx,
50004         save_idx and back_us.
50005         (get_next_seq_nocache): New function.
50006         (do_compare_nocache): New function.
50007         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
50008         when malloc fails.
50010 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
50012         [BZ #15754]
50013         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
50014         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
50015         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
50017         [BZ #15754]
50018         * elf/Makefile (tests): Add tst-ptrguard1.
50019         (tests-static): Add tst-ptrguard1-static.
50020         (tst-ptrguard1-ARGS): Define.
50021         (tst-ptrguard1-static-ARGS): Define.
50022         * elf/tst-ptrguard1.c: New file.
50023         * elf/tst-ptrguard1-static.c: New file.
50024         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
50025         * sysdeps/i386/stackguard-macros.h: Likewise.
50026         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
50027         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
50028         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
50029         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
50030         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
50031         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
50033 2013-09-23  Hector Marco  <hecmargi@upv.es>
50034             Ismael Ripoll  <iripoll@disca.upv.es>
50035             Carlos O'Donell  <carlos@redhat.com>
50037         [BZ #15754]
50038         * sysdeps/generic/stackguard-macros.h: Define
50039         __pointer_chk_guard_local and POINTER_CHK_GUARD.
50040         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
50041         Define __pointer_chk_guard_local.
50042         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
50043         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
50045 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
50047         [BZ #15859]
50048         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
50050 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
50052         * include/string.h (__ffs): Declare as hidden.
50053         * string/ffs.c (__ffs): Define as hidden.
50054         * sysdeps/i386/ffs.c (__ffs): Likewise.
50055         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
50056         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
50057         * sysdeps/s390/ffs.c (__ffs): Likewise.
50058         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
50060 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
50062         * NEWS: Mention malloc probes.
50064         * malloc/arena.c (new_heap): New memory_heap_new probe.
50065         (grow_heap): New memory_heap_more probe.
50066         (shrink_heap): New memory_heap_less probe.
50067         (heap_trim): New memory_heap_free probe.
50068         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
50069         (systrim): New memory_sbrk_less probe.
50070         * manual/probes.texi: Document them.
50072         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
50073         * manual/probes.texi: Document it.
50075         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
50076         (__libc_realloc): Add memory_realloc_retry probe.
50077         (__libc_memalign): Add memory_memalign_retry probe.
50078         (__libc_valloc): Add memory_valloc_retry probe.
50079         (__libc_pvalloc): Add memory_pvalloc_retry probe.
50080         (__libc_calloc): Add memory_calloc_retry probe.
50081         * manual/probes.texi: Document them.
50083         * malloc/arena.c (get_free_list): Add probe
50084         memory_arena_reuse_free_list.
50085         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
50086         and memory_arena_reuse.
50087         (arena_get2) [!PER_THREAD]: Likewise.
50088         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
50089         memory_arena_reuse_realloc.
50090         * manual/probes.texi: Document them.
50092         * malloc/malloc.c (__libc_free): Add
50093         memory_mallopt_free_dyn_thresholds probe.
50094         (__libc_mallopt): Add multiple memory_mallopt probes.
50095         * manual/probes.texi: Document them.
50097         * malloc/malloc.c: Include stap-probe.h.
50098         (__libc_mallopt): Add memory_mallopt probe.
50099         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
50100         * manual/probes.texi: New.
50101         * manual/Makefile (chapters): Add probes.
50102         * manual/threads.texi: Set next node.
50104 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
50106         [BZ #15963, #13985]
50107         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
50108         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
50109         Add `Chinese' to `nan' entry name.
50111 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50113         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
50114         (POLYNOMIAL): Likewise.
50115         (TAYLOR_SINCOS): Likewise.
50116         (TAYLOR_SLOW): Likewise.
50117         (__sin): Use TAYLOR_SINCOS.
50118         (__cos): Likewise.
50119         (slow): Use TAYLOR_SLOW.
50120         (sloww): Likewise.
50121         (bsloww): Likewise.
50122         (csloww): Likewise.
50124 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50126         * stdlib/strtod_l.c: Fix buffer overrun.
50128 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50130         * benchtests/Makefile (bench): Add sincos.
50131         * benchtests/bench-sincos.c: New file.
50133         * math/libm-test.inc (cos_test_data): New test inputs.
50134         (sin_test_data): Likewise.
50136         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
50137         macro.
50138         (__sin): Use it.
50139         (__cos): Likewise.
50140         (slow1): Likewise.
50141         (slow2): Likewise.
50142         (sloww1): Likewise.
50143         (sloww2): Likewise.
50144         (bsloww1): Likewise.
50145         (bsloww2): Likewise.
50146         (cslow2): Likewise.
50147         (csloww1): Likewise.
50148         (csloww2): Likewise.
50150         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
50151         function.
50152         (__sin): Use it.
50153         (__cos): Likewise.
50155         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
50156         gotos.
50157         (__cos): Likewise.
50159 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
50161         * config.h.in (HAVE_MIPS_NAN2008): New macro.
50162         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
50163         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
50164         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
50165         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
50166         * elf/cache.c (print_entry): Handle the new cache flags.
50168 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50169             Aldy Hernandez  <aldyh@redhat.com>
50171         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
50172         Change condition to [_SOFT_FLOAT].
50173         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
50174         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
50175         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
50176         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
50177         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
50178         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
50179         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
50180         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
50181         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
50182         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
50183         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
50184         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
50185         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
50186         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
50187         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
50188         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
50189         declaration.
50191 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
50193         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
50194         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50195         (__longjmp): Use LOAD_GP to load saved GPRs.
50196         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
50197         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
50198         (__sigsetjmp): Use SAVE_GP to save GPRs.
50200         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
50201         Do not append -msoft-float.
50202         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
50204 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
50206         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
50208 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
50210         [BZ #15966]
50211         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
50212         (_FPU_GETCW): Use initial "__" on variable and field names but not
50213         on macro parameter name.
50214         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
50215         parentheses around reference to macro parameter.
50217 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
50219         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
50220         prototype.
50221         (ctype_startup): Use uint32_t in cast and sizeof for
50222         ctype->charnames.
50224 2013-09-11  Jia Liu  <proljc@gmail.com>
50226         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
50227         __daddr_t_defined.
50228         [__FreeBSD__]: Likewise.
50230 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
50232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
50233         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
50234         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
50235         (strchr): Remove __strchr_sse42 ifunc selection.
50236         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
50237         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
50239 2013-09-11  Will Newton  <will.newton@linaro.org>
50241         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
50242         parameter to RES. Remove hardcoded 1000 value.
50243         * benchtests/bench-skeleton.c (main): Pass RES parameter
50244         to TIMING_INIT and multiply result by 1000.
50246 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50250 2013-09-11  Andreas Schwab  <schwab@suse.de>
50252         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
50253         if not defined.
50254         (O_TMPFILE) [__USE_GNU]: Define.
50255         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
50256         Define.
50258 2013-09-11  Will Newton  <will.newton@linaro.org>
50260         [BZ #15857]
50261         * malloc/malloc.c (__libc_memalign): Check the value of bytes
50262         does not overflow.
50264 2013-09-11  Will Newton  <will.newton@linaro.org>
50266         [BZ #15856]
50267         * malloc/malloc.c (__libc_valloc): Check the value of bytes
50268         does not overflow.
50270 2013-09-11  Will Newton  <will.newton@linaro.org>
50272         [BZ #15855]
50273         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
50274         does not overflow.
50276 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
50278         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
50279         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
50280         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50281         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50282         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50284 2013-09-10  Allan McRae  <allan@archlinux.org>
50286         [BZ #15748]
50287         * manual/arith.texi (Parsing of Floats): Clarify
50288         cross-reference.
50290         [BZ #15849]
50291         * manual/install.texi (Running make install): Mention
50292         --enable-pt-chown.
50293         * INSTALL: Regenerated.
50295 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
50297         * csu/init-first.c (_init): Remove the !SHARED condition around
50298         FPU control word initialization.
50299         * elf/dl-support.c (_dl_fpu_control): New variable.
50300         (_dl_aux_init) <AT_FPUCW>: Initialize it.
50301         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
50302         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
50303         * math/test-fpucw-static.c: New file.
50304         * math/test-fpucw-ieee.c: New file.
50305         * math/test-fpucw-ieee-static.c: New file.
50306         * math/Makefile (tests): Add `test-fpucw-ieee' and
50307         `$(tests-static)'.
50308         (tests-static): New variable.
50309         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
50310         dependency to...
50311         [($(build-shared),yes)]
50312         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
50313         ... this.
50314         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
50315         New dependency.
50317 2013-09-09  Allan McRae  <allan@archlinux.org>
50319         [BZ #15939]
50320         * manual/string.texi (Collation Functions): Fix typo in
50321         strcoll example.
50322         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
50324         [BZ #15893]
50325         * stdlib/isomac.c (get_null_defines): Fix memory leak.
50327         [BZ #15892]
50328         * libio/memstream.c (open_memstream): Fix memory leak.
50329         * libio/wmemstream.c (open_wmemstream): Likewise.
50331         [BZ #15895]
50332         * nscd/netgroupcache.c: Fix nesting of ifdefs.
50334 2013-09-09  Will Newton  <will.newton@linaro.org>
50336         * malloc/Makefile: Add tst-realloc to tests.
50337         * malloc/tst-realloc.c: New file.
50339 2013-09-09  Allan McRae  <allan@archlinux.org>
50341         [BZ #15844]
50342         * COPYING: Update from GNU website to fix FSF address.
50343         * COPYING.LIB: Likewise.
50345 2013-09-06  David S. Miller  <davem@davemloft.net>
50347         * po/zh_TW.po: Update Chinese (traditional) translation from
50348         translation project.
50350 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
50351             Joseph Myers  <joseph@codesourcery.com>
50353         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
50354         "localeinfo.h".
50355         (obstack_chunk_alloc): New macro.
50356         (obstack_chunk_free): Likewise.
50357         (record_offset): New function.
50358         (init_locale_data): Likewise.
50359         (align_locale_data): Likewise.
50360         (add_locale_empty): Likewise.
50361         (add_locale_raw_data): Likewise.
50362         (add_locale_raw_obstack): Likewise.
50363         (add_locale_string): Likewise.
50364         (add_locale_wstring): Likewise.
50365         (add_locale_uint32): Likewise.
50366         (add_locale_uint32_array): Likewise.
50367         (add_locale_char): Likewise.
50368         (start_locale_structure): Likewise.
50369         (end_locale_structure): Likewise.
50370         (start_locale_prelude): Likewise.
50371         (end_locale_prelude): Likewise.
50372         (write_locale_data): Take locale_file structure rather than an
50373         iovec.
50374         * locale/programs/locfile.h: Include "obstack.h".
50375         (struct locale_file): Change to store locale file contents instead
50376         of header.
50377         (init_locale_data): New prototype.
50378         (align_locale_data): Likewise.
50379         (add_locale_empty): Likewise.
50380         (add_locale_raw_data): Likewise.
50381         (add_locale_raw_obstack): Likewise.
50382         (add_locale_string): Likewise.
50383         (add_locale_wstring): Likewise.
50384         (add_locale_uint32): Likewise.
50385         (add_locale_uint32_array): Likewise.
50386         (add_locale_char): Likewise.
50387         (start_locale_structure): Likewise.
50388         (end_locale_structure): Likewise.
50389         (start_locale_prelude): Likewise.
50390         (end_locale_prelude): Likewise.
50391         (write_locale_data): Update prototype.
50392         * locale/programs/3level.h (struct TABLE): Remove result field.
50393         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
50394         Use new locale_file interface.
50395         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
50396         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
50397         * locale/programs/ld-address.c (address_output): Use new
50398         locale_file interface.
50399         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
50400         NO_ADD_LOCALE.
50401         (collate_finish): Don't call collseq_table_finalize.
50402         (collate_output): Use new locale_file interface.
50403         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
50404         in file.
50405         (NO_FINALIZE): Change to NO_ADD_LOCALE.
50406         (TABLE): Move defines earlier in file.
50407         (ELEMENT): Likewise.
50408         (DEFAULT): Likewise.
50409         (wctrans_table_add): Move macro and inline function earlier in
50410         file.
50411         (struct wctype_table): Move type earlier in file.
50412         (add_locale_wctype_table): New static prototype.
50413         (struct locale_ctype_t): Use logical types instead of struct iovec
50414         pointers for members.
50415         (ctype_output): Use new locale_file interface.
50416         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
50417         new locale_file interface.
50418         (allocate_arrays): Update for use of new locale_file interface.
50419         * locale/programs/ld-identification.c (identification_output): Use
50420         new locale_file interface.
50421         * locale/programs/ld-measurement.c (measurement_output): Likewise.
50422         * locale/programs/ld-messages.c (messages_output): Likewise.
50423         * locale/programs/ld-monetary.c (monetary_output): Likewise.
50424         * locale/programs/ld-name.c (name_output): Likewise.
50425         * locale/programs/ld-numeric.c (numeric_output): Likewise.
50426         * locale/programs/ld-paper.c (paper_output): Likewise.
50427         * locale/programs/ld-telephone.c (telephone_output): Likewise.
50428         * locale/programs/ld-time.c (time_output): Likewise.
50430 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50432         * benchtests/Makefile: Add memrchr benchmark.
50433         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
50434         benchmark as memrchr.
50435         * benchtests/bench-memrchr-ifunc.c: New file.
50436         * benchtests/bench-memrchr.c: New file.
50438 2013-09-06   Will Newton  <will.newton@linaro.org>
50440         * benchtests/Makefile (string-bench): Add memcpy.
50442 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
50443             Cong Wang  <amwang@redhat.com>
50445         [BZ #15850]
50446         * sysdeps/unix/sysv/linux/bits/in.h
50447         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
50448         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
50449         before __USE_KERNEL_IPV6_DEFS uses.
50450         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
50451         IPPROTO_BEETPH.
50452         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
50453         sockaddr_in6, or ipv6_mreq.
50455 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50457         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
50458         memory access for final bytes in some large inputs.
50459         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
50461 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50463         * string/test-memrchr.c: New file.
50464         * string/test-memrchr-ifunc.c: New file.
50465         * string/Makefile: Add new memrchr testcase.
50467 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
50469         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
50470         fanotify_init returns EPERM.
50472 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50474         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
50475         errors.
50476         (top level): Treat second token from macro or constant entries for
50477         allowed headers as allowed.
50478         * include/complex.h: Condition internal declarations on
50479         [!_ISOMAC].
50480         * include/fenv.h: Condition include of <stdbool.h> and internal
50481         declarations on [!_ISOMAC].
50483 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
50485         [BZ #15923]
50486         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
50488 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
50490         * configure.in (--enable-versioning): Remove configure option.
50491         (libc_cv_asm_symver_directive): Remove configure test.
50492         (libc_cv_ld_version_script_option): Likewise.
50493         (VERSIONING): Remove variable and AC_SUBST.
50494         (DO_VERSIONING): Remove AC_DEFINE.
50495         * configure: Regenerated.
50496         * config.h.in (DO_VERSIONING): Remove macro.
50497         * Makerules [$(versioning) = yes]: Change conditionals to
50498         [$(build-shared) = yes].
50499         * config.make.in (versioning): Remove variable.
50500         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
50501         [$(build-shared) = yes].
50502         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
50503         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
50504         * elf/Makefile [$(versioning) = yes]: Change conditionals to
50505         [$(build-shared) = yes].
50506         * extra-lib.mk [$(versioning) = yes]: Likewise.
50507         * hurd/Makefile [$(versioning) = yes]: Likewise.
50508         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
50509         [SHARED].
50510         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
50511         [SHARED].
50512         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50513         [SHARED && !NO_HIDDEN].
50514         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
50515         [SHARED].
50516         [SHARED && DO_VERSIONING]: Likewise..
50517         * libio/Makefile [$(versioning) = yes]: Change conditionals to
50518         [$(build-shared) = yes].
50519         * manual/install.texi (--disable-versioning): Remove
50520         documentation.
50521         * INSTALL: Regenerated.
50522         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
50523         to [SHARED].
50524         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
50525         [$(build-shared) = yes].
50526         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
50527         * sysdeps/i386/i686/multiarch/strstr-c.c
50528         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
50529         [SHARED && !NO_HIDDEN].
50530         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
50531         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
50532         * sysdeps/powerpc/powerpc32/dl-machine.c
50533         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
50534         * sysdeps/powerpc/powerpc32/sysdep.h
50535         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
50536         to [SHARED && PIC && !NO_HIDDEN].
50537         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
50538         conditional to [SHARED].
50540 2013-09-04   Will Newton  <will.newton@linaro.org>
50542         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
50543         * benchtests/bench-string.h: Include bench-timing.h instead
50544         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
50545         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
50546         call to HP_TIMING_DIFF_INIT.
50547         * benchtests/bench-memccpy.c: Use bench-timing.h macros
50548         instead of hp-timing.h macros.
50549         * benchtests/bench-memchr.c: Likewise.
50550         * benchtests/bench-memcmp.c: Likewise.
50551         * benchtests/bench-memcpy.c: Likewise.
50552         * benchtests/bench-memmem.c: Likewise.
50553         * benchtests/bench-memmove.c: Likewise.
50554         * benchtests/bench-memset.c: Likewise.
50555         * benchtests/bench-rawmemchr.c: Likewise.
50556         * benchtests/bench-strcasecmp.c: Likewise.
50557         * benchtests/bench-strcasestr.c: Likewise.
50558         * benchtests/bench-strcat.c: Likewise.
50559         * benchtests/bench-strchr.c: Likewise.
50560         * benchtests/bench-strcmp.c: Likewise.
50561         * benchtests/bench-strcpy.c: Likewise.
50562         * benchtests/bench-strcpy_chk.c: Likewise.
50563         * benchtests/bench-strlen.c: Likewise.
50564         * benchtests/bench-strncasecmp.c: Likewise.
50565         * benchtests/bench-strncat.c: Likewise.
50566         * benchtests/bench-strncmp.c: Likewise.
50567         * benchtests/bench-strncpy.c: Likewise.
50568         * benchtests/bench-strnlen.c: Likewise.
50569         * benchtests/bench-strpbrk.c: Likewise.
50570         * benchtests/bench-strrchr.c: Likewise.
50571         * benchtests/bench-strspn.c: Likewise.
50572         * benchtests/bench-strstr.c: Likewise.
50574 2013-09-04  Will Newton  <will.newton@linaro.org>
50576         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
50578 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
50580         [BZ #15427]
50581         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
50582         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
50583         * math/libm-test.inc (lgamma_test_data): Add more tests.
50584         * sysdeps/i386/fpu/libm-test-ulps: Update.
50585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50587 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
50589         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
50590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50591         Add ifunc.
50592         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
50593         Add strcmp-sse2-unaligned
50594         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
50596 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50598         * Versions.def (libc): Add GLIBC_2.19.
50600 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
50602         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
50603         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
50605 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
50607         [BZ #14155]
50608         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
50609         intermediate calculations in recurrence.
50610         (__ieee754_ynf): Likewise.
50611         * math/libm-test.inc (jn_test_data): Do not allow spurious
50612         underflow exception.  Add more tests.
50613         (yn_test_data): Add more tests.
50614         * sysdeps/i386/fpu/libm-test-ulps: Update.
50615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50617 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
50619         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
50621 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50623         * csu/init-first.c: Fix then/than typos.
50624         * locale/programs/ld-collate.c: Likewise.
50625         * locale/programs/linereader.h: Likewise.
50626         * manual/charset.texi: Likewise.
50627         * manual/filesys.texi: Likewise.
50628         * manual/stdio.texi: Likewise.
50629         * manual/string.texi: Likewise.
50630         * stdlib/fmtmsg.c: Likewise.
50631         * sysdeps/i386/stpncpy.S: Likewise.
50632         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50633         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
50634         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50635         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
50637 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
50639         * elf/dl-open.c: Fix typos.
50640         * iconvdata/gbbig5.c: Likewise.
50641         * iconvdata/iso-2022-jp.c: Likewise.
50642         * iconv/gconv_int.h: Likewise.
50643         * iconv/loop.c: Likewise.
50644         * nis/rpcsvc/nis.h: Likewise.
50645         * resolv/ns_name.c: Likewise.
50646         * stdio-common/vfscanf.c: Likewise.
50647         * streams/stropts.h: Likewise.
50648         * sunrpc/rpc_thread.c: Likewise.
50649         * sysdeps/i386/strpbrk.S: Likewise.
50650         * sysdeps/ieee754/k_standard.c: Likewise.
50651         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50652         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50653         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
50654         * sysdeps/mach/hurd/profil.c: Likewise.
50655         * sysdeps/s390/dl-procinfo.h: Likewise.
50656         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
50657         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
50658         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
50659         * sysdeps/x86_64/dl-trampoline.S: Likewise.
50660         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50662 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
50664         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
50665         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
50667 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
50669         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
50670         aix specific files.
50671         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
50672         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
50673         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
50674         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
50675         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
50676         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
50677         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
50678         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
50680 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50681             Roland McGrath  <roland@hack.frob.com>
50683         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
50684         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
50686 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50688         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
50689         __executable_start symbol instead of _start.
50691 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
50693         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
50694         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
50695         Move macros to...
50696         * sysdeps/gnu/ldsodefs.h: ... this new file.
50698         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
50699         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
50700         instead of ELFOSABI_LINUX.
50702         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
50703         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
50704         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
50705         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
50706         Likewise.
50707         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
50708         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
50709         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
50710         Likewise.
50711         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
50712         (ibm_extended_long_double): Add ieee_nan member.
50713         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
50714         (do_test): New function.
50716         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
50717         TEST_TRUNC.
50718         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
50719         functions, renamed from truncdfsf_test, trunctfsf_test,
50720         trunctfdf_test.
50721         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
50722         functions.
50723         (do_test): Run all these.
50725 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
50727         * argp/argp-help.c: Fix typos.
50728         * argp/argp-parse.c: Likewise.
50729         * debug/backtracesyms.c: Likewise.
50730         * elf/elf.h: Likewise.
50731         * malloc/malloc.c: Likewise.
50732         * nis/nis_print.c: Likewise.
50733         * resolv/res_comp.c: Likewise.
50734         * stdlib/stdlib.h: Likewise.
50735         * sunrpc/clnt_tcp.c: Likewise.
50736         * sunrpc/clnt_udp.c: Likewise.
50737         * sunrpc/clnt_unix.c: Likewise.
50738         * sysdeps/unix/bsd/ptsname.c: Likewise.
50739         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
50740         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
50741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
50742         Likewise.
50743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
50744         Likewise.
50745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
50746         Likewise.
50747         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50749 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50751         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
50752         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
50754 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
50756         [BZ #15897]
50757         * dlfcn/Makefile (tests): Add bug-dl-leaf.
50758         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
50759         ($(objpfx)bug-dl-leaf): New rule.
50760         ($(objpfx)bug-dl-leaf.so): Likewise.
50761         ($(objpfx)bug-dl-leaf.out): Likewise.
50762         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
50763         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
50764         * dlfcn/bug-dl-leaf.c: New test.
50765         * dlfcn/bug-dl-leaf-lib.c: Likewise.
50766         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
50767         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
50768         (dlclose): Likewise.
50769         (dlmopen): Likewise.
50771 2013-08-27  Roland McGrath  <roland@hack.frob.com>
50773         * include/netdb.h [!_ISOMAC]:
50774         Don't include <tls.h>.
50775         (h_errno, __libc_h_errno): Move declaration and macros out of
50776         [_LIBC_REENTRANT].
50778         * include/resolv.h [_RESOLV_H_]:
50779         Don't include <tls.h>.
50780         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
50781         * resolv/res_libc.c: Don't include <tls.h>.
50782         (_res): Use __attribute__ ((nocommon)) in place of
50783         __attribute__ ((section (".bss"))).
50785         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
50786         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
50788         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
50790         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
50791         only under [SIOCGIFCONF && SIOCGIFNETMASK].
50793         * resolv/res_mkquery.c: Include <sys/time.h>.
50795         * inet/ifreq.c: Moved to ...
50796         * sysdeps/unix/ifreq.c: ... here.
50797         * inet/ifreq.c: New file, true stub version.
50799         * socket/sa_len.c: New file.
50800         * socket/Makefile (aux): Add it.
50801         * sysdeps/unix/sysv/linux/Makefile
50802         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
50803         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
50804         and #include <socket/sa_len.c>.
50805         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
50806         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
50808         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
50809         * bits/socket.h: ... here.
50811         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
50812         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
50813         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
50815 2013-08-27  Andreas Schwab  <schwab@suse.de>
50817         [BZ #15736]
50818         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
50819         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
50820         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
50821         * string/test-strcasecmp.c (test_main): Run tests in several
50822         locales.
50823         * string/test-strncasecmp.c (test_main): Likewise.
50825         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
50826         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
50827         to __strcasecmp_nonascii and __strncasecmp_nonascii.
50828         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
50829         (__strncasecmp_ssse3) [PIC]: Likewise.
50831 2013-08-26  Roland McGrath  <roland@hack.frob.com>
50833         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
50835         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
50836         instead of explicitly declaring xdecrypt.
50837         * nis/nss_nis/nis-publickey.c: Likewise.
50839 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50841         [BZ #15890]
50842         * nscd/aicache.c: Include res_hconf.h.
50843         (addhstaiX): Initialize res_hconf.
50845 2013-08-26  Andreas Schwab  <schwab@suse.de>
50847         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
50848         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
50850 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50852         * nscd/aicache.c (addhstaiX): Fix indentation.
50854 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
50856         * configure.ac: Quote $build_pt_chown test.
50857         * configure: Regenerated.
50859 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
50861         [BZ #15532]
50862         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
50863         * math/s_cexpf.c (__cexpf): Likewise.
50864         * math/s_cexpl.c (__cexpl): Likewise.
50865         * math/libm-test.inc (cexp_test_data): Correct expected return
50866         value for NaN + i0.  Add another test.
50868 2013-08-22  David S. Miller  <davem@davemloft.net>
50870         * po/ca.po: Update Catalan translation from translation project.
50871         * po/uk.po: Add Ukrainian translations from translation project.
50873 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
50875         [BZ #15797]
50876         * math/s_fdim.c (__fdim): Check for infinite arguments if result
50877         is infinite, not alongside NaN test.
50878         * math/s_fdimf.c (__fdimf): Likewise.
50879         * math/s_fdiml.c (__fdiml): Likewise.
50880         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
50881         errno is unchanged.
50883 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
50885         * argp/argp-help.c: Fix typos.
50886         * crypt/speeds.c: Likewise.
50887         * csu/check_fds.c: Likewise.
50888         * elf/dl-load.c: Likewise.
50889         * elf/dl-open.c: Likewise.
50890         * elf/reldep3.c: Likewise.
50891         * elf/reldep.c: Likewise.
50892         * elf/sprof.c: Likewise.
50893         * iconv/iconv_charmap.c: Likewise.
50894         * iconv/skeleton.c: Likewise.
50895         * iconv/strtab.c: Likewise.
50896         * io/lockf64.c: Likewise.
50897         * libio/libioP.h: Likewise.
50898         * resolv/gai_notify.c: Likewise.
50899         * resolv/ns_name.c: Likewise.
50900         * resolv/ns_samedomain.c: Likewise.
50901         * resolv/res_send.c: Likewise.
50902         * stdlib/random.c: Likewise.
50903         * sunrpc/rpc/xdr.h: Likewise.
50904         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
50905         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50906         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50907         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50908         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50909         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50910         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50911         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50912         * sysdeps/mach/hurd/check_fds.c: Likewise.
50913         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
50914         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
50915         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50916         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
50917         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50918         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
50919         * sysdeps/pthread/aio_notify.c: Likewise.
50920         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
50921         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
50922         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
50923         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
50924         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50926 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50928         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
50929         version if bit_Slow_SSE4_2 is set.
50930         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50931         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50933 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50935         [BZ #15867]
50936         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
50937         trampoline stack frame information.
50938         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
50939         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
50940         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
50941         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
50942         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
50943         * sysdeps/unix/sysv/linux/powerpc/init-first.c
50944         (_libc_vdso_platform_setup): Initialize the signal trampolines.
50945         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
50946         sa_flags value.
50947         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
50948         interrupting a syscall and set with option SA_SIGINFO.
50950 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50952         [BZ #15531]
50953         * math/s_cproj.c (__cproj): Only return an infinity if one part of
50954         argument is infinite.
50955         * math/s_cprojf.c (__cprojf): Likewise.
50956         * math/s_cprojl.c (__cprojl): Likewise.
50957         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
50958         * math/libm-test.inc (cproj_test_data): Add more tests.
50960         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
50962         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
50963         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
50964         size.  Use __ffs to determine corresponding shift.
50966 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
50967             Roland McGrath  <roland@hack.frob.com>
50969         * Makefile (INSTALL): Remove trailing blank lines from output of
50970         makeinfo.
50972 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50974         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50975         Align 32 bit compat elf_greg to 8 bytes.
50977 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
50979         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
50981 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50983         * string/strcoll_l.c (coll_seq): New structure.
50984         (get_next_seq_cached): New function.
50985         (get_next_seq): New function.
50986         (do_compare): New function.
50987         (STRCOLL): Use GNU style definition.  Simplify implementation
50988         by using get_next_seq, get_next_seq_cached and do_compare.
50990 2013-08-16  Florian Weimer  <fweimer@redhat.com>
50992         [BZ #14699]
50993         CVE-2013-4237
50994         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
50995         member.
50996         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
50997         member.
50998         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
50999         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
51000         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
51001         conditional.
51002         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
51003         GETDENTS_64BIT_ALIGNED.
51004         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
51005         * manual/filesys.texi (Reading/Closing Directory): Document
51006         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
51007         strongly.
51008         * manual/conf.texi (Limits for Files): Add portability note to
51009         NAME_MAX, PATH_MAX.
51010         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
51012 2013-08-13  Andreas Schwab  <schwab@suse.de>
51014         [BZ #15749]
51015         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
51016         of fabs.
51017         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
51018         LDBL_MAX_EXP >= 16384]: Add tests for it.
51020 2013-08-12  David S. Miller  <davem@davemloft.net>
51022         * version.h (RELEASE): Set to "development".
51023         (VERSION): Set to "2.18.90".
51024         * NEWS: Add 2.19 section.
51026 2013-08-03  David S. Miller  <davem@davemloft.net>
51028         * po/ko.po: Update Korean translation from translation project.
51030 2013-08-01  David S. Miller  <davem@davemloft.net>
51032         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
51033         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
51034         Bilka.
51036 2013-07-30  David S. Miller  <davem@davemloft.net>
51038         * po/fr.po: Update French translation from translation project.
51040 2013-07-28  David S. Miller  <davem@davemloft.net>
51042         * po/cs.po: Update Czech translation from translation project.
51044         * po/sv.po: Update Swedish translation from translation project.
51046 2013-07-27  David S. Miller  <davem@davemloft.net>
51048         * po/eo.po: Update Esperanto translation from translation project.
51050         * po/vi.po: Update Vietnamese translation from translation project.
51052         * po/de.po: Update German translation from translation project.
51054 2013-07-26  David S. Miller  <davem@davemloft.net>
51056         * po/bg.po: Update Bulgarian translation from translation project.
51058         * po/nl.po: Update Dutch translation from translation project.
51059         * po/pl.po: Update Polish translation from translation project.
51060         * po/ru.po: Update Russian translation from translation project.
51062 2013-07-24  David S. Miller  <davem@davemloft.net>
51064         * po/libc.pot: Update.
51066 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51068         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
51069         variable page size.
51070         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
51071         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
51072         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
51074 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51076         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
51078 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51079             Andreas Schwab  <schwab@suse.de>
51080             Roland McGrath  <roland@hack.frob.com>
51081             Joseph Myers  <joseph@codesourcery.com>
51082             Carlos O'Donell  <carlos@redhat.com>
51084         [BZ #15755]
51085         * config.h.in: Define HAVE_PT_CHOWN.
51086         * config.make.in (build-pt-chown): New variable.
51087         * configure.in (--enable-pt_chown): New configure option.
51088         * configure: Regenerate.
51089         * login/Makefile: Include Makeconfig.  Build pt_chown only if
51090         build-pt-chown is enabled.
51091         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
51092         pt_chown to fix pty ownership.
51093         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
51094         CLOSE_ALL_FDS.
51095         * manual/install.texi (Configuring and compiling): Mention
51096         --enable-pt_chown. Add @findex for grantpt.
51097         * INSTALL: Regenerate.
51099 2013-07-20  David S. Miller  <davem@davemloft.net>
51101         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
51102         difference between 32-bit and 64-bit.
51104 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
51106         [BZ #15711]
51107         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
51108         Avoid system header dependency with -ffreestanding.
51109         ($(objpfx)bits/syscall%d): Likewise.
51111 2013-07-13  David S. Miller  <davem@davemloft.net>
51113         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
51114         underflows from atanl/atan2l due to bug 15319.
51115         (casinh_test_data): Likewise.
51117 2013-07-07  David S. Miller  <davem@davemloft.net>
51119         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
51121 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
51123         * sysdeps/i386/fpu/libm-test-ulps: Update.
51124         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51126 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
51128         * configure.in (--enable-lock-elision): Fix message text.
51129         * INSTALL: Regenerate.
51130         * configure: Regenerate.
51132 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51136 2013-07-03  Andreas Jaeger  <aj@suse.de>
51138         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
51139         define.
51140         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
51141         (ptrace_peeksiginfo_args): Add.
51142         (__ptrace_peeksiginfo_flags): Add.
51143         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51144         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51145         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51147 2013-07-03  Allan McRae  <allan@archlinux.org>
51149         * sysdeps/i386/fpu/libm-test-ulps: Update.
51151 2013-07-02  David S. Miller  <davem@davemloft.net>
51153         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51155 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
51157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51159 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51161         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
51162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51164 2013-07-02  Andi Kleen <ak@linux.intel.com>
51166         * config.h.in (ENABLE_LOCK_ELISION): Add.
51167         * configure.in (--enable-lock-elision): Add option.
51168         * manual/install.texi: Document --enable lock elision.
51169         * configure: Regenerate
51170         * INSTALL: Regenerate.
51172 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
51174         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
51175         SSE4.2 strcasecmp for libc.a.
51176         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
51178 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
51180         [BZ #13304]
51181         * soft-fp/op-common.h (_FP_FMA): New macro.
51182         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
51183         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
51184         (_FP_MUL_MEAT_1_imm): ... here.
51185         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
51186         (_FP_MUL_MEAT_1_wide): ... here.
51187         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
51188         (_FP_MUL_MEAT_1_hard): ... here.
51189         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
51190         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
51191         (_FP_MUL_MEAT_2_wide): ... here.
51192         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
51193         (_FP_MUL_MEAT_2_wide_3mul): ... here.
51194         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
51195         (_FP_MUL_MEAT_2_gmp): ... here.
51196         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
51197         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
51198         (_FP_MUL_MEAT_4_wide): ... here.
51199         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
51200         (_FP_MUL_MEAT_4_gmp): ... here.
51201         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
51202         (_FP_WFRACBITS_DW_S): Likewise.
51203         (_FP_WFRACXBITS_DW_S): Likewise.
51204         (_FP_HIGHBIT_DW_S): Likewise.
51205         (FP_FMA_S): Likewise.
51206         (_FP_FRAC_HIGH_DW_S): Likewise.
51207         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
51208         (_FP_WFRACBITS_DW_D): Likewise.
51209         (_FP_WFRACXBITS_DW_D): Likewise.
51210         (_FP_HIGHBIT_DW_D): Likewise.
51211         (FP_FMA_D): Likewise.
51212         (_FP_FRAC_HIGH_DW_D): Likewise.
51213         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
51214         (_FP_WFRACBITS_DW_E): Likewise.
51215         (_FP_WFRACXBITS_DW_E): Likewise.
51216         (_FP_HIGHBIT_DW_E): Likewise.
51217         (FP_FMA_E): Likewise.
51218         (_FP_FRAC_HIGH_DW_E): Likewise.
51219         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
51220         (_FP_WFRACBITS_DW_Q): Likewise.
51221         (_FP_WFRACXBITS_DW_Q): Likewise.
51222         (_FP_HIGHBIT_DW_Q): Likewise.
51223         (FP_FMA_Q): Likewise.
51224         (_FP_FRAC_HIGH_DW_Q): Likewise.
51225         * soft-fp/fmasf4.c: New file.
51226         * soft-fp/fmadf4.c: Likewise.
51227         * soft-fp/fmatf4.c: Likewise.
51229 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51231         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
51232         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
51233         Silvermont.
51234         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
51235         macro.
51236         (index_Slow_SSE4_2): Likewise.
51237         (index_Prefer_PMINUB_for_stringop): Likewise.
51238         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
51239         bit_Slow_SSE4_2 is set.
51240         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
51241         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
51243 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51245         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
51246         rtld_global._dl_hwcap2.
51247         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
51248         POWER8.
51249         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
51250         POWER8 feature descriptions defined in _dl_hwcap2.
51251         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
51252         string handling for POWER8 feature bits.
51253         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
51254         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
51255         _dl_powerpc_cap_flags.
51256         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
51257         * sysdeps/powerpc/rtld-global-offsets.sym
51258         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
51259         _dl_hwcap2 in the rtld_global_ro structure.
51261 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51263         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
51264         hardware capabilities in support of AT_HWCAP2.
51265         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
51266         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
51267         GLRO(dl_hwcap2).
51268         (_dl_show_auxv): Add support for calling _dl_procinfo to display
51269         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
51270         explicitly the unknown a_type display mechanism is used.
51271         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
51272         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
51273         struct member.
51274         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
51275         to macro prototype for AT_HWCAP2 support.
51276         * sysdeps/i386/dl-procinfo.h: Likewise.
51277         * sysdeps/s390/dl-procinfo.h: Likewise.
51278         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
51279         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
51280         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
51281         return -1 for unknown a_type display fallback.
51282         * sysdeps/sparc/dl-procinfo.h: Likewise.
51283         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
51284         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
51286 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
51288         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
51289         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
51291 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
51293         [BZ #12492]
51294         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
51295         mprotect making __stack_prot writable.
51297 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
51298             Joseph Myers  <joseph@codesourcery.com>
51300         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
51301         as being properly aligned.
51303 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
51305         * dlfcn/modstatic5.c: New file.
51306         * dlfcn/tststatic5.c: New file.
51307         * dlfcn/Makefile (tests): Add tststatic5.
51308         (tests-static): Likewise.
51309         (modules-names): Add modstatic5.
51310         (tststatic5-ENV): New variable.
51311         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
51313         [BZ #15022]
51314         * elf/dl-support.c (_dl_main_map): New variable.
51315         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
51316         (_dl_nns, _dl_load_adds): Set to 1.
51317         (_dl_initial_searchlist): Refer to _dl_main_map.
51318         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
51319         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
51320         call to _dl_get_origin.
51321         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
51322         around call_map.
51323         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
51324         * dlfcn/modstatic3.c: New file.
51325         * dlfcn/tststatic3.c: New file.
51326         * dlfcn/tststatic4.c: New file.
51327         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
51328         (tests-static): Likewise.
51329         (modules-names): Add modstatic3.
51330         (tststatic3-ENV, tststatic4-ENV): New variables.
51331         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
51332         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
51334 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
51336         * configure.in (CC): Require GCC version 4.4 or later.
51337         * configure: Regenerated.
51338         * manual/install.texi (Tools for Compilation): Update GCC version
51339         requirement.
51340         * INSTALL: Regenerated.
51342 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51344         [BZ #15674]
51345         * string/test-memcmp.c (check2): New.
51346         (main): Call check2.
51348         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
51350 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
51352         [BZ #15022]
51353         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
51354         over to...
51355         (dl_open_worker) [!SHARED]: ... here.
51357 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51359         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
51361 2013-06-25  Richard Henderson  <rth@redhat.com>
51363         * locale/programs/locarchive.c: Include <libc-internal.h>
51365 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
51367         * manual/texinfo.tex: Update to version 2013-06-21.17, with
51368         trailing whitespace removed.
51370 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51372         [BZ #10283]
51373         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
51374         * locale/programs/locarchive.c: Include libc-mmap.h.
51375         (prepare_address_space): Take two new outputs (the mmap base and len).
51376         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
51377         values.
51378         (create_archive): Declare new mmap base and len values for
51379         prepare_address_space, and store the result in ah.
51380         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
51381         (enlarge_archive): If ah->mmap_base is not NULL, use that and
51382         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51383         Declare new mmap base and len values for
51384         prepare_address_space, and store the result in new_ah.
51385         (open_archive): Declare new mmap base and len values for
51386         prepare_address_space, and store the result in ah.
51387         (close_archive): If ah->mmap_base is not NULL, use that and
51388         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
51389         * sysdeps/generic/libc-mmap.h: New file.
51391 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
51393         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
51394         (ALIGN_UP): Likewise.
51395         (PTR_ALIGN_DOWN): Likewise.
51396         (PTR_ALIGN_UP): Likewise.
51398 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51400         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
51401         entry mapped to PPC_PLATFORM_POWER8.
51402         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
51403         POWER8.
51404         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
51405         (_dl_string_platform): Add case for exporting platform position for
51406         POWER8.
51407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
51408         search path to sysdeps/powerpc/powerpc32/power8 directory.
51409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
51410         search path to sysdeps/powerpc/powerpc64/power8 directory.
51411         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
51412         power7 directories.
51413         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
51414         power7 directories.
51416 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51418         * INSTALL: Regenerate.
51420         * nscd/connections.c (nscd_init): Fix comment.
51422 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
51424         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
51426         [BZ #15667]
51427         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
51428         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
51430 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51432         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
51433         DL_DST_REQ_STATIC.
51434         (DL_DST_REQ_STATIC): Remove macro.
51436 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
51438         [BZ #7006]
51439         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
51440         with a shift of 0 bits.
51442 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
51444         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
51445         $(tststatic-ENV).
51447 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
51449         [BZ #15655]
51450         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
51452 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51454         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
51455         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
51456         accepts -fno-tree-loop-distribute-patterns.
51457         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
51458         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
51459         recursive call.
51460         * string/memset.c (memset): Likewise.
51461         * string/test-memmove.c (simple_memmove): Disable loop transformation
51462         to library calls.
51463         * string/test-memset.c (simple_memset): Likewise.
51464         * benchtests/bench-memmove.c (simple_memmove): Likewise.
51465         * benchtests/bench-memset.c (simple_memset): Likewise.
51466         * configure: Regenerated.
51468 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
51470         * math/test-misc.c (main): Ignore fesetround failure when failures
51471         of subsequent rounding tests would be ignored.
51473         [BZ #15654]
51474         * math/fedisblxcpt.c (fedisableexcept): Return 0.
51475         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
51476         * math/fegetenv.c (__fegetenv): Return 0.
51477         * math/fegetexcept.c (fegetexcept): Return 0.
51478         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
51479         FE_TONEAREST.
51480         * math/feholdexcpt.c (feholdexcept): Return 0.
51481         * math/fesetenv.c (__fesetenv): Return 0.
51482         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
51483         argument FE_TONEAREST.
51484         * math/feupdateenv.c (__feupdateenv): Return 0.
51485         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
51487 2013-06-18  Roland McGrath  <roland@hack.frob.com>
51489         * elf/rtld-Rules (rtld-compile-command.S): New variable.
51490         (rtld-compile-command.s, rtld-compile-command.c): New variables.
51491         ($(objpfx)rtld-%.os rules): Use them.
51493 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51495         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
51496         fields.
51498 2013-06-17  Roland McGrath  <roland@hack.frob.com>
51500         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
51501         length of target pattern, then descending length of dependency pattern.
51502         * configure.in (AWK): Require gawk 3.1.2 or newer.
51503         * manual/install.texi (Tools for Compilation): Say that we do.
51504         * configure: Regenerated.
51506         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
51507         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
51508         * scripts/sysd-rules.awk: ... this new script.
51509         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
51510         than a glob-style pattern.
51512 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
51514         * math/test-misc.c (main): Do not treat incorrectly rounded
51515         conversions as failure unless ROUNDING_TESTS passes.
51517 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
51519         [BZ #15631]
51520         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
51521         restore exception state around main square root computation, then
51522         check for inexactness explicitly.
51524         * math/libm-test.inc (fma_test_data): Add another test.
51526 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51528         * manual/threads.texi (Non-POSIX Extensions): New document
51529         node.  Document pthread_getattr_default_np and
51530         pthread_setattr_default_np.
51532         * Versions.def (libpthread): Add GLIBC_2.18.
51533         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
51534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
51535         Likewise.
51536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
51537         Likewise.
51538         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51539         Likewise.
51540         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51541         Likewise.
51542         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
51543         Likewise.
51544         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
51545         Likewise.
51546         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
51547         Likewise.
51548         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
51549         Likewise.
51550         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51551         Likewise.
51553 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51555         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51556         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
51558 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
51559             H.J. Lu  <hjl.tools@gmail.com>
51561         [BZ #15627]
51562         * sysdeps/x86_64/rtld-memset.c: Remove file.
51563         * sysdeps/x86_64/rtld-memset.S: New file.
51565 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
51567         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
51568         (test_in_one_mode): Take arguments for whether the rounding mode
51569         is supported for each floating-point type.
51570         (do_test): Pass new arguments to test_in_one_mode using
51571         ROUNDING_TESTS.
51573 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51575         * posix/tst-waitid.c (do_test): Distinguish different instances of
51576         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
51577         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
51578         before entering the kernel for waitpid.
51580 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51582         * NEWS: Fix note on clock function precision.  Text by Roland
51583         McGrath.
51585 2013-06-13  Roland McGrath  <roland@hack.frob.com>
51587         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
51588         it into place only when and if the sanity check passes.
51590 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
51592         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
51593         output for whether conversion result is exact.  Take argument
51594         indicating whether type is IBM long double.
51595         (round_for_all): Change need_exact field to ibm_ld.
51596         * stdlib/tst-strtod-round.c (struct exactness): New type.
51597         (struct test): Change bool ld_ok field to struct exactness exact.
51598         (TEST): Update all definitions for change to field.
51599         (tests): Regenerate array contents.
51600         (test_in_one_mode): Take pointer to new field instead of old ld_ok
51601         field value.  Check for IBM long double here.
51602         (do_test): Update calls to test_in_one_mode.
51604 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
51606         [BZ #12515]
51607         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
51608         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
51610 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51612         [BZ #15605]
51613         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
51614         generated by the compiler on loop optimizations.
51615         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
51616         general definitions.
51618 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
51620         * math/bug-nextafter.c: Include <math-tests.h>.
51621         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51622         the relevant type.
51623         * math/bug-nexttoward.c: Include <math-tests.h>.
51624         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51625         the relevant type.
51626         * math/test-misc.c: Include <math-tests.h>.
51627         (main): Only test for exceptions if EXCEPTION_TESTS is true for
51628         the relevant type.
51630 2013-06-12  Andreas Jaeger  <aj@suse.de>
51632         * po/ia.po: Update Interlingua translation from translation
51633         project.
51635 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51637         * include/fenv.h: Include stdbool.h.
51638         (struct rm_ctx): New structure.
51639         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
51640         Define macro.
51641         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
51642         (SET_RESTORE_ROUNDF): Likewise.
51643         (SET_RESTORE_ROUNDL): Likewise.
51644         (SET_RESTORE_ROUND_NOEX): Likewise.
51645         (SET_RESTORE_ROUND_NOEXF): Likewise.
51646         (SET_RESTORE_ROUND_NOEXL): Likewise.
51647         (SET_RESTORE_ROUND_53BIT): Likewise.
51648         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
51649         (libc_feresetround_noexf_ctx): Likewise.
51650         (libc_feresetround_noexl_ctx): Likewise.
51651         (libc_feholdsetround_53bit_ctx): Likewise.
51652         (libc_feresetround_53bit_ctx): Likewise.
51653         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
51654         (libc_feholdexcept_setround_sse_ctx): New function.
51655         (libc_fesetenv_sse_ctx): Likewise.
51656         (libc_feupdateenv_sse_ctx): Likewise.
51657         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
51658         (libc_feholdexcept_setround_387_ctx): Likewise.
51659         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
51660         (libc_feholdsetround_387_prec_ctx): Likewise.
51661         (libc_feholdsetround_387_ctx): Likewise.
51662         (libc_feholdsetround_387_53bit_ctx): Likewise.
51663         (libc_feholdsetround_sse_ctx): Likewise.
51664         (libc_feresetround_sse_ctx): Likewise.
51665         (libc_feresetround_387_ctx): Likewise.
51666         (libc_feupdateenv_387_ctx): Likewise.
51667         (libc_feholdexcept_setroundf_ctx): Define macro.
51668         (libc_fesetenvf_ctx): Likewise.
51669         (libc_feupdateenvf_ctx): Likewise.
51670         (libc_feholdsetroundf_ctx): Likewise.
51671         (libc_feresetroundf_ctx): Likewise.
51672         (libc_feholdexcept_setround_ctx): Likewise.
51673         (libc_fesetenv_ctx): Likewise.
51674         (libc_feupdateenv_ctx): Likewise.
51675         (libc_feholdsetround_ctx): Likewise.
51676         (libc_feresetround_ctx): Likewise.
51677         (libc_feholdexcept_setroundl_ctx): Likewise.
51678         (libc_feupdateenvl_ctx): Likewise.
51679         (libc_feholdsetroundl_ctx): Likewise.
51680         (libc_feresetroundl_ctx): Likewise.
51681         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
51682         (libc_feresetround_53bit_ctx): Likewise.
51684 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51686         * locale/iso-639.def: Convert to UTF-8.
51688 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
51690         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
51691         (EXCEPTION_TESTS_double): Likewise.
51692         (EXCEPTION_TESTS_long_double): Likewise.
51693         (EXCEPTION_TESTS): Likewise.
51694         * math/libm-test.inc (test_exceptions): Only test exceptions if
51695         EXCEPTION_TESTS (FLOAT).
51697 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51699         * benchtests/Makefile (string-bench): Add strcpy_chk and
51700         stpcpy_chk.
51701         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
51702         * benchtests/bench-stpcpy_chk.c: New file.
51703         * benchtests/bench-strcpy_chk-ifunc.c: New file.
51704         * benchtests/bench-strcpy_chk.c: New file.
51705         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
51706         code.
51707         (do_test): Likewise.
51709 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51711         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
51712         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
51713         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
51714         with tabs where appropriate.
51715         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
51716         dl-procinfo.h.
51717         [PPC_PLATFORM_PPC440]: Likewise.
51718         [PPC_PLATFORM_PPC464]: Likewise.
51719         [PPC_PLATFORM_PPC476]: Likewise.
51720         (_dl_string_platform): Add support for detecting ppc405, ppc440,
51721         ppc464, and ppc476 platform strings merging from ports/
51722         dl-procinfo.h.
51724 2013-06-11  Andreas Schwab  <schwab@suse.de>
51726         [BZ #14991]
51727         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
51728         (from_ucs4_idx): Regenerate.
51729         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
51730         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
51731         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
51732         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
51733         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
51734         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
51735         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
51736         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
51737         from FROM_LOOP and TO_LOOP specific macros.
51738         (BODY): Handle combining characters.
51739         * iconvdata/BIG5HKSCS.irreversible: Update.
51740         * iconvdata/BIG5HKSCS.precomposed: New file.
51741         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
51742         characters.
51743         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
51745 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51747         * include/sys/time.h: Fix indentation and add copyright header.
51749         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
51750         (do_test): Likewise.
51751         * string/test-memchr.c (do_one_test): Likewise.
51752         (do_test): Likewise.
51753         * string/test-memcmp.c (do_one_test): Likewise.
51754         (do_test): Likewise.
51755         * string/test-memcpy.c (do_one_test): Likewise.
51756         (do_test): Likewise.
51757         * string/test-memmem.c (do_one_test): Likewise.
51758         (do_test): Likewise.
51759         (do_random_tests): Likewise.
51760         * string/test-memmove.c (do_one_test): Likewise.
51761         (do_test): Likewise.
51762         * string/test-memset.c (do_one_test): Likewise.
51763         (do_test): Likewise.
51764         * string/test-rawmemchr.c (do_one_test): Likewise.
51765         (do_test): Likewise.
51766         * string/test-strcasecmp.c (do_one_test): Likewise.
51767         (do_test): Likewise.
51768         * string/test-strcasestr.c (do_one_test): Likewise.
51769         (do_test): Likewise.
51770         * string/test-strcat.c (do_one_test): Likewise.
51771         (do_test): Likewise.
51772         * string/test-strchr.c (do_one_test): Likewise.
51773         (do_test): Likewise.
51774         * string/test-strcmp.c (do_one_test): Likewise.
51775         (do_test): Likewise.
51776         * string/test-strcpy.c (do_one_test): Likewise.
51777         (do_test): Likewise.
51778         * string/test-string.h: Likewise.
51779         (test_init): Likewise.
51780         * string/test-strlen.c (do_one_test): Likewise.
51781         (do_test): Likewise.
51782         * string/test-strncasecmp.c (do_one_test): Likewise.
51783         (do_test): Likewise.
51784         * string/test-strncat.c (do_one_test): Likewise.
51785         (do_test): Likewise.
51786         * string/test-strncmp.c (do_one_test): Likewise.
51787         (do_test_limit): Likewise.
51788         (do_test): Likewise.
51789         * string/test-strncpy.c (do_one_test): Likewise.
51790         (do_test): Likewise.
51791         * string/test-strnlen.c (do_one_test): Likewise.
51792         (do_test): Likewise.
51793         * string/test-strpbrk.c (do_one_test): Likewise.
51794         (do_test): Likewise.
51795         * string/test-strrchr.c (do_one_test): Likewise.
51796         (do_test): Likewise.
51797         * string/test-strspn.c (do_one_test): Likewise.
51798         (do_test): Likewise.
51799         * string/test-strstr.c (do_one_test): Likewise.
51800         (do_test): Likewise.
51802         * benchtests/Makefile (string-bench): Add string benchmarks.
51803         * benchtests/bench-bcopy-ifunc.c: New file.
51804         * benchtests/bench-bcopy.c: New file.
51805         * benchtests/bench-bzero-ifunc.c: New file.
51806         * benchtests/bench-bzero.c: New file.
51807         * benchtests/bench-memccpy-ifunc.c: New file.
51808         * benchtests/bench-memccpy.c: New file.
51809         * benchtests/bench-memchr-ifunc.c: New file.
51810         * benchtests/bench-memchr.c: New file.
51811         * benchtests/bench-memcmp-ifunc.c: New file.
51812         * benchtests/bench-memcmp.c: New file.
51813         * benchtests/bench-memmem-ifunc.c: New file.
51814         * benchtests/bench-memmem.c: New file.
51815         * benchtests/bench-memmove-ifunc.c: New file.
51816         * benchtests/bench-memmove.c: New file.
51817         * benchtests/bench-mempcpy-ifunc.c: New file.
51818         * benchtests/bench-mempcpy.c: New file.
51819         * benchtests/bench-memset-ifunc.c: New file.
51820         * benchtests/bench-memset.c: New file.
51821         * benchtests/bench-rawmemchr-ifunc.c: New file.
51822         * benchtests/bench-rawmemchr.c: New file.
51823         * benchtests/bench-stpcpy-ifunc.c: New file.
51824         * benchtests/bench-stpcpy.c: New file.
51825         * benchtests/bench-stpncpy-ifunc.c: New file.
51826         * benchtests/bench-stpncpy.c: New file.
51827         * benchtests/bench-strcasecmp-ifunc.c: New file.
51828         * benchtests/bench-strcasecmp.c: New file.
51829         * benchtests/bench-strcasestr-ifunc.c: New file.
51830         * benchtests/bench-strcasestr.c: New file.
51831         * benchtests/bench-strcat-ifunc.c: New file.
51832         * benchtests/bench-strcat.c: New file.
51833         * benchtests/bench-strchr-ifunc.c: New file.
51834         * benchtests/bench-strchr.c: New file.
51835         * benchtests/bench-strchrnul-ifunc.c: New file.
51836         * benchtests/bench-strchrnul.c: New file.
51837         * benchtests/bench-strcmp-ifunc.c: New file.
51838         * benchtests/bench-strcmp.c: New file.
51839         * benchtests/bench-strcpy-ifunc.c: New file.
51840         * benchtests/bench-strcpy.c: New file.
51841         * benchtests/bench-strcspn-ifunc.c: New file.
51842         * benchtests/bench-strcspn.c: New file.
51843         * benchtests/bench-strlen-ifunc.c: New file.
51844         * benchtests/bench-strlen.c: New file.
51845         * benchtests/bench-strncasecmp-ifunc.c: New file.
51846         * benchtests/bench-strncasecmp.c: New file.
51847         * benchtests/bench-strncat-ifunc.c: New file.
51848         * benchtests/bench-strncat.c: New file.
51849         * benchtests/bench-strncmp-ifunc.c: New file.
51850         * benchtests/bench-strncmp.c: New file.
51851         * benchtests/bench-strncpy-ifunc.c: New file.
51852         * benchtests/bench-strncpy.c: New file.
51853         * benchtests/bench-strnlen-ifunc.c: New file.
51854         * benchtests/bench-strnlen.c: New file.
51855         * benchtests/bench-strpbrk-ifunc.c: New file.
51856         * benchtests/bench-strpbrk.c: New file.
51857         * benchtests/bench-strrchr-ifunc.c: New file.
51858         * benchtests/bench-strrchr.c: New file.
51859         * benchtests/bench-strspn-ifunc.c: New file.
51860         * benchtests/bench-strspn.c: New file.
51861         * benchtests/bench-strstr-ifunc.c: New file.
51862         * benchtests/bench-strstr.c: New file.
51864         * benchtests/Makefile: Disable parallel execution of targets.
51865         (string-bench): Add memcpy.
51866         (benchset): New variable to store a list of benchmark sets.
51867         (bench-func): Renamed from bench.
51868         (bench-set): New target.
51869         (bench): Depend on bench-func and bench-set.
51870         * benchtests/README: Add section on benchmark sets.
51871         * benchtests/bench-memcpy-ifunc.c: New file.
51872         * benchtests/bench-memcpy.c: New file.
51873         * benchtests/bench-string.h: New file.
51875 2013-06-11  Andreas Schwab  <schwab@suse.de>
51877         [BZ #15577]
51878         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
51879         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
51880         values in the triple.
51881         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
51882         terminator in the group key.
51884 2013-06-11  Andreas Jaeger  <aj@suse.de>
51886         * po/zh_TW.po: Update Chinese (traditional) translation from
51887         translation project.
51889 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51891         * include/time.h (__clock_gettime): Add libc_hidden_proto.
51892         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
51893         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
51894         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
51895         (clock_getcpuclockid): Likewise.
51896         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
51897         Add weak_alias and libc_hidden_def.
51898         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
51899         * rt/clock_gettime.c (clock_gettime): Rename to
51900         __clock_gettime.  Add weak_alias and libc_hidden_def.
51901         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
51902         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
51903         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
51904         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
51905         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
51906         Likewise.
51907         * rt/clock_settime.c (clock_settime): Rename to
51908         __clock_settime.  Add weak_alias and libc_hidden_def.
51909         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
51911 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
51913         * mach/err_boot.sub: Remove trailing whitespace.
51914         * mach/err_ipc.sub: Likewise.
51915         * mach/err_mach.sub: Likewise.
51917         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
51918         (ROUNDING_TESTS_double): Likewise.
51919         (ROUNDING_TESTS_long_double): Likewise.
51920         (ROUNDING_TESTS): Likewise.
51921         * math/libm-test.inc: Include <math-tests.h>.
51922         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
51923         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
51924         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
51925         (IF_ROUND_INIT_FE_UPWARD): Likewise.
51927 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51929         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
51930         of assigning.
51932 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
51934         * sysdeps/gnu/errlist.awk: Do not generate space at end of
51935         otherwise empty TRANS lines.
51936         * sysdeps/gnu/errlist.c: Regenerated.
51938         * catgets/gencat.c (error_print): Use (void) in function
51939         definition.
51940         * crypt/crypt_util.c (__init_des): Likewise.
51941         * crypt/speeds.c (Stop): Likewise.
51942         (main): Likewise.
51943         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
51944         * inet/ruserpass.c (token): Likewise.
51945         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
51946         * intl/localealias.c (extend_alias_table): Likewise.
51947         * intl/plural-exp.c (init_germanic_plural): Likewise.
51948         * libio/fcloseall.c (__fcloseall): Likewise.
51949         * libio/genops.c (_IO_flush_all): Likewise.
51950         (_IO_flush_all_linebuffered): Likewise.
51951         (_IO_cleanup): Likewise.
51952         (_IO_iter_begin): Likewise.
51953         (_IO_iter_end): Likewise.
51954         (_IO_list_lock): Likewise.
51955         (_IO_list_unlock): Likewise.
51956         (_IO_list_resetlock): Likewise.
51957         * libio/getchar.c (getchar): Likewise.
51958         * libio/getchar_u.c (getchar_unlocked): Likewise.
51959         * libio/getwchar.c (getwchar): Likewise.
51960         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
51961         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
51962         * login/getpt.c (__getpt): Likewise.
51963         * login/tst-utmp.c (main): Likewise.
51964         * malloc/hooks.c (__malloc_check_init): Likewise.
51965         * malloc/malloc.c (__malloc_stats): Likewise.
51966         * malloc/mtrace.c (tr_break): Likewise.
51967         (mtrace): Likewise.
51968         (muntrace): Likewise.
51969         * misc/fstab.c (endfsent): Likewise.
51970         * misc/getclktck.c (__getclktck): Likewise.
51971         * misc/getdtsz.c (__getdtablesize): Likewise.
51972         * misc/gethostid.c (gethostid): Likewise.
51973         * misc/getpagesize.c (__getpagesize): Likewise.
51974         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
51975         (__get_nprocs): Likewise.
51976         (__get_phys_pages): Likewise.
51977         (__get_avphys_pages): Likewise.
51978         * misc/getttyent.c (getttyent): Likewise.
51979         (setttyent): Likewise.
51980         (endttyent): Likewise.
51981         * misc/getusershell.c (getusershell): Likewise.
51982         (endusershell): Likewise.
51983         (setusershell): Likewise.
51984         (initshells): Likewise.
51985         * misc/hsearch.c (__hdestroy): Likewise.
51986         * misc/sync.c (sync): Likewise.
51987         * misc/syslog.c (closelog_internal): Likewise.
51988         (closelog): Likewise.
51989         * misc/ttyslot.c (ttyslot): Likewise.
51990         * misc/vhangup.c (vhangup): Likewise.
51991         * posix/fork.c (__fork): Likewise.
51992         * posix/getegid.c (__getegid): Likewise.
51993         * posix/geteuid.c (__geteuid): Likewise.
51994         * posix/getgid.c (__getgid): Likewise.
51995         * posix/getpid.c (__getpid): Likewise.
51996         * posix/getppid.c (__getppid): Likewise.
51997         * posix/getuid.c (__getuid): Likewise.
51998         * posix/pause.c (pause): Likewise.
51999         * posix/setpgrp.c (setpgrp): Likewise.
52000         * posix/setsid.c (__setsid): Likewise.
52001         * posix/test-vfork.c (noop): Likewise.
52002         * resolv/gethnamaddr.c (_endhtent): Likewise.
52003         (_gethtent): Likewise.
52004         (ht_endhostent): Likewise.
52005         (gethostent): Likewise.
52006         (dns_service): Likewise.
52007         * stdlib/drand48.c (drand48): Likewise.
52008         * stdlib/lrand48.c (lrand48): Likewise.
52009         * stdlib/mrand48.c (mrand48): Likewise.
52010         * stdlib/rand.c (rand): Likewise.
52011         * stdlib/random.c (__random): Likewise.
52012         * stdlib/setenv.c (clearenv): Likewise.
52013         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
52014         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
52015         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
52016         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
52017         (__get_nprocs): Likewise.
52018         (__get_phys_pages): Likewise.
52019         (__get_avphys_pages): Likewise.
52020         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
52021         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
52022         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
52023         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
52024         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
52025         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
52026         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
52027         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
52028         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
52029         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
52030         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
52031         * sysdeps/mach/hurd/sync.c (sync): Likewise.
52032         * sysdeps/posix/clock.c (clock): Likewise.
52033         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
52034         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
52035         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
52036         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
52037         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
52038         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
52039         (__get_nprocs_conf): Likewise.
52040         (__get_phys_pages): Likewise.
52041         (__get_avphys_pages): Likewise.
52042         * time/clock.c (clock): Likewise.
52043         * time/tzset.c (__tzname_max): Likewise.
52045 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
52047         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
52048         (__bswap_32): Do not use "register".
52049         * crypt/crypt.c (_ufc_doit_r): Likewise.
52050         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
52051         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
52052         * gmon/gmon.c (__monstartup): Likewise.
52053         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
52054         * hurd/hurdmalloc.c (more_memory): Likewise.
52055         (malloc): Likewise.
52056         (free): Likewise.
52057         (realloc): Likewise.
52058         (malloc_fork_prepare): Likewise.
52059         (malloc_fork_parent): Likewise.
52060         (malloc_fork_child): Likewise.
52061         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
52062         (_svcauth_des): Likewise.
52063         * inet/inet_lnaof.c (inet_lnaof): Likewise.
52064         * inet/inet_net.c (inet_network): Likewise.
52065         * inet/inet_netof.c (inet_netof): Likewise.
52066         * inet/rcmd.c (__validuser2_sa): Likewise.
52067         * io/fts.c (fts_open): Likewise.
52068         (fts_load): Likewise.
52069         (fts_close): Likewise.
52070         (fts_read): Likewise.
52071         (fts_children): Likewise.
52072         (fts_build): Likewise.
52073         (fts_stat): Likewise.
52074         (fts_sort): Likewise.
52075         (fts_alloc): Likewise.
52076         (fts_lfree): Likewise.
52077         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
52078         (_IO_file_xsgetn): Likewise.
52079         (_IO_file_xsgetn_mmap): Likewise.
52080         * libio/iofopncook.c (_IO_cookie_read): Likewise.
52081         (_IO_cookie_write): Likewise.
52082         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
52083         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
52084         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
52085         * malloc/obstack.c (_obstack_begin): Likewise.
52086         (_obstack_begin_1): Likewise.
52087         (_obstack_newchunk): Likewise.
52088         (_obstack_allocated_p): Likewise.
52089         (obstack_free): Likewise.
52090         (_obstack_memory_used): Likewise.
52091         * misc/getttyent.c (getttynam): Likewise.
52092         (getttyent): Likewise.
52093         (skip): Likewise.
52094         (value): Likewise.
52095         * misc/getusershell.c (initshells): Likewise.
52096         * misc/syslog.c (__vsyslog_chk): Likewise.
52097         * misc/ttyslot.c (ttyslot): Likewise.
52098         * nis/nis_hash.c (__nis_hash): Likewise.
52099         * posix/fnmatch_loop.c (FCT): Likewise.
52100         * posix/getconf.c (print_all): Likewise.
52101         (main): Likewise.
52102         * posix/getopt.c (exchange): Likewise.
52103         * posix/glob.c (globfree): Likewise.
52104         (prefix_array): Likewise.
52105         (__glob_pattern_type): Likewise.
52106         * resolv/arpa/nameser.h (NS_GET16): Likewise.
52107         (NS_GET32): Likewise.
52108         (NS_PUT16): Likewise.
52109         (NS_PUT32): Likewise.
52110         * resolv/gethnamaddr.c (getanswer): Likewise.
52111         (gethostbyname2): Likewise.
52112         (gethostbyaddr): Likewise.
52113         (_gethtent): Likewise.
52114         (_gethtbyname2): Likewise.
52115         (_gethtbyaddr): Likewise.
52116         * resolv/ns_print.c (dst_s_get_int16): Likewise.
52117         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
52118         * resolv/res_init.c (__res_vinit): Likewise.
52119         (net_mask): Likewise.
52120         * resolv/res_mkquery.c (outchar): Likewise.
52121         (PRINT): Likewise.
52122         * stdio-common/printf_fp.c (outchar): Likewise.
52123         (PRINT): Likewise.
52124         * stdio-common/printf_fphex.c (outchar): Likewise.
52125         (PRINT): Likewise.
52126         * stdio-common/printf_size.c (outchar): Likewise.
52127         (PRINT): Likewise.
52128         * stdio-common/test_rdwr.c (main): Likewise.
52129         * stdio-common/tfformat.c (matches): Likewise.
52130         * stdio-common/vfprintf.c (outchar): Likewise.
52131         (printf_unknown): Likewise.
52132         (buffered_vfprintf): Likewise.
52133         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
52134         * stdio-common/xbug.c (AppendToBuffer): Likewise.
52135         (ReadFile): Likewise.
52136         * stdlib/qsort.c (SWAP): Likewise.
52137         (_quicksort): Likewise.
52138         * stdlib/setenv.c (__add_to_environ): Likewise.
52139         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
52140         * stdlib/strtol_l.c (__strtol_l): Likewise.
52141         * stdlib/tst-strtod.c (main): Likewise.
52142         * stdlib/tst-strtol.c (main): Likewise.
52143         * stdlib/tst-strtoll.c (main): Likewise.
52144         * string/bits/string2.h (__strcmp_cc): Likewise.
52145         (__strcmp_cg): Likewise.
52146         (__strcspn_c1): Likewise.
52147         (__strcspn_c2): Likewise.
52148         (__strcspn_c3): Likewise.
52149         (__strspn_c1): Likewise.
52150         (__strspn_c2): Likewise.
52151         (__strspn_c3): Likewise.
52152         (__strsep_1c): Likewise.
52153         (__strsep_2c): Likewise.
52154         (__strsep_3c): Likewise.
52155         * string/memccpy.c (__memccpy): Likewise.
52156         * string/stpcpy.c (__stpcpy): Likewise.
52157         * string/strcmp.c (strcmp): Likewise.
52158         * string/strrchr.c (strrchr): Likewise.
52159         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
52160         Likewise.
52161         * sysdeps/mach/hurd/getcwd.c
52162         (_hurd_canonicalize_directory_name_internal): Likewise.
52163         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
52164         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
52165         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
52166         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
52167         Likewise, in both definitions.
52168         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
52169         definitions.
52170         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
52171         64] (__bswap_64): Likewise.
52172         * time/test_time.c (main): Likewise.
52173         * time/tzfile.c (__tzfile_read): Likewise.
52174         (__tzfile_compute): Likewise.
52175         * time/tzset.c (__tzset_parse_tz): Likewise.
52176         (tzset_internal): Likewise.
52177         (compute_change): Likewise.
52178         * wcsmbs/wcscat.c (__wcscat): Likewise.
52179         * wcsmbs/wcschr.c (wcschr): Likewise.
52180         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
52181         * wcsmbs/wcscspn.c (wcscspn): Likewise.
52182         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
52183         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
52184         * wcsmbs/wcsspn.c (wcsspn): Likewise.
52185         * wcsmbs/wcsstr.c (wcsstr): Likewise.
52186         * wcsmbs/wmemchr.c (wmemchr): Likewise.
52187         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52188         * wcsmbs/wmemset.c (wmemset): Likewise.
52190 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
52192         * scripts/config.guess: Update to version 2013-05-16.
52193         * scripts/config.sub: Update to version 2013-04-24.
52194         * scripts/install-sh: Update to version 2011-11-20.07.
52195         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
52196         * scripts/move-if-change: Update to version 2012-01-06 07:23.
52198 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
52200         * debug/fgetws_u_chk.c: Fix leading whitespaces.
52201         * elf/sln.c: Likewise.
52202         * hurd/hurd/ioctl.h: Likewise.
52203         * hurd/hurdmalloc.c: Likewise.
52204         * hurd/xattr.c: Likewise.
52205         * include/shlib-compat.h: Likewise.
52206         * inet/ruserpass.c: Likewise.
52207         * libio/iofgets_u.c: Likewise.
52208         * libio/iofgetws_u.c: Likewise.
52209         * locale/programs/ld-identification.c: Likewise.
52210         * locale/programs/ld-time.c: Likewise.
52211         * mach/msg-destroy.c: Likewise.
52212         * nss/nss_files/files-netgrp.c: Likewise.
52213         * resolv/res_data.c: Likewise.
52214         * soft-fp/op-1.h: Likewise.
52215         * soft-fp/op-2.h: Likewise.
52216         * soft-fp/op-4.h: Likewise.
52217         * soft-fp/op-common.h: Likewise.
52218         * stdio-common/printf_fphex.c: Likewise.
52219         * stdlib/strtod_l.c: Likewise.
52220         * sunrpc/rpc/clnt.h: Likewise.
52221         * sysdeps/generic/framestate.c: Likewise.
52222         * sysdeps/i386/bsd-_setjmp.S: Likewise.
52223         * sysdeps/i386/bsd-setjmp.S: Likewise.
52224         * sysdeps/i386/__longjmp.S: Likewise.
52225         * sysdeps/i386/setjmp.S: Likewise.
52226         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
52227         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
52228         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52229         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52231         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
52232         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
52233         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
52234         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
52235         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
52236         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
52237         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
52238         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
52239         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
52240         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
52241         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
52242         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
52243         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
52244         * sysdeps/ieee754/support.c: Likewise.
52245         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
52246         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
52247         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
52248         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
52249         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
52250         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
52251         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
52252         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
52253         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
52254         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
52255         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
52256         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
52257         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
52258         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
52259         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
52260         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
52261         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
52262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
52264 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
52266         * posix/transbug.c: Remove executable mode.
52268 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
52270         * crypt/speeds.c: Remove trailing whitespace.
52271         * dlfcn/default.c: Likewise.
52272         * elf/ifuncdep2.c: Likewise.
52273         * elf/ifuncmain1.c: Likewise.
52274         * elf/ifuncmain1vis.c: Likewise.
52275         * elf/testobj.h: Likewise.
52276         * elf/tst-stackguard1.c: Likewise.
52277         * gmon/sys/gmon.h: Likewise.
52278         * hurd/hurdmsg.c: Likewise.
52279         * hurd/new-fd.c: Likewise.
52280         * hurd/ports-get.c: Likewise.
52281         * iconvdata/ibm1008_420.c: Likewise.
52282         * inet/tst-getni1.c: Likewise.
52283         * inet/tst-getni2.c: Likewise.
52284         * libio/ioungetc.c: Likewise.
52285         * libio/wfiledoalloc.c: Likewise.
52286         * manual/libm-err-tab.pl: Likewise.
52287         * math/w_dremf.c: Likewise.
52288         * misc/ftruncate.c: Likewise.
52289         * posix/bug-glob2.c: Likewise.
52290         * posix/tst-pcre.c: Likewise.
52291         * posix/wait4.c: Likewise.
52292         * resolv/README: Likewise.
52293         * resolv/res_debug.h: Likewise.
52294         * resolv/tst-inet_ntop.c: Likewise.
52295         * setjmp/bug269-setjmp.c: Likewise.
52296         * soft-fp/extended.h: Likewise.
52297         * soft-fp/op-1.h: Likewise.
52298         * soft-fp/op-2.h: Likewise.
52299         * soft-fp/op-4.h: Likewise.
52300         * soft-fp/op-8.h: Likewise.
52301         * soft-fp/testit.c: Likewise.
52302         * stdio-common/bug16.c: Likewise.
52303         * stdlib/random.c: Likewise.
52304         * sunrpc/rpcsvc/rquota.x: Likewise.
52305         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
52306         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
52307         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
52308         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
52309         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
52310         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
52311         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
52312         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
52313         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
52314         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
52315         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
52316         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
52317         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
52318         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
52319         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
52320         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
52321         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
52322         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
52323         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
52324         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
52325         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
52326         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
52327         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
52328         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
52329         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
52330         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
52331         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52332         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
52333         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
52334         * sysdeps/ieee754/s_lib_version.c: Likewise.
52335         * sysdeps/mach/hurd/check_fds.c: Likewise.
52336         * sysdeps/mach/hurd/getsockname.c: Likewise.
52337         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
52338         * sysdeps/mach/hurd/recvfrom.c: Likewise.
52339         * sysdeps/powerpc/bits/link.h: Likewise.
52340         * sysdeps/powerpc/dl-procinfo.c: Likewise.
52341         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
52342         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
52343         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
52344         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
52345         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
52346         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
52347         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
52348         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
52349         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52350         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
52351         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52352         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
52353         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52354         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52355         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52356         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52357         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52358         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52359         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52360         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52361         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
52362         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52363         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52364         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
52365         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52366         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52367         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52368         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52369         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52370         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52371         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52372         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52373         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
52374         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
52375         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
52376         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
52377         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52378         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
52379         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
52380         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
52381         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
52382         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
52383         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
52384         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52385         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
52386         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
52387         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52388         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
52389         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
52390         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
52391         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
52392         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52393         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52394         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
52395         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
52396         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
52397         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52398         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
52399         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
52400         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
52401         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
52402         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
52403         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52404         * sysdeps/powerpc/sysdep.h: Likewise.
52405         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
52406         * sysdeps/s390/s390-64/sub_n.S: Likewise.
52407         * sysdeps/sh/dl-trampoline.S: Likewise.
52408         * sysdeps/sh/memset.S: Likewise.
52409         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
52410         * sysdeps/sh/strlen.S: Likewise.
52411         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
52412         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
52413         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
52414         * sysdeps/sparc/sparc32/rem.S: Likewise.
52415         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
52416         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
52417         * sysdeps/sparc/sparc32/strchr.S: Likewise.
52418         * sysdeps/sparc/sparc32/udiv.S: Likewise.
52419         * sysdeps/sparc/sparc32/urem.S: Likewise.
52420         * sysdeps/sparc/sparc64/add_n.S: Likewise.
52421         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
52422         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
52423         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
52424         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
52425         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
52426         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
52427         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
52428         * sysdeps/unix/bsd/times.c: Likewise.
52429         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
52430         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
52431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
52432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
52433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
52434         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
52435         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
52436         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
52437         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
52438         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
52439         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
52440         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
52441         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
52442         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
52443         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
52444         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
52445         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
52446         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
52447         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
52448         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
52449         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
52450         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
52451         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
52452         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
52453         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
52454         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
52455         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
52456         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52457         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
52458         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
52459         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
52460         * sysdeps/x86_64/strcspn.S: Likewise.
52462 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52464         * locale/C-translit.h: Revert #include <stdint.h> because this is a
52465         generated file.  Regenerate properly from gen-translit.pl.
52466         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
52467         locale/C-translit.h.
52469 2013-06-05  Andreas Schwab  <schwab@suse.de>
52471         [BZ #15100]
52472         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
52473         week as 6 instead of -1.
52474         * time/tst-strptime.c (day_tests): Add test case.
52476 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
52478         * sysdeps/generic/math_private.h
52479         (libc_feholdexcept_setround_53bit): Replace with
52480         libc_feholdsetround_53bit.
52481         (libc_feupdateenv_53bit): Replace with
52482         libc_feresetround_53bit.
52483         (SET_RESTORE_ROUND_53BIT): Adjust.
52485 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
52487         * string/test-strchrnul.c: Add copyright header.
52489         * posix/tst-getaddrinfo4.c: Increase test timeout.
52491 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
52493         [BZ #15536]
52494         * math/libm-test.inc (MAX_EXP): Remove
52495         (MIN_EXP): Define.
52496         (ulp): Use MIN_EXP - MANT_DIG.
52497         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
52499 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
52501         * po/be.po: Revert last change.
52502         * po/zh_CN.po: Likewise.
52503         * po/header.pot: Likewise.
52505 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
52507         * Makefile ($(common-objpfx)linkobj/libc.so): Define
52508         link-libc-deps to empty as target-specific variable.
52509         * Makerules (link-libc-args): New variable.
52510         (libc-for-link): Likewise.
52511         (link-libc-deps): Likewise.
52512         (lib%.so): Depend on $(link-libc-deps).  Link with
52513         $(link-libc-args).
52514         (build-module): Link with $(link-libc-args).
52515         (build-module-asneeded): Likewise.
52516         (build-module-helper-objlist): Filter out $(link-libc-deps) from
52517         list of objects.
52518         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
52519         target-specific variable.
52520         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
52521         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
52522         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
52523         libc.
52524         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
52525         libc and ld.so.
52526         ($(objpfx)libpcprofile.so): Likewise.
52527         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
52528         libc_nonshared.a.
52529         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
52530         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
52531         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
52532         $(link-libc-deps).
52533         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
52534         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
52535         * login/Makefile ($(objpfx)libutil.so): Likewise.
52536         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
52537         * math/Makefile ($(objpfx)libm.so): Likewise.
52538         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
52539         $(objpfx)libnsl.so): Define libc-for-link as target-specific
52540         variable instead of depending directly on libc.
52541         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
52542         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
52543         $(link-libc-deps).
52544         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
52545         libc.
52546         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
52547         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
52548         ($(objpfx)libanl.so): Likewise.
52549         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
52550         ld.so.
52551         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
52552         $(link-libc-deps).
52553         * sysdeps/i386/fpu/Makefile: Remove file.
52554         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
52555         ($(objpfx)libm.so): Remove dependency on ld.so.
52557 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
52559         [BZ # 15553]
52560         * nis/yp_xdr.c (XDRMAXNAME): Define.
52561         (XDRMAXRECORD): Define.
52562         (xdr_domainname): Use XDRMAXNAME.
52563         (xdr_mapname): Likewise.
52564         (xdr_peername): Likewise.
52565         (xdr_keydat): Use XDRMAXRECORD.
52566         (xdr_valdat): Likewise.
52568 2013-05-30  Jeff Law  <law@redhat.com>
52570         [BZ #14256]
52571         * manual/errno.texi (ESTALE): Update to account for more than
52572         just NFS file systems.
52573         * sysdeps/gnu/errlist.c: Regenerated.
52575 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52577         [BZ #15465]
52578         * elf/Makefile (tests): Add tst-null-argv.
52579         (modules-names):  Add tst-null-argv-lib.
52580         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
52581         (tst-null-argv-ENV): Set environment for tst-null-argv.
52582         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
52583         (RTLD_PROGNAME): New macro.
52584         * elf/tst-null-argv.c: New test case.
52585         * elf/tst-null-argv-lib.c: Library for test case.
52586         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
52587         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
52588         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
52589         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
52590         * elf/dl-init.c (call_init): Likewise.
52591         (_dl_init): Likewise.
52592         * elf/dl-load.c (print_search_path): Likewise.
52593         (_dl_map_object): Likewise.
52594         * elf/dl-lookup.c (do_lookup_x): Likewise.
52595         (add_dependency): Likewise.
52596         (_dl_lookup_symbol_x): Likewise.
52597         (_dl_debug_bindings): Likewise.
52598         * elf/dl-open.c (_dl_show_scope): Likewise.
52599         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
52600         * elf/dl-version.c (match_symbol): Likewise.
52601         (_dl_check_map_versions): Likewise.
52602         * elf/rtld.c (dl_main): Likewise.
52603         (print_unresolved): Use RTLD_PROGNAME.
52604         (print_missing_version): Likewise.
52605         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
52606         (elf_machine_rela): Likewise.
52607         * sysdeps/powerpc/powerpc32/dl-machine.c
52608         (__process_machine_rela): Likewise.
52609         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52610         Likewise.
52611         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
52612         Likewise.
52613         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
52614         Likewise.
52615         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52616         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
52617         Likewise.
52618         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
52619         Likewise.
52620         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52622 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
52624         * po/be.po: Add descriptive title.
52625         * po/zh_CN.po: Likewise.
52626         * po/header.pot: Likewise.
52628 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
52630         * locale/programs/locarchive.c (create_archive): Inlucde fname in
52631         error message.
52632         (enlarge_archive): Likewise.
52634 2013-05-28  Ben North  <ben@redfrontdoor.org>
52636         * manual/arith.texi (frexp): It is the magnitude of the return
52637         value which lies in [0.5, 1), not the return value itself.
52639 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52643 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
52645         * stdio-common/bug26.c (main): Correct fscanf template.
52647         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
52648         declare _dl_skip_args.
52650         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
52651         Don't declare.
52653         * manual/platform.texi: Add missing @end deftypefun.
52655 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52657         [BZ #15529]
52658         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
52659         bit of mantissa of 2^16382.
52660         * math/libm-test.inc (hypot_test_data): Add more tests.
52662         * math/libm-test.inc: Add drem and pow10 to list of tested
52663         functions.
52664         (pow10_test): New function.
52665         (drem_test): Likewise.
52666         (drem_test_tonearest): Likewise.
52667         (drem_test_towardzero): Likewise.
52668         (drem_test_downward): Likewise.
52669         (drem_test_upward): Likewise.
52670         (main): Call the new functions.
52672         * math/libm-test.inc (finite_test_data): Remove.
52673         (finite_test): Run tests from isfinite_test_data.
52674         (gamma_test_data): Remove.
52675         (gamma_test): Run tests from lgamma_test_data.
52676         * sysdeps/i386/fpu/libm-test-ulps: Update.
52677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52679 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52681         * manual/platform.texi: Add PowerPC PPR function set documentation.
52682         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
52683         implementation.
52685 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
52687         * math/libm-test.inc (MAX_EXP): Define.
52688         (ULPDIFF): Define.
52689         (ulp): New function.
52690         (check_float_internal): Use ULPDIFF.
52691         (cpow_test): Disable failing test.
52692         (check_ulp): Test ulp() implemetnation.
52693         (main): Call check_ulp before starting tests.
52695 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
52697         * math/gen-libm-test.pl (generate_testfile): Do not handle
52698         START_DATA and END_DATA.
52699         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
52700         END_DATA.
52701         (acos_tonearest_test_data): Likewise.
52702         (acos_towardzero_test_data): Likewise.
52703         (acos_downward_test_data): Likewise.
52704         (acos_upward_test_data): Likewise.
52705         (acosh_test_data): Likewise.
52706         (asin_test_data): Likewise.
52707         (asin_tonearest_test_data): Likewise.
52708         (asin_towardzero_test_data): Likewise.
52709         (asin_downward_test_data): Likewise.
52710         (asin_upward_test_data): Likewise.
52711         (asinh_test_data): Likewise.
52712         (atan_test_data): Likewise.
52713         (atanh_test_data): Likewise.
52714         (atan2_test_data): Likewise.
52715         (cabs_test_data): Likewise.
52716         (cacos_test_data): Likewise.
52717         (cacosh_test_data): Likewise.
52718         (carg_test_data): Likewise.
52719         (casin_test_data): Likewise.
52720         (casinh_test_data): Likewise.
52721         (catan_test_data): Likewise.
52722         (catanh_test_data): Likewise.
52723         (cbrt_test_data): Likewise.
52724         (ccos_test_data): Likewise.
52725         (ccosh_test_data): Likewise.
52726         (ceil_test_data): Likewise.
52727         (cexp_test_data): Likewise.
52728         (cimag_test_data): Likewise.
52729         (clog_test_data): Likewise.
52730         (clog10_test_data): Likewise.
52731         (conj_test_data): Likewise.
52732         (copysign_test_data): Likewise.
52733         (cos_test_data): Likewise.
52734         (cos_tonearest_test_data): Likewise.
52735         (cos_towardzero_test_data): Likewise.
52736         (cos_downward_test_data): Likewise.
52737         (cos_upward_test_data): Likewise.
52738         (cosh_test_data): Likewise.
52739         (cosh_tonearest_test_data): Likewise.
52740         (cosh_towardzero_test_data): Likewise.
52741         (cosh_downward_test_data): Likewise.
52742         (cosh_upward_test_data): Likewise.
52743         (cpow_test_data): Likewise.
52744         (cproj_test_data): Likewise.
52745         (creal_test_data): Likewise.
52746         (csin_test_data): Likewise.
52747         (csinh_test_data): Likewise.
52748         (csqrt_test_data): Likewise.
52749         (ctan_test_data): Likewise.
52750         (ctan_tonearest_test_data): Likewise.
52751         (ctan_towardzero_test_data): Likewise.
52752         (ctan_downward_test_data): Likewise.
52753         (ctan_upward_test_data): Likewise.
52754         (ctanh_test_data): Likewise.
52755         (ctanh_tonearest_test_data): Likewise.
52756         (ctanh_towardzero_test_data): Likewise.
52757         (ctanh_downward_test_data): Likewise.
52758         (ctanh_upward_test_data): Likewise.
52759         (erf_test_data): Likewise.
52760         (erfc_test_data): Likewise.
52761         (exp_test_data): Likewise.
52762         (exp_tonearest_test_data): Likewise.
52763         (exp_towardzero_test_data): Likewise.
52764         (exp_downward_test_data): Likewise.
52765         (exp_upward_test_data): Likewise.
52766         (exp10_test_data): Likewise.
52767         (exp2_test_data): Likewise.
52768         (expm1_test_data): Likewise.
52769         (fabs_test_data): Likewise.
52770         (fdim_test_data): Likewise.
52771         (finite_test_data): Likewise.
52772         (floor_test_data): Likewise.
52773         (fma_test_data): Likewise.
52774         (fma_towardzero_test_data): Likewise.
52775         (fma_downward_test_data): Likewise.
52776         (fma_upward_test_data): Likewise.
52777         (fmax_test_data): Likewise.
52778         (fmin_test_data): Likewise.
52779         (fmod_test_data): Likewise.
52780         (fpclassify_test_data): Likewise.
52781         (frexp_test_data): Likewise.
52782         (gamma_test_data): Likewise.
52783         (hypot_test_data): Likewise.
52784         (ilogb_test_data): Likewise.
52785         (isfinite_test_data): Likewise.
52786         (isgreater_test_data): Likewise.
52787         (isgreaterequal_test_data): Likewise.
52788         (isinf_test_data): Likewise.
52789         (isless_test_data): Likewise.
52790         (islessequal_test_data): Likewise.
52791         (islessgreater_test_data): Likewise.
52792         (isnan_test_data): Likewise.
52793         (isnormal_test_data): Likewise.
52794         (issignaling_test_data): Likewise.
52795         (isunordered_test_data): Likewise.
52796         (j0_test_data): Likewise.
52797         (j1_test_data): Likewise.
52798         (jn_test_data): Likewise.
52799         (ldexp_test_data): Likewise.
52800         (lgamma_test_data): Likewise.
52801         (lrint_test_data): Likewise.
52802         (lrint_tonearest_test_data): Likewise.
52803         (lrint_towardzero_test_data): Likewise.
52804         (lrint_downward_test_data): Likewise.
52805         (lrint_upward_test_data): Likewise.
52806         (llrint_test_data): Likewise.
52807         (llrint_tonearest_test_data): Likewise.
52808         (llrint_towardzero_test_data): Likewise.
52809         (llrint_downward_test_data): Likewise.
52810         (llrint_upward_test_data): Likewise.
52811         (log_test_data): Likewise.
52812         (log10_test_data): Likewise.
52813         (log1p_test_data): Likewise.
52814         (log2_test_data): Likewise.
52815         (logb_test_data): Likewise.
52816         (logb_downward_test_data): Likewise.
52817         (lround_test_data): Likewise.
52818         (llround_test_data): Likewise.
52819         (modf_test_data): Likewise.
52820         (nearbyint_test_data): Likewise.
52821         (nextafter_test_data): Likewise.
52822         (nexttoward_test_data): Likewise.
52823         (pow_test_data): Likewise.
52824         (pow_tonearest_test_data): Likewise.
52825         (pow_towardzero_test_data): Likewise.
52826         (pow_downward_test_data): Likewise.
52827         (pow_upward_test_data): Likewise.
52828         (remainder_test_data): Likewise.
52829         (remainder_tonearest_test_data): Likewise.
52830         (remainder_towardzero_test_data): Likewise.
52831         (remainder_downward_test_data): Likewise.
52832         (remainder_upward_test_data): Likewise.
52833         (remquo_test_data): Likewise.
52834         (rint_test_data): Likewise.
52835         (rint_tonearest_test_data): Likewise.
52836         (rint_towardzero_test_data): Likewise.
52837         (rint_downward_test_data): Likewise.
52838         (rint_upward_test_data): Likewise.
52839         (round_test_data): Likewise.
52840         (scalb_test_data): Likewise.
52841         (scalbn_test_data): Likewise.
52842         (scalbln_test_data): Likewise.
52843         (signbit_test_data): Likewise.
52844         (sin_test_data): Likewise.
52845         (sin_tonearest_test_data): Likewise.
52846         (sin_towardzero_test_data): Likewise.
52847         (sin_downward_test_data): Likewise.
52848         (sin_upward_test_data): Likewise.
52849         (sincos_test_data): Likewise.
52850         (sinh_test_data): Likewise.
52851         (sinh_tonearest_test_data): Likewise.
52852         (sinh_towardzero_test_data): Likewise.
52853         (sinh_downward_test_data): Likewise.
52854         (sinh_upward_test_data): Likewise.
52855         (sqrt_test_data): Likewise.
52856         (tan_test_data): Likewise.
52857         (tan_tonearest_test_data): Likewise.
52858         (tan_towardzero_test_data): Likewise.
52859         (tan_downward_test_data): Likewise.
52860         (tan_upward_test_data): Likewise.
52861         (tanh_test_data): Likewise.
52862         (tgamma_test_data): Likewise.
52863         (trunc_test_data): Likewise.
52864         (y0_test_data): Likewise.
52865         (y1_test_data): Likewise.
52866         (yn_test_data): Likewise.
52867         (significand_test_data): Likewise.
52869         * math/gen-libm-test.pl (@functions): Remove variable.
52870         (generate_testfile): Don't handle START and END lines.
52871         * math/libm-test.inc (START): New macro.
52872         (END): Likewise.
52873         (END_COMPLEX): Likewise.
52874         (acos_test): Use END macro without arguments.
52875         (acos_test_tonearest): Likewise.
52876         (acos_test_towardzero): Likewise.
52877         (acos_test_downward): Likewise.
52878         (acos_test_upward): Likewise.
52879         (acosh_test): Likewise.
52880         (asin_test): Likewise.
52881         (asin_test_tonearest): Likewise.
52882         (asin_test_towardzero): Likewise.
52883         (asin_test_downward): Likewise.
52884         (asin_test_upward): Likewise.
52885         (asinh_test): Likewise.
52886         (atan_test): Likewise.
52887         (atanh_test): Likewise.
52888         (atan2_test): Likewise.
52889         (cabs_test): Likewise.
52890         (cacos_test): Use END_COMPLEX macro without arguments.
52891         (cacosh_test): Likewise.
52892         (carg_test): Use END macro without arguments.
52893         (casin_test): Use END_COMPLEX macro without arguments.
52894         (casinh_test): Likewise.
52895         (catan_test): Likewise.
52896         (catanh_test): Likewise.
52897         (cbrt_test): Use END macro without arguments.
52898         (ccos_test): Use END_COMPLEX macro without arguments.
52899         (ccosh_test): Likewise.
52900         (ceil_test): Use END macro without arguments.
52901         (cexp_test): Use END_COMPLEX macro without arguments.
52902         (cimag_test): Use END macro without arguments.
52903         (clog_test): Use END_COMPLEX macro without arguments.
52904         (clog10_test): Likewise.
52905         (conj_test): Likewise.
52906         (copysign_test): Use END macro without arguments.
52907         (cos_test): Likewise.
52908         (cos_test_tonearest): Likewise.
52909         (cos_test_towardzero): Likewise.
52910         (cos_test_downward): Likewise.
52911         (cos_test_upward): Likewise.
52912         (cosh_test): Likewise.
52913         (cosh_test_tonearest): Likewise.
52914         (cosh_test_towardzero): Likewise.
52915         (cosh_test_downward): Likewise.
52916         (cosh_test_upward): Likewise.
52917         (cpow_test): Use END_COMPLEX macro without arguments.
52918         (cproj_test): Likewise.
52919         (creal_test): Use END macro without arguments.
52920         (csin_test): Use END_COMPLEX macro without arguments.
52921         (csinh_test): Likewise.
52922         (csqrt_test): Likewise.
52923         (ctan_test): Likewise.
52924         (ctan_test_tonearest): Likewise.
52925         (ctan_test_towardzero): Likewise.
52926         (ctan_test_downward): Likewise.
52927         (ctan_test_upward): Likewise.
52928         (ctanh_test): Likewise.
52929         (ctanh_test_tonearest): Likewise.
52930         (ctanh_test_towardzero): Likewise.
52931         (ctanh_test_downward): Likewise.
52932         (ctanh_test_upward): Likewise.
52933         (erf_test): Use END macro without arguments.
52934         (erfc_test): Likewise.
52935         (exp_test): Likewise.
52936         (exp_test_tonearest): Likewise.
52937         (exp_test_towardzero): Likewise.
52938         (exp_test_downward): Likewise.
52939         (exp_test_upward): Likewise.
52940         (exp10_test): Likewise.
52941         (exp2_test): Likewise.
52942         (expm1_test): Likewise.
52943         (fabs_test): Likewise.
52944         (fdim_test): Likewise.
52945         (finite_test): Likewise.
52946         (floor_test): Likewise.
52947         (fma_test): Likewise.
52948         (fma_test_towardzero): Likewise.
52949         (fma_test_downward): Likewise.
52950         (fma_test_upward): Likewise.
52951         (fmax_test): Likewise.
52952         (fmin_test): Likewise.
52953         (fmod_test): Likewise.
52954         (fpclassify_test): Likewise.
52955         (frexp_test): Likewise.
52956         (gamma_test): Likewise.
52957         (hypot_test): Likewise.
52958         (ilogb_test): Likewise.
52959         (isfinite_test): Likewise.
52960         (isgreater_test): Likewise.
52961         (isgreaterequal_test): Likewise.
52962         (isinf_test): Likewise.
52963         (isless_test): Likewise.
52964         (islessequal_test): Likewise.
52965         (islessgreater_test): Likewise.
52966         (isnan_test): Likewise.
52967         (isnormal_test): Likewise.
52968         (issignaling_test): Likewise.
52969         (isunordered_test): Likewise.
52970         (j0_test): Likewise.
52971         (j1_test): Likewise.
52972         (jn_test): Likewise.
52973         (ldexp_test): Likewise.
52974         (lgamma_test): Likewise.
52975         (lrint_test): Likewise.
52976         (lrint_test_tonearest): Likewise.
52977         (lrint_test_towardzero): Likewise.
52978         (lrint_test_downward): Likewise.
52979         (lrint_test_upward): Likewise.
52980         (llrint_test): Likewise.
52981         (llrint_test_tonearest): Likewise.
52982         (llrint_test_towardzero): Likewise.
52983         (llrint_test_downward): Likewise.
52984         (llrint_test_upward): Likewise.
52985         (log_test): Likewise.
52986         (log10_test): Likewise.
52987         (log1p_test): Likewise.
52988         (log2_test): Likewise.
52989         (logb_test): Likewise.
52990         (logb_test_downward): Likewise.
52991         (lround_test): Likewise.
52992         (llround_test): Likewise.
52993         (modf_test): Likewise.
52994         (nearbyint_test): Likewise.
52995         (nextafter_test): Likewise.
52996         (nexttoward_test): Likewise.
52997         (pow_test): Likewise.
52998         (pow_test_tonearest): Likewise.
52999         (pow_test_towardzero): Likewise.
53000         (pow_test_downward): Likewise.
53001         (pow_test_upward): Likewise.
53002         (remainder_test): Likewise.
53003         (remainder_test_tonearest): Likewise.
53004         (remainder_test_towardzero): Likewise.
53005         (remainder_test_downward): Likewise.
53006         (remainder_test_upward): Likewise.
53007         (remquo_test): Likewise.
53008         (rint_test): Likewise.
53009         (rint_test_tonearest): Likewise.
53010         (rint_test_towardzero): Likewise.
53011         (rint_test_downward): Likewise.
53012         (rint_test_upward): Likewise.
53013         (round_test): Likewise.
53014         (scalb_test): Likewise.
53015         (scalbn_test): Likewise.
53016         (scalbln_test): Likewise.
53017         (signbit_test): Likewise.
53018         (sin_test): Likewise.
53019         (sin_test_tonearest): Likewise.
53020         (sin_test_towardzero): Likewise.
53021         (sin_test_downward): Likewise.
53022         (sin_test_upward): Likewise.
53023         (sincos_test): Likewise.
53024         (sinh_test): Likewise.
53025         (sinh_test_tonearest): Likewise.
53026         (sinh_test_towardzero): Likewise.
53027         (sinh_test_downward): Likewise.
53028         (sinh_test_upward): Likewise.
53029         (sqrt_test): Likewise.
53030         (tan_test): Likewise.
53031         (tan_test_tonearest): Likewise.
53032         (tan_test_towardzero): Likewise.
53033         (tan_test_downward): Likewise.
53034         (tan_test_upward): Likewise.
53035         (tanh_test): Likewise.
53036         (tgamma_test): Likewise.
53037         (trunc_test): Likewise.
53038         (y0_test): Likewise.
53039         (y1_test): Likewise.
53040         (yn_test): Likewise.
53041         (significand_test): Likewise.
53043 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
53045         [BZ #15381]
53046         * libio/genops.c (_IO_no_init): Initialize wide struct info.
53048 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53050         [BZ #14894]
53051         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
53052         __ppc_mdoio and __ppc_mdoom.
53053         * manual/platform.texi: Document new functions __ppc_yield,
53054         __ppc_mdoio and __ppc_mdoom.
53056 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
53058         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
53059         (main): Mention "tls" pseudo-hwcap is legacy.
53060         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
53062 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53064         * math/gen-libm-test.pl (parse_args): Output only string of
53065         arguments as text for test name, not full call or descriptions of
53066         tests for extra outputs.
53067         (generate_testfile): Do not pass function name to parse_args.
53068         Generate this_func variable from START.
53069         * math/libm-test.inc (struct test_f_f_data): Rename test_name
53070         field to arg_str.
53071         (struct test_ff_f_data): Likewise.
53072         (test_ff_f_data_nexttoward): Likewise.
53073         (struct test_fi_f_data): Likewise.
53074         (struct test_fl_f_data): Likewise.
53075         (struct test_if_f_data): Likewise.
53076         (struct test_fff_f_data): Likewise.
53077         (struct test_c_f_data): Likewise.
53078         (struct test_f_f1_data): Likewise.  Remove field extra_name.
53079         (struct test_fF_f1_data): Likewise.
53080         (struct test_ffI_f1_data): Likewise.
53081         (struct test_c_c_data): Rename test_name field to arg_str.
53082         (struct test_cc_c_data): Likewise.
53083         (struct test_f_i_data): Likewise.
53084         (struct test_ff_i_data): Likewise.
53085         (struct test_f_l_data): Likewise.
53086         (struct test_f_L_data): Likewise.
53087         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
53088         and extra2_name.
53089         (COMMON_TEST_SETUP): New macro.
53090         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
53091         (COMMON_TEST_CLEANUP): Likewise.
53092         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
53093         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
53094         macros.
53095         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
53096         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
53097         macros.
53098         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
53099         (RUN_TEST_fff_f): Take argument string.  Call new setup and
53100         cleanup macros.
53101         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
53102         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
53103         macros.
53104         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
53105         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
53106         macros.
53107         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53108         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
53109         cleanup macros.
53110         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53111         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
53112         cleanup macros.
53113         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53114         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
53115         cleanup macros.
53116         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53117         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
53118         macros.
53119         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
53120         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
53121         macros.
53122         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
53123         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
53124         macros.
53125         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
53126         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
53127         cleanup macros.
53128         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
53129         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
53130         cleanup macros.
53131         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
53132         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
53133         macros.
53134         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
53135         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
53136         cleanup macros.
53137         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
53138         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
53139         macros.
53140         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
53141         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
53142         macros.
53143         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
53144         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
53145         cleanup macros.
53146         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
53148 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
53150         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
53151         to _sifields.sigfault.
53152         (si_addr_lsb): Define new macro.
53153         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53154         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53155         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
53157 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
53159         [BZ #15441]
53160         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
53161         returns -1.
53162         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
53163         null return -1.
53164         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
53165         loading the domain.
53167 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
53169         * math/gen-libm-test.pl (parse_args): Do not include expected
53170         result in test name.
53171         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
53172         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53173         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53174         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53175         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53178 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53180         * benchtests/Makefile: Sort function entries.
53182         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
53183         tanh, asinh, acosh, atanh.
53184         * benchtests/acos-inputs: New file.
53185         * benchtests/acosh-inputs: New file.
53186         * benchtests/asin-inputs: New file.
53187         * benchtests/asinh-inputs: New file.
53188         * benchtests/atanh-inputs: New file.
53189         * benchtests/cosh-inputs: New file.
53190         * benchtests/log-inputs: New file.
53191         * benchtests/sinh-inputs: New file.
53192         * benchtests/tanh-inputs: New file.
53194 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
53196         [BZ #15339]
53197         * posix/tst-getaddrinfo4.c: New test.
53198         * posix/Makefile (tests): Add it.
53200 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53202         [BZ #15339]
53203         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
53204         when no services were used.
53205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
53206         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
53208 2013-05-21  Andreas Schwab  <schwab@suse.de>
53210         [BZ #15014]
53211         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
53212         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
53213         successful.
53214         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
53215         redundant variable declarations and reallocation of buffer when
53216         parsing as IPv6 address.  Always set NSS status when called from
53217         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
53218         buffer too small.  Correct computation of needed size.
53219         * nss/Makefile (tests): Add test-digits-dots.
53220         * nss/test-digits-dots.c: New test.
53222 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53224         * benchtests/Makefile: Remove instructions for adding
53225         benchmark tests.
53226         * benchtests/README: New file to explain how to execute and
53227         enhance the benchmark tests.
53229 2013-05-21  Andreas Schwab  <schwab@suse.de>
53231         [BZ #15493]
53232         * setjmp/Makefile (tests): Add tst-sigsetjmp.
53233         * setjmp/tst-sigsetjmp.c: New test.
53235 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53237         * sysdeps/x86_64/memset.S (memset): New implementation.
53238         (__bzero): Likewise.
53239         (__memset_tail): New function.
53241 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
53243         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
53244         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
53245         __memcpy_sse2_unaligned ifunc selection.
53246         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53247         Add memcpy-sse2-unaligned.S.
53248         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53249         Add: __memcpy_sse2_unaligned.
53251 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
53253         [BZ #15490]
53254         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
53255         math_force_eval before restoring floating-point envrionment.
53256         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
53257         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
53258         Likewise.
53259         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
53260         <math_private.h>.
53261         (__nearbyintl): Use math_force_eval before restoring
53262         floating-point environment.
53263         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
53265         * math/gen-libm-test.pl (special_functions): Remove.
53266         (parse_args): Don't handle TEST_extra.  Handle functions with no
53267         return value.
53268         * math/libm-test.inc (struct test_sincos_data): Replace with
53269         struct test_fFF_11_data.
53270         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
53271         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
53272         (sincos_test_data): Change element type to struct
53273         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
53274         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
53275         RUN_TEST_LOOP_sincos.
53276         * math/README.libm-test: Don't mention special handling of
53277         individual functions.
53278         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
53279         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53280         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53281         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
53282         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53285         * math/gen-libm-test.pl (get_variable): Remove function.
53286         (parse_args): Don't show pointer parameters to call in test
53287         names.  Use "extra output N" in test names for extra outputs
53288         rather than naming variables.
53290 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
53292         [BZ #15488]
53293         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
53294         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
53295         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
53296         double tests.
53297         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
53298         disable.
53299         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
53300         check_long_double.
53302         * math/gen-libm-test.pl (@tests): Remove variable.
53303         ($count): Likewise.
53304         (new_test): Remove function.
53305         (show_exceptions): New function.
53306         (special_functions): Use show_exceptions instead of new_test.
53307         (parse_args): Likewise.
53308         (generate_testfile): Pass only function name in generated call to
53309         print_max_error or print_complex_max_error.
53310         (get_ulps): Do not handle complex tests specially.
53311         (output_test): Rename to ...
53312         (get_all_ulps_for_test): ... this.  Return a string rather than
53313         printing to a file.  Require ulps to be present.
53314         (output_ulps): Generate arrays rather than #defines.
53315         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
53316         (struct ulp_data): New type.
53317         (BUILD_COMPLEX_ULP): Remove macro.
53318         (compare_ulp_data): New function.
53319         (find_ulps): Likewise.
53320         (find_test_ulps): Likewise.
53321         (find_function_ulps): Likewise.
53322         (find_complex_function_ulps): Likewise.
53323         (print_max_error): Determine allowed ulps using
53324         find_function_ulps.
53325         (print_complex_max_error): Determine allowed ulps using
53326         find_complex_function_ulps.
53327         (check_float_internal): Determine max ulps using find_test_ulps.
53328         (check_float): Do not take max_ulp parameter.  Update call to
53329         check_float_internal.
53330         (check_complex): Likewise.
53331         (check_int): Do not take max_ulp parameter.
53332         (check_long): Likewise.
53333         (check_bool): Likewise.
53334         (check_longlong): Likewise.
53335         (struct test_f_f_data): Remove max_ulp field.
53336         (struct test_ff_f_data): Likewise.
53337         (struct test_ff_f_data_nexttoward): Likewise.
53338         (struct test_fi_f_data): Likewise.
53339         (struct test_fl_f_data): Likewise.
53340         (struct test_if_f_data): Likewise.
53341         (struct test_fff_f_data): Likewise.
53342         (struct test_c_f_data): Likewise.
53343         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
53344         (struct test_fF_f1_data): Likewise.
53345         (struct test_ffI_f1_data): Likewise.
53346         (struct test_c_c_data): Remove max_ulp field.
53347         (struct test_cc_c_data): Likewise.
53348         (struct test_f_i_data): Likewise.
53349         (struct test_ff_i_data): Likewise.
53350         (struct test_f_l_data): Likewise.
53351         (struct test_f_L_data): Likewise.
53352         (struct test_sincos_data): Likewise.
53353         (RUN_TEST_f_f): Do not handle ulps.
53354         (RUN_TEST_LOOP_f_f): Likewise.
53355         (RUN_TEST_2_f): Likewise.
53356         (RUN_TEST_LOOP_2_f): Likewise.
53357         (RUN_TEST_fff_f): Likewise.
53358         (RUN_TEST_LOOP_fff_f): Likewise.
53359         (RUN_TEST_c_f): Likewise.
53360         (RUN_TEST_LOOP_c_f): Likewise.
53361         (RUN_TEST_f_f1): Likewise.
53362         (RUN_TEST_LOOP_f_f1): Likewise.
53363         (RUN_TEST_fF_f1): Likewise.
53364         (RUN_TEST_LOOP_fF_f1): Likewise.
53365         (RUN_TEST_fI_f1): Likewise.
53366         (RUN_TEST_LOOP_fI_f1): Likewise.
53367         (RUN_TEST_ffI_f1): Likewise.
53368         (RUN_TEST_LOOP_ffI_f1): Likewise.
53369         (RUN_TEST_c_c): Likewise.
53370         (RUN_TEST_LOOP_c_c): Likewise.
53371         (RUN_TEST_cc_c): Likewise.
53372         (RUN_TEST_LOOP_cc_c): Likewise.
53373         (RUN_TEST_f_i): Likewise.
53374         (RUN_TEST_LOOP_f_i): Likewise.
53375         (RUN_TEST_f_i_tg): Likewise.
53376         (RUN_TEST_LOOP_f_i_tg): Likewise.
53377         (RUN_TEST_ff_i_tg): Likewise.
53378         (RUN_TEST_LOOP_ff_i_tg): Likewise.
53379         (RUN_TEST_f_b): Likewise.
53380         (RUN_TEST_LOOP_f_b): Likewise.
53381         (RUN_TEST_f_b_tg): Likewise.
53382         (RUN_TEST_LOOP_f_b_tg): Likewise.
53383         (RUN_TEST_f_l): Likewise.
53384         (RUN_TEST_LOOP_f_l): Likewise.
53385         (RUN_TEST_f_L): Likewise.
53386         (RUN_TEST_LOOP_f_L): Likewise.
53387         (RUN_TEST_sincos): Likewise.
53388         (RUN_TEST_LOOP_sincos): Likewise.
53390 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
53392         [BZ #15480]
53393         [BZ #15485]
53394         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
53395         main case of finite arguments, set rounding mode to FE_TONEAREST
53396         and discard exceptions.
53397         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
53398         exceptions.
53399         (remainder_tonearest_test_data): New variable.
53400         (remainder_test_tonearest): New function.
53401         (remainder_towardzero_test_data): New variable.
53402         (remainder_test_towardzero): New function.
53403         (remainder_downward_test_data): New variable.
53404         (remainder_test_downward): New function.
53405         (remainder_upward_test_data): New variable.
53406         (remainder_test_upward): New function.
53407         (main): Call the new test functions.
53409         * math/libm-test.inc (struct test_f_f1_data): Remove field
53410         extra_init.
53411         (struct test_fF_f1_data): Likewise.
53412         (struct test_ffI_f1_data): Likewise.
53413         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
53414         based on value of EXTRA_EXPECTED.
53415         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
53416         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
53417         EXTRA_VAR based on value of EXTRA_EXPECTED.
53418         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
53419         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
53420         EXTRA_VAR based on value of EXTRA_EXPECTED.
53421         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
53422         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
53423         EXTRA_VAR based on value of EXTRA_EXPECTED.
53424         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
53425         * math/gen-libm-test.pl (parse_args): Don't output initializers
53426         for extra output values.
53428         * math/libm-test.inc (check_int): Expect result to be exactly
53429         equal to expected value and do not handle ulps.
53430         (check_long): Likewise.
53431         (check_longlong): Likewise.
53433         * math/libm-test.inc (ceil_test_data): Test for "inexact"
53434         exceptions.
53435         (cimag_test_data): Likewise.
53436         (conj_test_data): Likewise.
53437         (copysign_test_data): Likewise.
53438         (cproj_test_data): Likewise.
53439         (creal_test_data): Likewise.
53440         (fabs_test_data): Likewise.
53441         (fdim_test_data): Likewise.
53442         (finite_test_data): Likewise.
53443         (floor_test_data): Likewise.
53444         (fmax_test_data): Likewise.
53445         (fmin_test_data): Likewise.
53446         (fmod_test_data): Likewise.
53447         (fpclassify_test_data): Likewise.
53448         (frexp_test_data): Likewise.
53449         (ilogb_test_data): Likewise.
53450         (isfinite_test_data): Likewise.
53451         (isgreater_test_data): Likewise.
53452         (isgreaterequal_test_data): Likewise.
53453         (isinf_test_data): Likewise.
53454         (isless_test_data): Likewise.
53455         (islessequal_test_data): Likewise.
53456         (islessgreater_test_data): Likewise.
53457         (isnan_test_data): Likewise.
53458         (isnormal_test_data): Likewise.
53459         (issignaling_test_data): Likewise.
53460         (isunordered_test_data): Likewise.
53461         (ldexp_test_data): Likewise.
53462         (lrint_test_data): Likewise.
53463         (lrint_test_data) [TEST_FLOAT]: Disable one test.
53464         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
53465         (lrint_tonearest_test_data): Test for "inexact" exceptions.
53466         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53467         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
53468         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53469         test input.
53470         (lrint_towardzero_test_data): Test for "inexact" exceptions.
53471         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53472         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
53473         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
53474         that test input.
53475         (lrint_downward_test_data): Test for "inexact" exceptions.
53476         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53477         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
53478         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
53479         test input.
53480         (lrint_upward_test_data): Test for "inexact" exceptions.
53481         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
53482         test input.
53483         (llrint_test_data): Test for "inexact" exceptions.
53484         (llrint_test_data) [TEST_FLOAT]: Disable one test.
53485         (llrint_tonearest_test_data): Test for "inexact" exceptions.
53486         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
53487         (llrint_towardzero_test_data): Test for "inexact" exceptions.
53488         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
53489         (llrint_downward_test_data): Test for "inexact" exceptions.
53490         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
53491         (llrint_upward_test_data): Test for "inexact" exceptions.
53492         (logb_test_data): Likewise.
53493         (logb_downward_test_data): Likewise.
53494         (nextafter_test_data): Likewise.
53495         (nexttoward_test_data): Likewise.
53496         (remainder_test_data): Likewise.
53497         (remquo_test_data): Likewise.
53498         (scalbn_test_data): Likewise.
53499         (scalbln_test_data): Likewise.
53500         (signbit_test_data): Likewise.
53501         (sqrt_test_data): Likewise.
53502         (significand_test_data): Likewise.
53504 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53506         [BZ #15424]
53507         * benchtests/bench-modf.c (struct args): Mark arg0 as
53508         volatile.
53509         * scripts/bench.pl: Mark members of struct args as volatile.
53511 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53513         [BZ # 15497]
53514         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
53515         negative infinity on POWER6 or lower.
53516         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
53518 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
53520         [BZ #15442]
53521         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
53522         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
53523         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
53524         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
53525         (_FP_SETQNAN): New macro.
53526         (_FP_SETQNAN_SEMIRAW): Likewise.
53527         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
53528         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
53529         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
53530         (FP_EXTEND): Use _FP_FRAC_SNANP.
53531         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
53532         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
53533         into account.
53534         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53535         New macro.
53536         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
53537         Likewise.
53539 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53541         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
53542         with DIVIDE_BY_ZERO_EXCEPTION.
53543         (gamma_test_data): Likewise.
53544         (lgamma_test_data): Likewise.
53545         (log_test_data): Likewise.
53546         (log10_test_data): Likewise.
53547         (log2_test_data): Likewise.
53548         (tgamma_test_data): Likewise.
53550         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
53551         (acos_test_tonearest): Likewise.
53552         (acos_test_towardzero): Likewise.
53553         (acos_test_downward): Likewise.
53554         (acos_test_upward): Likewise.
53555         (acosh_test): Likewise.
53556         (asin_test): Likewise.
53557         (asin_test_tonearest): Likewise.
53558         (asin_test_towardzero): Likewise.
53559         (asin_test_downward): Likewise.
53560         (asin_test_upward): Likewise.
53561         (asinh_test): Likewise.
53562         (atan_test): Likewise.
53563         (atanh_test): Likewise.
53564         (atan2_test): Likewise.
53565         (cabs_test): Likewise.
53566         (cacos_test): Likewise.
53567         (cacosh_test): Likewise.
53568         (casin_test): Likewise.
53569         (casinh_test): Likewise.
53570         (catan_test): Likewise.
53571         (catanh_test): Likewise.
53572         (cbrt_test): Likewise.
53573         (ccos_test): Likewise.
53574         (ccosh_test): Likewise.
53575         (cexp_test): Likewise.
53576         (clog_test): Likewise.
53577         (clog10_test): Likewise.
53578         (cos_test): Likewise.
53579         (cos_test_tonearest): Likewise.
53580         (cos_test_towardzero): Likewise.
53581         (cos_test_downward): Likewise.
53582         (cos_test_upward): Likewise.
53583         (cosh_test): Likewise.
53584         (cosh_test_tonearest): Likewise.
53585         (cosh_test_towardzero): Likewise.
53586         (cosh_test_downward): Likewise.
53587         (cosh_test_upward): Likewise.
53588         (cpow_test): Likewise.
53589         (csin_test): Likewise.
53590         (csinh_test): Likewise.
53591         (csqrt_test): Likewise.
53592         (ctan_test): Likewise.
53593         (ctan_test_tonearest): Likewise.
53594         (ctan_test_towardzero): Likewise.
53595         (ctan_test_downward): Likewise.
53596         (ctan_test_upward): Likewise.
53597         (ctanh_test): Likewise.
53598         (ctanh_test_tonearest): Likewise.
53599         (ctanh_test_towardzero): Likewise.
53600         (ctanh_test_downward): Likewise.
53601         (ctanh_test_upward): Likewise.
53602         (erf_test): Likewise.
53603         (erfc_test): Likewise.
53604         (exp_test): Likewise.
53605         (exp_test_tonearest): Likewise.
53606         (exp_test_towardzero): Likewise.
53607         (exp_test_downward): Likewise.
53608         (exp_test_upward): Likewise.
53609         (exp10_test): Likewise.
53610         (exp2_test): Likewise.
53611         (expm1_test): Likewise.
53612         (fmod_test): Likewise.
53613         (gamma_test): Likewise.
53614         (hypot_test): Likewise.
53615         (j0_test): Likewise.
53616         (j1_test): Likewise.
53617         (jn_test): Likewise.
53618         (lgamma_test): Likewise.
53619         (log_test): Likewise.
53620         (log10_test): Likewise.
53621         (log1p_test): Likewise.
53622         (log2_test): Likewise.
53623         (logb_test_downward): Likewise.
53624         (pow_test): Likewise.
53625         (pow_test_tonearest): Likewise.
53626         (pow_test_towardzero): Likewise.
53627         (pow_test_downward): Likewise.
53628         (pow_test_upward): Likewise.
53629         (remainder_test): Likewise.
53630         (remquo_test): Likewise.
53631         (sin_test): Likewise.
53632         (sin_test_tonearest): Likewise.
53633         (sin_test_towardzero): Likewise.
53634         (sin_test_downward): Likewise.
53635         (sin_test_upward): Likewise.
53636         (sincos_test): Likewise.
53637         (sinh_test): Likewise.
53638         (sinh_test_tonearest): Likewise.
53639         (sinh_test_towardzero): Likewise.
53640         (sinh_test_downward): Likewise.
53641         (sinh_test_upward): Likewise.
53642         (sqrt_test): Likewise.
53643         (tan_test): Likewise.
53644         (tan_test_tonearest): Likewise.
53645         (tan_test_towardzero): Likewise.
53646         (tan_test_downward): Likewise.
53647         (tan_test_upward): Likewise.
53648         (tanh_test): Likewise.
53649         (tgamma_test): Likewise.
53650         (y0_test): Likewise.
53651         (y1_test): Likewise.
53652         (yn_test): Likewise.
53654         * math/gen-libm-test.pl (adjust_arg): Remove function.
53655         (special_function): Remove argument $in_func.  Only handle
53656         generating output for tables of tests, not inside functions.
53657         (parse_args): Likewise.
53658         (generate_testfile): Remove variable $in_func.  Update call to
53659         parse_args.
53660         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
53661         (MINUS_ZERO_INIT): Rename macro to minus_zero.
53662         (PLUS_INFTY_INIT): Rename macro to plus_infty.
53663         (MINUS_INFTY_INIT): Rename macro to minus_infty.
53664         (QNAN_VALUE_INIT): Rename macro to qnan_value.
53665         (MAX_VALUE_INIT): Rename macro to max_value.
53666         (MIN_VALUE_INIT): Rename macro to min_value.
53667         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
53668         (plus_zero): Remove variable.
53669         (minus_zero): Likewise.
53670         (plus_infty): Likewise.
53671         (minus_infty): Likewise.
53672         (qnan_value): Likewise.
53673         (max_value): Likewise.
53674         (min_value): Likewise.
53675         (min_subnorm_value): Likewise.
53677 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
53679         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
53680         uint64_t or uint32_t usage.
53681         * crypt/sha256-block.c: Likewise.
53682         * crypt/sha256-crypt.c: Likewise.
53683         * crypt/sha256.c: Likewise.
53684         * crypt/sha512-block.c: Likewise.
53685         * crypt/sha512-crypt.c: Likewise.
53686         * crypt/sha512.c: Likewise.
53687         * debug/backtrace-tst.c: Likewise.
53688         * debug/pcprofiledump.c: Likewise.
53689         * elf/cache.c: Likewise.
53690         * elf/dl-cache.c: Likewise.
53691         * elf/dl-misc.c: Likewise.
53692         * elf/dl-profile.c: Likewise.
53693         * elf/dl-support.c: Likewise.
53694         * elf/ldconfig.c: Likewise.
53695         * elf/sprof.c: Likewise.
53696         * iconv/dummy-repertoire.c: Likewise.
53697         * iconv/iconv_charmap.c: Likewise.
53698         * iconv/skeleton.c: Likewise.
53699         * iconvdata/8bit-generic.c: Likewise.
53700         * iconvdata/cp737.h: Likewise.
53701         * iconvdata/cp775.h: Likewise.
53702         * iconvdata/ibm1008.h: Likewise.
53703         * iconvdata/ibm1025.h: Likewise.
53704         * iconvdata/ibm1046.h: Likewise.
53705         * iconvdata/ibm1097.h: Likewise.
53706         * iconvdata/ibm1112.h: Likewise.
53707         * iconvdata/ibm1122.h: Likewise.
53708         * iconvdata/ibm1123.h: Likewise.
53709         * iconvdata/ibm1124.h: Likewise.
53710         * iconvdata/ibm1129.h: Likewise.
53711         * iconvdata/ibm1130.h: Likewise.
53712         * iconvdata/ibm1132.h: Likewise.
53713         * iconvdata/ibm1133.h: Likewise.
53714         * iconvdata/ibm1137.h: Likewise.
53715         * iconvdata/ibm1140.h: Likewise.
53716         * iconvdata/ibm1141.h: Likewise.
53717         * iconvdata/ibm1142.h: Likewise.
53718         * iconvdata/ibm1143.h: Likewise.
53719         * iconvdata/ibm1144.h: Likewise.
53720         * iconvdata/ibm1145.h: Likewise.
53721         * iconvdata/ibm1146.h: Likewise.
53722         * iconvdata/ibm1147.h: Likewise.
53723         * iconvdata/ibm1148.h: Likewise.
53724         * iconvdata/ibm1149.h: Likewise.
53725         * iconvdata/ibm1153.h: Likewise.
53726         * iconvdata/ibm1154.h: Likewise.
53727         * iconvdata/ibm1155.h: Likewise.
53728         * iconvdata/ibm1156.h: Likewise.
53729         * iconvdata/ibm1157.h: Likewise.
53730         * iconvdata/ibm1158.h: Likewise.
53731         * iconvdata/ibm1160.h: Likewise.
53732         * iconvdata/ibm1161.h: Likewise.
53733         * iconvdata/ibm1162.h: Likewise.
53734         * iconvdata/ibm1163.h: Likewise.
53735         * iconvdata/ibm1164.h: Likewise.
53736         * iconvdata/ibm1166.h: Likewise.
53737         * iconvdata/ibm1167.h: Likewise.
53738         * iconvdata/ibm12712.h: Likewise.
53739         * iconvdata/ibm1390.h: Likewise.
53740         * iconvdata/ibm1399.h: Likewise.
53741         * iconvdata/ibm16804.h: Likewise.
53742         * iconvdata/ibm4517.h: Likewise.
53743         * iconvdata/ibm4899.h: Likewise.
53744         * iconvdata/ibm4909.h: Likewise.
53745         * iconvdata/ibm4971.h: Likewise.
53746         * iconvdata/ibm5347.h: Likewise.
53747         * iconvdata/ibm803.h: Likewise.
53748         * iconvdata/ibm856.h: Likewise.
53749         * iconvdata/ibm901.h: Likewise.
53750         * iconvdata/ibm902.h: Likewise.
53751         * iconvdata/ibm9030.h: Likewise.
53752         * iconvdata/ibm9066.h: Likewise.
53753         * iconvdata/ibm921.h: Likewise.
53754         * iconvdata/ibm922.h: Likewise.
53755         * iconvdata/ibm9448.h: Likewise.
53756         * iconvdata/isiri-3342.h: Likewise.
53757         * iconvdata/jis0201.h: Likewise.
53758         * include/link.h: Likewise.
53759         * include/netdb.h: Likewise.
53760         * inet/check_native.c: Likewise.
53761         * inet/check_pf.c: Likewise.
53762         * inet/getipv4sourcefilter.c: Likewise.
53763         * inet/getnameinfo.c: Likewise.
53764         * inet/getsourcefilter.c: Likewise.
53765         * inet/htonl.c: Likewise.
53766         * inet/setipv4sourcefilter.c: Likewise.
53767         * inet/setsourcefilter.c: Likewise.
53768         * inet/test-inet6_opt.c: Likewise.
53769         * inet/tst-network.c: Likewise.
53770         * locale/C-collate.c: Likewise.
53771         * locale/C-ctype.c: Likewise.
53772         * locale/C-time.c: Likewise.
53773         * locale/C-translit.h: Likewise.
53774         * locale/loadarchive.c: Likewise.
53775         * locale/programs/3level.h: Likewise.
53776         * locale/programs/charmap.c: Likewise.
53777         * locale/programs/charmap.h: Likewise.
53778         * locale/programs/ld-address.c: Likewise.
53779         * locale/programs/ld-collate.c: Likewise.
53780         * locale/programs/ld-ctype.c: Likewise.
53781         * locale/programs/ld-identification.c: Likewise.
53782         * locale/programs/ld-measurement.c: Likewise.
53783         * locale/programs/ld-messages.c: Likewise.
53784         * locale/programs/ld-monetary.c: Likewise.
53785         * locale/programs/ld-name.c: Likewise.
53786         * locale/programs/ld-numeric.c: Likewise.
53787         * locale/programs/ld-paper.c: Likewise.
53788         * locale/programs/ld-telephone.c: Likewise.
53789         * locale/programs/ld-time.c: Likewise.
53790         * locale/programs/linereader.c: Likewise.
53791         * locale/programs/locale.c: Likewise.
53792         * locale/programs/locarchive.c: Likewise.
53793         * locale/programs/locfile.h: Likewise.
53794         * locale/programs/repertoire.c: Likewise.
53795         * locale/programs/simple-hash.c: Likewise.
53796         * locale/programs/simple-hash.h: Likewise.
53797         * malloc/memusage.c: Likewise.
53798         * malloc/memusagestat.c: Likewise.
53799         * nis/nis_defaults.c: Likewise.
53800         * nis/nis_hash.c: Likewise.
53801         * nis/nis_print.c: Likewise.
53802         * nis/nis_xdr.c: Likewise.
53803         * nscd/connections.c: Likewise.
53804         * nscd/hstcache.c: Likewise.
53805         * nscd/nscd_gethst_r.c: Likewise.
53806         * nscd/nscd_getserv_r.c: Likewise.
53807         * nscd/nscd_helper.c: Likewise.
53808         * nscd/servicescache.c: Likewise.
53809         * nss/makedb.c: Likewise.
53810         * nss/nss_db/db-XXX.c: Likewise.
53811         * nss/nss_db/db-initgroups.c: Likewise.
53812         * nss/nss_db/db-netgrp.c: Likewise.
53813         * nss/nss_files/files-network.c: Likewise.
53814         * nss/nss_files/files-parse.c: Likewise.
53815         * posix/bug-regex5.c: Likewise.
53816         * posix/fnmatch_loop.c: Likewise.
53817         * posix/regcomp.c: Likewise.
53818         * posix/regexec.c: Likewise.
53819         * posix/tst-rfc3484-2.c: Likewise.
53820         * posix/tst-rfc3484-3.c: Likewise.
53821         * posix/tst-rfc3484.c: Likewise.
53822         * resolv/nss_dns/dns-canon.c: Likewise.
53823         * resolv/nss_dns/dns-network.c: Likewise.
53824         * resolv/res_init.c: Likewise.
53825         * resolv/res_mkquery.c: Likewise.
53826         * resolv/tst-aton.c: Likewise.
53827         * stdlib/cxa_atexit.c: Likewise.
53828         * stdlib/cxa_finalize.c: Likewise.
53829         * stdlib/gen-fpioconst.c: Likewise.
53830         * stdlib/strtol_l.c: Likewise.
53831         * string/tst-endian.c: Likewise.
53832         * sunrpc/auth_des.c: Likewise.
53833         * sunrpc/clnt_udp.c: Likewise.
53834         * sunrpc/rtime.c: Likewise.
53835         * sunrpc/svcauth_des.c: Likewise.
53836         * sunrpc/xdr.c: Likewise.
53837         * sunrpc/xdr_intXX_t.c: Likewise.
53838         * sunrpc/xdr_rec.c: Likewise.
53839         * sysdeps/generic/ldconfig.h: Likewise.
53840         * sysdeps/generic/ldsodefs.h: Likewise.
53841         * sysdeps/generic/memusage.h: Likewise.
53842         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
53843         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
53844         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
53845         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
53846         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53848         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
53849         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
53850         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
53851         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
53852         * sysdeps/posix/getaddrinfo.c: Likewise.
53853         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53854         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53855         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53856         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53857         * sysdeps/powerpc/test-gettimebase.c: Likewise.
53858         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
53859         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
53860         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
53861         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
53862         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
53863         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53864         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53865         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
53866         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
53867         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
53868         * sysdeps/x86_64/dl-tls.h: Likewise.
53869         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
53870         * time/alt_digit.c: Likewise.
53871         * time/era.c: Likewise.
53872         * wcsmbs/tst-c16c32-1.c: Likewise.
53874 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53876         * math/libm-test.inc (struct test_sincos_data): New type.
53877         (RUN_TEST_LOOP_sincos): New macro.
53878         (sincos_test_data): New variable.
53879         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
53881 2013-05-16  Richard Henderson  <rth@redhat.com>
53883         * math/atest-exp2.c (LIMB64): New macro.
53884         (CONSTSZ): New macro.
53885         (mp_exp1, mp_exp_m1, mp_log2): New variables.
53886         (hexdig): Move ...
53887         (print_mpn_fp): ... to function scope.
53888         (read_mpn_hex): Remove.
53889         (get_log2): Remove.
53890         (exp2_mpn): Use mp_log2.
53891         (main): Use mp_exp1.
53893 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
53895         * math/libm-test.inc: Remove comment about not testing "inexact"
53896         exceptions.
53897         (INEXACT_EXCEPTION): New macro.
53898         (NO_INEXACT_EXCEPTION): Likewise.
53899         (INVALID_EXCEPTION_OK): Update value.
53900         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
53901         (OVERFLOW_EXCEPTION_OK): Likewise.
53902         (UNDERFLOW_EXCEPTION_OK): Likewise.
53903         (IGNORE_ZERO_INF_SIGN): Likewise.
53904         (ERRNO_UNCHANGED): Likewise.
53905         (ERRNO_EDOM): Likewise.
53906         (ERRNO_ERANGE): Likewise.
53907         (test_exceptions): Handle testing "inexact" exceptions.
53908         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
53909         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
53910         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
53911         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
53912         INEXACT_EXCEPTION.
53913         (rint_towardzero_test_data): Likewise.
53914         (rint_downward_test_data): Likewise.
53915         (rint_upward_test_data): Likewise.
53917         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
53918         with OVERFLOW_EXCEPTION.
53919         (exp10_test_data): Likewise.
53920         (exp2_test_data): Likewise.
53921         (expm1_test_data): Likewise.
53922         (lgamma_test_data): Likewise.
53923         (pow_test_data): Likewise.
53924         (tgamma_test_data): Likewise.
53925         (yn_test_data): Remove duplicate test of overflow.
53927         * math/libm-test.inc (struct test_cc_c_data): New type.
53928         (RUN_TEST_LOOP_cc_c): New macro.
53929         (cpow_test_data): New variable.
53930         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
53932         * math/libm-test.inc (struct test_f_L_data): New type.
53933         (RUN_TEST_LOOP_f_L): New macro.
53934         (llrint_test_data): New variable.
53935         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
53936         (llrint_tonearest_test_data): New variable.
53937         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
53938         (llrint_towardzero_test_data): New variable.
53939         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
53940         (llrint_downward_test_data): New variable.
53941         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
53942         (llrint_upward_test_data): New variable.
53943         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
53944         (llround_test_data): New variable.
53945         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
53947 2013-05-13  Peter Collingbourne  <pcc@google.com>
53949         * math/atest-exp2.c (get_log2): Remove const attribute.
53951 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53953         * math/libm-test.inc (struct test_f_l_data): New type.
53954         (RUN_TEST_LOOP_f_l): New macro.
53955         (lrint_test_data): New variable.
53956         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
53957         (lrint_tonearest_test_data): New variable.
53958         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
53959         (lrint_towardzero_test_data): New variable.
53960         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
53961         (lrint_downward_test_data): New variable.
53962         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
53963         (lrint_upward_test_data): New variable.
53964         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
53965         (lround_test_data): New variable.
53966         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
53968 2013-05-15  Peter Collingbourne  <pcc@google.com>
53970         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
53971         (EXTRACT_WORDS64) Use where appropriate.
53972         (INSERT_WORDS64) Likewise.
53974         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
53975         constraints with x constraints.
53976         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
53978         * malloc/obstack.c (_obstack_compat): Add initializer.
53980 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
53982         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
53983         si_trapno and add si_addr_lsb to _sifields.sigfault.
53984         (si_trapno): Remove macro.
53985         (si_addr_lsb): Define new macro.
53986         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
53988 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
53990         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
53991         instead of TEST_f_l.
53992         (llrint_test_tonearest): Likewise.
53993         (llrint_test_towardzero): Likewise.
53994         (llrint_test_downward): Likewise.
53995         (llrint_test_upward): Likewise.
53996         (llround_test): Likewise.
53998         * math/libm-test.inc (struct test_f_i_data): Add comment.
53999         (RUN_TEST_LOOP_f_b): New macro.
54000         (RUN_TEST_LOOP_f_b_tg): Likewise.
54001         (finite_test_data): New variable.
54002         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
54003         (isfinite_test_data): New variable.
54004         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54005         (isinf_test_data): New variable.
54006         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54007         (isnan_test_data): New variable.
54008         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54009         (isnormal_test_data): New variable.
54010         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54011         (issignaling_test_data): New variable.
54012         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54013         (signbit_test_data): New variable.
54014         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
54016         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
54017         with INVALID_EXCEPTION.
54018         (acosh_test_data): Likewise.
54019         (asin_test_data): Likewise.
54020         (atanh_test_data): Likewise.
54021         (fmod_test_data): Likewise.
54022         (log_test_data): Likewise.
54023         (log10_test_data): Likewise.
54024         (log2_test_data): Likewise.
54025         (pow_test_data): Likewise.
54026         (sqrt_test_data): Likewise.
54027         (y0_test_data): Likewise.
54028         (y1_test_data): Likewise.
54029         (yn_test_data): Likewise.
54031         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
54032         function contents.
54034         * math/libm-test.inc (struct test_ff_i_data): New type.
54035         (RUN_TEST_LOOP_ff_i_tg): New macro.
54036         (isgreater_test_data): New variable.
54037         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54038         (isgreaterequal_test_data): New variable.
54039         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54040         (isless_test_data): New variable.
54041         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54042         (islessequal_test_data): New variable.
54043         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54044         (islessgreater_test_data): New variable.
54045         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54046         (isunordered_test_data): New variable.
54047         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
54049 2013-05-14  David S. Miller  <davem@davemloft.net>
54051         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54053 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
54055         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
54057         * math/libm-test.inc (struct test_fF_f1_data): Change type of
54058         extra_test to int.
54059         (struct test_f_i_data): Change type of max_ulp to int.
54061         * math/libm-test.inc (test_ffI_f1_data): New type.
54062         (RUN_TEST_LOOP_ffI_f1): New macro.
54063         (remquo_test_data): New variable.
54064         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
54066         * setjmp/tst-setjmp-fp.c: New file.
54067         * setjmp/Makefile (tests): Add tst-setjmp-fp.
54068         (link-libm): New variable.
54069         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
54071         * math/libm-test.inc (struct test_f_i_data): New type.
54072         (RUN_TEST_LOOP_f_i): New macro.
54073         (RUN_TEST_LOOP_f_i_tg): Likewise.
54074         (fpclassify_test_data): New variable.
54075         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
54076         (ilogb_test_data): New variable.
54077         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
54079         * math/libm-test.inc (scalbln_test): Correct function name in END
54080         call.
54082         * math/libm-test.inc (struct test_f_f1_data): Add comment.
54083         (RUN_TEST_LOOP_fI_f1): New macro.
54084         (frexp_test_data): New variable.
54085         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
54087         * math/libm-test.inc (struct test_fF_f1_data): New type.
54088         (RUN_TEST_LOOP_fF_f1): New macro.
54089         (modf_test_data): New variable.
54090         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
54092         * math/libm-test.inc (struct test_f_f1_data): New type.
54093         (RUN_TEST_LOOP_f_f1): New macro.
54094         (gamma_test_data): New variable.
54095         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54096         (lgamma_test_data): New variable.
54097         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
54099 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
54101         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
54102         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
54103         (main): Comment "tls" pseudo-hwcap.
54105 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
54107         * math/libm-test.inc (struct test_fl_f_data): New type.
54108         (RUN_TEST_LOOP_fl_f): New variable.
54109         (scalbln_test_data): New variable.
54110         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
54112         * math/libm-test.inc (struct test_fi_f_data): New type.
54113         (RUN_TEST_LOOP_fi_f): New macro.
54114         (ldexp_test_data): New variable.
54115         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
54116         (scalbn_test_data): New variable.
54117         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
54119         * math/libm-test.inc (struct test_c_f_data): New type.
54120         (RUN_TEST_LOOP_c_f): New macro.
54121         (cabs_test_data): New variable.
54122         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
54123         (carg_test_data): New variable.
54124         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
54125         (cimag_test_data): New variable.
54126         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
54127         (creal_test_data): New variable.
54128         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
54130         * math/libm-test.inc (struct test_if_f_data): New type.
54131         (RUN_TEST_LOOP_if_f): New macro.
54132         (jn_test_data): New variable.
54133         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
54134         (yn_test_data): New variable.
54135         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
54137         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
54139 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54141         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
54142         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
54144 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54146         * benchtests/Makefile (CPPFLAGS-nonlib): Add
54147         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
54148         (bench-deps): Add bench-timing.h.
54149         * benchtests-bench-skeleton.c: Include bench-timing.h.
54150         (main): Use TIMING_* macros instead of clock_gettime.
54151         * benchtests/bench-timing.h: New file.
54153         [BZ #14582]
54154         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
54155         Renamed from _LIB_VERSION.
54156         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
54158 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
54160         * math/libm-test.inc (struct test_fff_f_data): New type.
54161         (RUN_TEST_LOOP_fff_f): New macro.
54162         (fma_test_data): New variable.
54163         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
54164         (fma_towardzero_test_data): New variable.
54165         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
54166         (fma_downward_test_data): New variable.
54167         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
54168         (fma_upward_test_data): New variable.
54169         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
54171         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
54172         (struct test_c_c_data): New type.
54173         (RUN_TEST_LOOP_c_c): New macro.
54174         (cacos_test_data): New variable.
54175         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
54176         (cacosh_test_data): New variable.
54177         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
54178         (casin_test_data): New variable.
54179         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
54180         (casinh_test_data): New variable.
54181         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
54182         (catan_test_data): New variable.
54183         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
54184         (catanh_test_data): New variable.
54185         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
54186         (ccos_test_data): New variable.
54187         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
54188         (ccosh_test_data): New variable.
54189         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
54190         (cexp_test_data): New variable.
54191         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
54192         (clog_test_data): New variable.
54193         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
54194         (clog10_test_data): New variable.
54195         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
54196         (conj_test_data): New variable.
54197         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
54198         (cproj_test_data): New variable.
54199         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
54200         (csin_test_data): New variable.
54201         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
54202         (csinh_test_data): New variable.
54203         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
54204         (csqrt_test_data): New variable.
54205         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
54206         (ctan_test_data): New variable.
54207         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
54208         (ctan_tonearest_test_data): New variable.
54209         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54210         (ctan_towardzero_test_data): New variable.
54211         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54212         (ctan_downward_test_data): New variable.
54213         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54214         (ctan_upward_test_data): New variable.
54215         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54216         (ctanh_test_data): New variable.
54217         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
54218         (ctanh_tonearest_test_data): New variable.
54219         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
54220         (ctanh_towardzero_test_data): New variable.
54221         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
54222         (ctanh_downward_test_data): New variable.
54223         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
54224         (ctanh_upward_test_data): New variable.
54225         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
54226         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
54227         of BUILD_COMPLEX.
54229         * math/libm-test.inc (struct test_ff_f_data): New type.
54230         (struct test_ff_f_data_nexttoward): Likewise.
54231         (RUN_TEST_LOOP_2_f): New macro.
54232         (RUN_TEST_LOOP_ff_f): Likewise.
54233         (atan2_test_data): New variable.
54234         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
54235         (copysign_test_data): New variable.
54236         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
54237         (fdim_test_data): New variable.
54238         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
54239         (fmax_test_data): New variable.
54240         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
54241         (fmin_test_data): New variable.
54242         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
54243         (fmod_test_data): New variable.
54244         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
54245         (hypot_test_data): New variable.
54246         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
54247         (nextafter_test_data): New variable.
54248         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
54249         (nexttoward_test_data): New variable.
54250         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
54251         (pow_test_data): New variable.
54252         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
54253         (pow_tonearest_test_data): New variable.
54254         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
54255         (pow_towardzero_test_data): New variable.
54256         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
54257         (pow_downward_test_data): New variable.
54258         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
54259         (pow_upward_test_data): New variable.
54260         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
54261         (remainder_test_data): New variable.
54262         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
54263         (scalb_test_data): New variable.
54264         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
54265         * sysdeps/i386/fpu/libm-test-ulps: Update.
54267 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
54269         * math/libm-test.inc (fma_test): Use max_value instead of local
54270         variable fltmax.
54271         (nextafter_test): Likewise.
54273         * math/libm-test.inc (acos_towardzero_test_data): New variable.
54274         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54275         (acos_downward_test_data): New variable.
54276         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54277         (acos_upward_test_data): New variable.
54278         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54279         (acosh_test_data): New variable.
54280         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
54281         (asin_test_data): New variable.
54282         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
54283         (asin_tonearest_test_data): New variable.
54284         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54285         (asin_towardzero_test_data): New variable.
54286         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54287         (asin_downward_test_data): New variable.
54288         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54289         (asin_upward_test_data): New variable.
54290         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54291         (asinh_test_data): New variable.
54292         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
54293         (atan_test_data): New variable.
54294         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
54295         (atanh_test_data): New variable.
54296         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
54297         (cbrt_test_data): New variable.
54298         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
54299         (ceil_test_data): New variable.
54300         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
54301         (cos_test_data): New variable.
54302         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
54303         (cos_tonearest_test_data): New variable.
54304         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54305         (cos_towardzero_test_data): New variable.
54306         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54307         (cos_downward_test_data): New variable.
54308         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54309         (cos_upward_test_data): New variable.
54310         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54311         (cosh_test_data): New variable.
54312         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
54313         (cosh_tonearest_test_data): New variable.
54314         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54315         (cosh_towardzero_test_data): New variable.
54316         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54317         (cosh_downward_test_data): New variable.
54318         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54319         (cosh_upward_test_data): New variable.
54320         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54321         (erf_test_data): New variable.
54322         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
54323         (erfc_test_data): New variable.
54324         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
54325         (exp_test_data): New variable.
54326         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
54327         (exp_tonearest_test_data): New variable.
54328         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54329         (exp_towardzero_test_data): New variable.
54330         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54331         (exp_downward_test_data): New variable.
54332         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54333         (exp_upward_test_data): New variable.
54334         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54335         (exp10_test_data): New variable.
54336         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
54337         (exp2_test_data): New variable.
54338         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
54339         (expm1_test_data): New variable.
54340         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
54341         (fabs_test_data): New variable.
54342         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
54343         (floor_test_data): New variable.
54344         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
54345         (j0_test_data): New variable.
54346         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
54347         (j1_test_data): New variable.
54348         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
54349         (log_test_data): New variable.
54350         (log_test): Run tests with RUN_TEST_LOOP_f_f.
54351         (log10_test_data): New variable.
54352         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
54353         (log1p_test_data): New variable.
54354         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
54355         (log2_test_data): New variable.
54356         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
54357         (logb_test_data): New variable.
54358         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
54359         (logb_downward_test_data): New variable.
54360         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54361         (nearbyint_test_data): New variable.
54362         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
54363         (rint_test_data): New variable.
54364         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
54365         (rint_tonearest_test_data): New variable.
54366         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54367         (rint_towardzero_test_data): New variable.
54368         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54369         (rint_downward_test_data): New variable.
54370         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54371         (rint_upward_test_data): New variable.
54372         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54373         (round_test_data): New variable.
54374         (round_test): Run tests with RUN_TEST_LOOP_f_f.
54375         (sin_test_data): New variable.
54376         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
54377         (sin_tonearest_test_data): New variable.
54378         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54379         (sin_towardzero_test_data): New variable.
54380         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54381         (sin_downward_test_data): New variable.
54382         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54383         (sin_upward_test_data): New variable.
54384         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54385         (sinh_test_data): New variable.
54386         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
54387         (sinh_tonearest_test_data): New variable.
54388         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54389         (sinh_towardzero_test_data): New variable.
54390         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54391         (sinh_downward_test_data): New variable.
54392         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54393         (sinh_upward_test_data): New variable.
54394         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54395         (sqrt_test_data): New variable.
54396         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
54397         (tan_test_data): New variable.
54398         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
54399         (tan_tonearest_test_data): New variable.
54400         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54401         (tan_towardzero_test_data): New variable.
54402         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
54403         (tan_downward_test_data): New variable.
54404         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
54405         (tan_upward_test_data): New variable.
54406         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
54407         (tanh_test_data): New variable.
54408         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
54409         (tgamma_test_data): New variable.
54410         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
54411         (trunc_test_data): New variable.
54412         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
54413         (y0_test_data): New variable.
54414         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
54415         (y1_test_data): New variable.
54416         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
54417         (significand_test_data): New variable.
54418         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
54420 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
54422         [BZ #12387]
54423         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
54425 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
54427         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
54429 2013-05-10  Andreas Jaeger  <aj@suse.de>
54431         [BZ #15448]
54432         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
54433         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
54435 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54437         * math/gen-libm-test.pl (adjust_arg): New function.
54438         (special_functions): Handle generating output in both functions
54439         and arrays.
54440         (parse_args): Likewise.
54441         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
54442         $in_func argument to parse_args.
54443         * math/libm-test.inc (struct test_f_f_data): New type.
54444         (IF_ROUND_INIT_): New macro.
54445         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
54446         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54447         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54448         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54449         (ROUND_RESTORE_): Likewise.
54450         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
54451         (ROUND_RESTORE_FE_TONEAREST): Likewise.
54452         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
54453         (ROUND_RESTORE_FE_UPWARD): Likewise.
54454         (RUN_TEST_LOOP_f_f): New macro.
54455         (acos_test_data): New variable.
54456         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
54457         (acos_tonearest_test_data): New variable.
54458         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
54460 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54462         * benchtests/bench-skeleton.c (startup): Fix coding style.
54464 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
54466         [BZ #6809]
54467         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
54468         negative infinity argument.
54469         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
54470         negative infinity argument.
54471         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
54472         negative infinity argument.
54473         * math/libm-test.inc (tgamma_test): Expect errno to be set for
54474         domain errors.
54476 2013-05-10  Florian Weimer  <fweimer@redhat.com>
54478         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
54479         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
54480         * iconv/iconv_prog.c (main): Likewise.
54481         * locale/programs/charmap-dir.c (charmap_readdir)
54482         (fopen_uncompressed): Likewise.
54483         * locale/programs/locfile.c (siblings_uncached)
54484         (write_locale_data): Use lstat64 instead of lstat.
54485         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
54486         stat.
54488 2013-05-10  Andreas Jaeger  <aj@suse.de>
54490         [BZ #15395]
54491         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
54492         localization.
54493         Include <locale.h>.
54495 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
54497         * elf/dl-close.c (_dl_close_worker): Add comments.
54499 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
54501         [BZ #15359]
54502         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
54503         high part of pi/2.
54504         (__ieee754_rem_pio2l): Update comments.
54506         [BZ #15429]
54507         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
54508         high part of pi/2.
54509         (__ieee754_rem_pio2l): Update comments.
54511         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
54512         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
54514         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
54515         M_PI_4l.
54517         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
54518         (M_PI_34_LOG10El): Likewise.
54519         (M_PI2_LOG10El): Likewise.
54520         (M_PI4_LOG10El): Likewise.
54521         (M_PI_LOG10El): Likewise.
54523 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54525         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54527 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
54529         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
54530         (MINUS_ZERO_INIT): Likewise.
54531         (PLUS_INFTY_INIT): Likewise.
54532         (MINUS_INFTY_INIT): Likewise.
54533         (QNAN_VALUE_INIT): Likewise.
54534         (MAX_VALUE_INIT): Likewise.
54535         (MIN_VALUE_INIT): Likewise.
54536         (MIN_SUBNORM_VALUE_INIT): Likewise.
54537         (plus_zero): Initialize with PLUS_ZERO_INIT.
54538         (minus_zero): Initialize with MINUS_ZERO_INIT.
54539         (plus_infty): Initialize with PLUS_INFTY_INIT.
54540         (minus_infty): Initialize with MINUS_INFTY_INIT.
54541         (qnan_value): Initialize with QNAN_VALUE_INIT.
54542         (max_value): Initialize with MAX_VALUE_INIT.
54543         (min_value): Initialize with MIN_VALUE_INIT.
54544         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
54546         * math/libm-test.inc (RUN_TEST_if_f): New macro.
54547         (jn_test): Use TEST_if_f instead of TEST_ff_f.
54548         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
54549         (yn_test): Use TEST_if_f instead of TEST_ff_f.
54551         * math/libm-test.inc (RUN_TEST_f_f): New macro.
54552         (RUN_TEST_2_f): Likewise.
54553         (RUN_TEST_ff_f): Likewise.
54554         (RUN_TEST_fi_f): Likewise.
54555         (RUN_TEST_fl_f): Likewise.
54556         (RUN_TEST_fff_f): Likewise.
54557         (RUN_TEST_c_f): Likewise.
54558         (RUN_TEST_f_f1): Likewise.
54559         (RUN_TEST_fF_f1): Likewise.
54560         (RUN_TEST_fI_f1): Likewise.
54561         (RUN_TEST_ffI_f1): Likewise.
54562         (RUN_TEST_c_c): Likewise.
54563         (RUN_TEST_cc_c): Likewise.
54564         (RUN_TEST_f_i): Likewise.
54565         (RUN_TEST_f_i_tg): Likewise.
54566         (RUN_TEST_ff_i_tg): Likewise.
54567         (RUN_TEST_f_b): Likewise.
54568         (RUN_TEST_f_b_tg): Likewise.
54569         (RUN_TEST_f_l): Likewise.
54570         (RUN_TEST_f_L): Likewise.
54571         (RUN_TEST_sincos): Likewise.
54572         * math/gen-libm-test.pl (new_test): Take new argument to indicate
54573         whether to show exceptions.  Do not include ");\n" in return
54574         value.
54575         (special_functions): Output call to RUN_TEST_sincos instead of
54576         check_float calls.  Update calls to new_test.
54577         (parse_args): Output call to single RUN_TEST_* macro instead of
54578         check_* calls and other assignments.  Update calls to new_test.
54580         [BZ #2546]
54581         [BZ #2560]
54582         [BZ #5159]
54583         [BZ #15426]
54584         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
54585         input to result for tgamma overflow.
54586         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
54587         (gamma_coeff): New variable.
54588         (NCOEFF): New macro.
54589         (gamma_positive): New function.
54590         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
54591         underflow here.  Use gamma_positive instead of exp (lgamma) for
54592         other arguments.
54593         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
54594         (gamma_coeff): New variable.
54595         (NCOEFF): New macro.
54596         (gammaf_positive): New function.
54597         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
54598         underflow here.  Use gamma_positive instead of exp (lgamma) for
54599         other arguments.
54600         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
54601         (gamma_coeff): New variable.
54602         (NCOEFF): New macro.
54603         (gammal_positive): New function.
54604         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
54605         underflow here.  Use gamma_positive instead of exp (lgamma) for
54606         other arguments.
54607         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
54608         (gamma_coeff): New variable.
54609         (NCOEFF): New macro.
54610         (gammal_positive): New function.
54611         (__ieee754_gammal_r): Handle positive infinity, overflow and
54612         underflow here.  Handle NaN the same as positive infinity.  Remove
54613         check x < 0xffffffff for negative integers.  Use gamma_positive
54614         instead of exp (lgamma) for other arguments.
54615         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
54616         (gamma_coeff): New variable.
54617         (NCOEFF): New macro.
54618         (gammal_positive): New function.
54619         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
54620         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
54621         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
54622         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
54623         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
54624         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
54625         * sysdeps/generic/math_private.h (__gamma_productf): New
54626         prototype.
54627         (__gamma_product): Likewise.
54628         (__gamma_productl): Likewise.
54629         * math/Makefile (libm-calls): Add gamma_product.
54630         * math/libm-test.inc (tgamma_test): Add more tests.
54631         * sysdeps/i386/fpu/libm-test-ulps: Update.
54632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54634 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
54636         * benchtests/bench-skeleton.c (main): Preheat CPU.
54638 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
54640         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
54642 2013-05-07  Roland McGrath  <roland@hack.frob.com>
54644         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
54645         and _dl_skip_args_internal.
54647 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
54649         * manual/message.texi (Message Translation): Talk about users.
54650         Message to key mapping impacts design.
54652 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54654         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
54656         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
54658         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
54659         * sysdeps/wordsize-64/glob64.c: ... here.
54661         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
54662         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
54663         New macros.
54665         * debug/getlogin_r_chk.c: Moved to ...
54666         * login/getlogin_r_chk.c: ... here.
54667         * debug/Makefile (routines): Move getlogin_r_chk to ...
54668         * login/Makefile (routines): ... here.
54669         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
54670         * login/Versions (libc: GLIBC_2.4): ... here.
54672         * io/poll.c (__poll): Renamed from poll.
54673         Add libc_hidden_def.
54674         (poll): Define as weak alias.
54676         * debug/ptsname_r_chk.c: Moved to ...
54677         * login/ptsname_r_chk.c: ... here.
54678         * debug/Makefile (routines): Move ptsname_r_chk to ...
54679         * login/Makefile (routines): ... here.
54680         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
54681         * login/Versions (libc: GLIBC_2.4): ... here.
54683         * posix/getlogin.c: Moved to ...
54684         * login/getlogin.c: ... here.
54685         * posix/getlogin_r.c: Moved to ...
54686         * login/getlogin_r.c: ... here.
54687         * posix/getlogin_r.c: Moved to ...
54688         * login/getlogin_r.c: ... here.
54689         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
54690         * login/Makefile (routines): ... here.
54691         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
54692         * login/Versions (libc: GLIBC_2.0): ... here.
54694         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
54695         (setrlimit): Define as weak alias.
54697         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
54698         Call __ names for open, ftruncate, and close.
54699         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
54700         (truncate): Define as weak alias.
54702 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
54704         * math/gen-libm-test.pl (parse_args): Initialize x before each
54705         test of frexp, modf and remquo.
54707         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
54708         test signgam value.
54710 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54712         [BZ #15418]
54713         [BZ #15419]
54714         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
54715         internal tests.
54716         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
54718 2013-05-06  Roland McGrath  <roland@hack.frob.com>
54720         * elf/dl-writev.h: New file.
54721         * elf/dl-misc.c: Include it.
54722         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
54723         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
54725 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
54727         * math/libm-test.inc (noXFails): Remove variable.
54728         (noXPasses): Likewise.
54729         (BUILD_COMPLEX_INT): Remove macro.
54730         (print_screen): Remove xfail argument.
54731         (print_screen_max_error): Likewise.
54732         (update_stats): Likewise.
54733         (print_max_error): Likewise.  Update calls to other affected
54734         functions.
54735         (print_complex_max_error): Likewise.
54736         (test_single_exception): Update calls to print_screen.
54737         (test_single_errno): Likewise.
54738         (check_float_internal): Remove xfail argument.  Update calls to
54739         other affected functions.
54740         (check_float): Likewise.
54741         (check_complex): Likewise.
54742         (check_int): Likewise.
54743         (check_long): Likewise.
54744         (check_bool): Likewise.
54745         (check_longlong): Likewise.
54746         (main): Don't print noXFails and noXPasses.
54747         * math/gen-libm-test.pl (top level): Don't mention expected
54748         failure handling in comment.
54749         (new_test): Don't handle expected failures.
54750         (parse_args): Don't mention expected failure handling in comment.
54751         (generate_testfile): Don't handle expected failures.
54752         (parse_ulps): Likewise.
54753         (print_ulps_file): Likewise.
54754         (get_failure): Remove function.
54755         (output_test): Don't handle expected failures.
54756         * make/README.libm-test: Don't mention expected failure handling.
54758         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
54759         (minus_zero): Likewise.
54760         (plus_infty): Likewise.
54761         (minus_infty): Likewise.
54762         (qnan_value): Likewise.
54763         (max_value): Likewise.
54764         (min_value): Likewise.
54765         (min_subnorm_value): Likewise.
54766         (initialize): Do not initialize those variables dynamically.
54768 2013-05-03  Roland McGrath  <roland@hack.frob.com>
54770         * io/open.c (__open_2): Moved to ...
54771         * io/open_2.c: ... this new file.
54772         * io/open64.c (__open64_2): Moved to ...
54773         * io/open64_2.c: ... this new file.
54774         * io/openat.c (__openat_2): Moved to ...
54775         * io/openat_2.c: ... this new file.
54776         * io/openat64.c (__openat64_2): Moved to ...
54777         * io/openat64_2.c: ... this new file.
54778         * io/Makefile (routines): Add them.
54779         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
54780         * sysdeps/unix/sysv/linux/open_2.c: File removed.
54781         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
54782         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
54783         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
54784         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
54785         (__openat64): Add hidden_ver.
54786         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
54787         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
54789         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
54790         Separately conditionalize setting of GLRO(dl_sysinfo) so
54791         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
54792         as well, but the actual setting is only under [NEED_DL_SYSINFO].
54794 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54796         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
54797         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
54798         definition.
54799         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
54800         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54801         (_libc_vdso_platform_setup): Add __vdso_time initialization.
54802         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
54803         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
54805 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
54807         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
54808         test signgam value.
54810         * math/libm-test.inc (hypot_test): Do not use
54811         IGNORE_ZERO_INF_SIGN.
54813 2013-05-03  Andreas Jaeger  <aj@suse.de>
54815         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
54816         Linux 3.9.
54817         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
54818         (PF_MAX): Adjust for VSOCK change.
54820 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54824 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
54826         [BZ #15264]
54827         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
54828         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
54829         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
54831 2013-05-02  David S. Miller  <davem@davemloft.net>
54833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54835 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
54837         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
54839 2013-05-01  Roland McGrath  <roland@hack.frob.com>
54841         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
54843 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
54845         [BZ #14952]
54846         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
54847         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54848         Use __attribute__ ((__gnu_inline__)).
54849         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
54850         Don't use __attribute__ ((__gnu_inline__)).
54852 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
54854         [BZ #15423]
54855         * math/s_catan.c (__catan): Handle small real or imaginary part of
54856         input specially to avoid spurious underflow.
54857         * math/s_catanf.c (__catanf): Likewise.
54858         * math/s_catanh.c (__catanh): Likewise.
54859         * math/s_catanhf.c (__catanhf): Likewise.
54860         * math/s_catanhl.c (__catanhl): Likewise.
54861         * math/s_catanl.c (__catanl): Likewise.
54862         * math/libm-test.inc (catan_test): Add more tests.
54863         (catanh_test): Likewise.
54864         * sysdeps/i386/fpu/libm-test-ulps: Update.
54865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54867 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54871 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
54873         [BZ #15416]
54874         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
54875         accurately for denominator in atan2.
54876         * math/s_catanf.c (__catanf): Likewise.
54877         * math/s_catanh.c (__catanh): Likewise.
54878         * math/s_catanhf.c (__catanhf): Likewise.
54879         * math/s_catanhl.c (__catanhl): Likewise.
54880         * math/s_catanl.c (__catanl): Likewise.
54881         * math/libm-test.inc (catan_test): Add more tests.
54882         (catanh_test): Likewise.
54883         * sysdeps/i386/fpu/libm-test-ulps: Update.
54884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54886 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
54888         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
54890         * benchtests/Makefile (bench): Remove slow benchmarks.
54891         * benchtests/atan-inputs: Add slow benchmark inputs.
54892         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
54893         (BENCH_FUNC): Accept variant offset.
54894         (VARIANT): Define.
54895         * benchtests/bench-skeleton.c (main): Run benchmark for each
54896         variant.
54897         * benchtests/cos-inputs: Add slow benchmark inputs.
54898         * benchtests/exp-inputs: Likewise.
54899         * benchtests/pow-inputs: Likewise.
54900         * benchtests/sin-inputs: Likewise.
54901         * benchtests/slowatan-inputs: Remove.
54902         * benchtests/slowatan.c: Remove.
54903         * benchtests/slowcos-inputs: Remove.
54904         * benchtests/slowcos.c: Remove.
54905         * benchtests/slowexp-inputs: Remove.
54906         * benchtests/slowexp.c: Remove.
54907         * benchtests/slowpow-inputs: Remove.
54908         * benchtests/slowpow.c: Remove.
54909         * benchtests/slowsin-inputs: Remove.
54910         * benchtests/slowsin.c: Remove.
54911         * benchtests/slowtan-inputs: Remove.
54912         * benchtests/slowtan.c: Remove.
54913         * benchtests/tan-inputs: Add slow benchmark inputs.
54914         * scripts/bench.pl: Parse comments and directives.
54916         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
54917         in CPPFLAGS.
54918         ($(objpfx)bench-%.c): Remove *-ITER.
54919         * benchtests/bench-modf.c: Remove definition of ITER.
54920         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
54921         (main): Loop for DURATION seconds instead of fixed number of
54922         iterations.
54923         * scripts/bench.pl: Don't expect iterations in parameters.
54925 2013-04-29  Roland McGrath  <roland@hack.frob.com>
54927         * io/fchdir.c (__fchdir): Renamed from fchdir.
54928         (fchdir): Define as weak alias.
54930 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54932         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
54933         (ERRNO_EDOM): Likewise.
54934         (ERRNO_ERANGE): Likewise.
54935         (noErrnoTests): New variable.
54936         (init_max_error): Set errno to 0.
54937         (test_single_errno): New function.
54938         (test_errno): Likewise.
54939         (check_float_internal): Call test_errno.  Set errno to 0.
54940         (check_complex): Refer to errno tests in comment.
54941         (check_int): Call test_errno.  Set errno to 0.
54942         (check_long): Likewise.
54943         (check_bool): Likewise.
54944         (check_longlong): Likewise.
54945         (cos_test): Use ERRNO_* flags for errno tests instead of
54946         check_int.
54947         (expm1_test): Likewise.
54948         (fmod_test): Likewise.
54949         (ilogb_test): Likewise.
54950         (lgamma_test): Likewise.
54951         (pow_test): Likewise.
54952         (remainder_test): Likewise.
54953         (sin_test): Likewise.
54954         (tan_test): Likewise.
54955         (yn_test): Likewise.
54956         (initialize): Set errno to 0.
54957         (main): Print number of errno tests.
54958         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
54960 2013-04-29  Andreas Jaeger  <aj@suse.de>
54962         [BZ #15084]
54963         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
54964         and RES_USEVC.
54966         [BZ #15085]
54967         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
54968         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
54969         unimplemented.
54971         [BZ #15380]
54972         * stdlib/random.c (__initstate): Return NULL if
54973         __initstate fails.
54975         [BZ #15086]
54976         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
54977         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
54978         RES_SNGLKUPREOP.
54980 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54982         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54984 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
54986         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
54987         of individual tests.
54988         (casin_test): Likewise.
54989         (casinh_test): Likewise.
54991 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
54993         [BZ #15409]
54994         * math/s_catan.c (__catan): Handle arguments with large real or
54995         imaginary part separately without squaring.
54996         * math/s_catanf.c (__catanf): Likewise.
54997         * math/s_catanh.c (__catanh): Likewise.
54998         * math/s_catanhf.c (__catanhf): Likewise.
54999         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55000         and redefine.
55001         (__catanhl): Handle arguments with large real or imaginary part
55002         separately without squaring.
55003         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
55004         and redefine.
55005         (__catanl): Handle arguments with large real or imaginary part
55006         separately without squaring.
55007         * math/libm-test.inc (catan_test): Add more tests.
55008         (catanh_test): Likewise.
55009         * sysdeps/i386/fpu/libm-test-ulps: Update.
55010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55012 2013-04-27  Andreas Jaeger  <aj@suse.de>
55014         [BZ #15007]
55015         * stdlib/stdlib.h: Update guards for qecvt.
55016         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
55017         <stdlib.h>.
55019 2013-04-27  Allan McRae  <allan@archlinux.org>
55021         * sysdeps/i386/fpu/libm-test-ulps: Update.
55023 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
55025         [BZ #15406]
55026         * math/s_catan.c: Include <float.h>.
55027         (__catan): Ensure underflow exception occurs for underflowed
55028         result.
55029         * math/s_catanf.c: Include <float.h>.
55030         (__catanf): Ensure underflow exception occurs for underflowed
55031         result.
55032         * math/s_catanh.c: Include <float.h>.
55033         (__catanh): Ensure underflow exception occurs for underflowed
55034         result.
55035         * math/s_catanhf.c: Include <float.h>.
55036         (__catanhf): Ensure underflow exception occurs for underflowed
55037         result.
55038         * math/s_catanhl.c: Include <float.h>.
55039         (__catanhl): Ensure underflow exception occurs for underflowed
55040         result.
55041         * math/s_catanl.c: Include <float.h>.
55042         (__catanl): Ensure underflow exception occurs for underflowed
55043         result.
55044         * math/libm-test.inc (catan_test): Add more tests.
55045         (catanh_test): Likewise.
55047         [BZ #15405]
55048         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
55049         underflowed result.
55050         * math/s_ccoshf.c (__ccoshf): Likewise.
55051         * math/s_ccoshl.c (__ccoshl): Likewise.
55052         * math/s_csin.c (__csin): Likewise.
55053         * math/s_csinf.c (__csinf): Likewise.
55054         * math/s_csinh.c (__csinh): Likewise.
55055         * math/s_csinhf.c (__csinhf): Likewise.
55056         * math/s_csinhl.c (__csinhl): Likewise.
55057         * math/s_csinl.c (__csinl): Likewise.
55058         * math/libm-test.inc (ccos_test): Add more tests.
55059         (ccosh_test): Likewise.
55060         (csin_test): Likewise.
55061         (csinh_test): Likewise.
55063 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55065         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
55066         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
55067         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
55068         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
55069         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
55070         powerpc/power5+/fpu folders.
55071         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
55074 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
55076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55078 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
55080         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
55081         additions to variable.
55082         [$(config-machine) = x86_64] (modules-names): Likewise.
55083         ($(objpfx)tst-audit3): Remove dependency.
55084         ($(objpfx)tst-audit3.out): Likewise.
55085         ($(objpfx)tst-audit4): Likewise.
55086         ($(objpfx)tst-audit4.out): Likewise.
55087         ($(objpfx)tst-audit5): Likewise.
55088         ($(objpfx)tst-audit5.out): Likewise.
55089         ($(objpfx)tst-audit6): Likewise.
55090         ($(objpfx)tst-audit6.out): Likewise.
55091         ($(objpfx)tst-audit7): Likewise.
55092         ($(objpfx)tst-audit7.out): Likewise.
55093         (tst-audit3-ENV): Remove variable.
55094         (tst-audit4-ENV): Likewise.
55095         (tst-audit5-ENV): Likewise.
55096         (tst-audit6-ENV): Likewise.
55097         (tst-audit7-ENV): Likewise.
55098         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
55099         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
55100         addition to variable.
55101         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
55102         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
55103         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
55104         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
55105         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
55106         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
55107         tst-audit3, tst-audit4 and tst-audit5.
55108         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
55109         tst-audit6 and tst-audit7.
55110         [$(subdir) = elf] (modules-names): Add audit modules for those
55111         tests.
55112         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
55113         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
55114         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
55115         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
55116         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
55117         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
55118         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
55119         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
55120         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
55121         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
55122         [$(subdir) = elf] (tst-audit3-ENV): New variable.
55123         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
55124         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
55125         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
55126         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
55127         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
55128         Likewise.
55129         [$(subdir) = elf && $(config-cflags-avx) = yes]
55130         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
55131         [$(subdir) = elf && $(config-cflags-avx) = yes]
55132         (CFLAGS-tst-auditmod4a.c): Likewise.
55133         [$(subdir) = elf && $(config-cflags-avx) = yes]
55134         (CFLAGS-tst-auditmod4b.c): Likewise.
55135         [$(subdir) = elf && $(config-cflags-avx) = yes]
55136         (CFLAGS-tst-auditmod6b.c): Likewise.
55137         [$(subdir) = elf && $(config-cflags-avx) = yes]
55138         (CFLAGS-tst-auditmod6c.c): Likewise.
55139         [$(subdir) = elf && $(config-cflags-avx) = yes]
55140         (CFLAGS-tst-auditmod7b.c): Likewise.
55141         * elf/tst-audit3.c: Move to ...
55142         * sysdeps/x86_64/tst-audit3.c: ... here.
55143         * elf/tst-audit4.c: Move to ...
55144         * sysdeps/x86_64/tst-audit4.c: ... here.
55145         * elf/tst-audit5.c: Move to ...
55146         * sysdeps/x86_64/tst-audit5.c: ... here.
55147         * elf/tst-audit6.c: Move to ...
55148         * sysdeps/x86_64/tst-audit6.c: ... here.
55149         * elf/tst-audit7.c: Move to ...
55150         * sysdeps/x86_64/tst-audit7.c: ... here.
55151         * elf/tst-auditmod3a.c: Move to ...
55152         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
55153         * elf/tst-auditmod3b.c: Move to ...
55154         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
55155         * elf/tst-auditmod4a.c: Move to ...
55156         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
55157         * elf/tst-auditmod4b.c: Move to ...
55158         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
55159         * elf/tst-auditmod5a.c: Move to ...
55160         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
55161         * elf/tst-auditmod5b.c: Move to ...
55162         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
55163         * elf/tst-auditmod6a.c: Move to ...
55164         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
55165         * elf/tst-auditmod6b.c: Move to ...
55166         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
55167         * elf/tst-auditmod6c.c: Move to ...
55168         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
55169         * elf/tst-auditmod7a.c: Move to ...
55170         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
55171         * elf/tst-auditmod7b.c: Move to ...
55172         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
55174 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
55176         [BZ #15366]
55177         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
55178         define unconditionally.
55179         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
55180         define unconditionally.
55181         (INT8_C, INT16_C, etc.): Likewise.
55183 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
55185         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
55186         __ehdr_start with hidden visibility.
55188         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
55190 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
55192         * math/libm-test.inc (cos_test): Use accurate hex constants.
55193         (sincost_test): Likewise.
55195 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
55197         * math/libm-test.inc (catan_test): Add more tests.
55198         (catanh_test): Likewise.
55200         * math/s_catanf.c (__catanf): Use suffixed floating-point
55201         constants.
55202         * math/s_catanhf.c (__catanhf): Likewise.
55203         * math/s_catanhl.c (__catanhl): Likewise.
55204         * math/s_catanl.c (__catanl): Likewise.
55206         [BZ #15394]
55207         * math/s_catan.c (__catan): Calculate imaginary part of result
55208         with log1p not log unless computing log of number close to 0.
55209         * math/s_catanf.c (__catanf): Likewise.
55210         * math/s_catanl.c (__catanl): Likewise.
55211         * math/s_catanh.c (__catanh): Calculate real part of result with
55212         log1p not log unless computing log of number close to 0.
55213         * math/s_catanhf.c (__catanhf): Likewise.
55214         * math/s_catanhl.c (__catanhl): Likewise.
55215         * math/libm-test.inc (catan_test): Add more tests.
55216         (catanh_test): Likewise.
55217         * sysdeps/i386/fpu/libm-test-ulps: Update.
55218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55220 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55222         * benchtests/Makefile: Mention files in which fast and slow
55223         paths of math functions are implemented.
55225 2013-04-23  Roland McGrath  <roland@hack.frob.com>
55227         * sysdeps/posix/timespec_get.c: New file.
55229 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55231         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
55232         POWER.
55233         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
55234         for POWER.
55235         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
55236         powerpc/power5/fpu folders.
55237         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
55238         * benchtests/Makefile: Add modf testcase.
55239         * benchtests/bench-modf.c: New file: Benchmark test for mo
55241 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
55243         [BZ #14888]
55244         * time/Makefile (tests): Add tst-strptime-whitespace.
55245         * time/strptime_l.c (get_number): Use ISSPACE.
55246         (__strptime_internal): Likewise.
55247         * time/tst-strptime-whitespace.c: New test case.
55249 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
55251         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
55252         member.
55253         (_nss_files_init): Set it here.
55255 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
55257         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
55258         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
55259         unsigned.
55261 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
55263         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
55265 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
55267         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
55268         size just once.
55270 2013-04-21  David S. Miller  <davem@davemloft.net>
55272         * po/ru.po: Update Russion translation from translation project.
55274 2013-04-17  Adam Conrad  <adconrad@0c3.net>
55276         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
55277         and setfsgid.
55279 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
55281         * configure.in: Remove i386 configure warning. Remove i386 case.
55282         * configure: Regenerate.
55283         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
55284         Add example to error message.
55285         * sysdeps/i386/configure: Regenerate.
55287 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55289         * benchtests/Makefile (bench): Add cos, tan, slowcos and
55290         slowtan.
55291         * benchtests/cos-inputs: New file.
55292         * benchtests/slowcos-inputs: New file.
55293         * benchtests/slowcos.c: New file.
55294         * benchtests/slowtan-inputs: New file.
55295         * benchtests/slowtan.c: New file.
55296         * benchtests/tan-inputs: New file.
55298 2013-04-16  Roland McGrath  <roland@hack.frob.com>
55300         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
55301         considered kosher.
55303 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55305         * benchtests/Makefile: Include cppflags-iterator.mk to add
55306         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
55308         * Makefile.in (bench-clean): New target.
55309         * benchtests/Makefile (bench-clean): Likewise.
55311 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
55313         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
55315 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
55317         * stdio-common/tstdiomisc.c: Fix coding-style violation.
55319 2013-04-15  Andreas Schwab  <schwab@suse.de>
55321         * nscd/grpcache.c (cache_addgr): Properly check for short write.
55322         * nscd/initgrcache.c (addinitgroupsX): Likewise.
55323         * nscd/pwdcache.c (cache_addpw): Likewise.
55324         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
55325         more than recsize.
55327 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55329         * benchtests/Makefile (bench): Write all output to
55330         bench-out.tmp together.
55332 2013-04-15  Andreas Schwab  <schwab@suse.de>
55334         * nscd/nscd.c (main): Don't fork again after closing files.
55336 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
55338         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
55340         * benchtests/Rules (bench-deps): Collect dependencies into a
55341         single variable.  Add Makefile to dependencies.
55342         ($(objpfx)bench-%.c): Depend on bench-deps.
55344 2013-04-12  Roland McGrath  <roland@hack.frob.com>
55345             Xavier Roche  <roche+kml2@exalead.com>
55347         [BZ #15361]
55348         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
55349         just that it's a file descriptor.
55350         * manual/llio.texi (Synchronizing AIO Operations): Update description
55351         for EBADF error from aio_fsync.
55353 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55355         * Rules (bench): Move target definition...
55356         * benchtests/Makefile: ... here.
55358 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
55360         * math/libm-test.inc (cos_test): Fix PI/2 test.
55361         (sincos_test): Likewise.
55362         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55363         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
55365 2013-04-11  Andreas Schwab  <schwab@suse.de>
55367         [BZ #13988]
55368         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
55369         accept exponent character only when digits were seen.
55370         * stdio-common/Makefile (tests): Add bug26.
55371         * stdio-common/bug26.c: New file.
55373         [BZ #14293]
55374         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
55375         non-freeable.
55377 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55379         * Makeconfig (rtld-prefix): Define built linker prefix.
55380         * Rules (run-bench): Use it.
55381         * math/Makefile (run-regen-ulps): Likewise.
55383         * Rules (bench): Remove eval.
55385 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55386             Roland McGrath  <roland@hack.frob.com>
55387             Ondrej Bilka  <neleai@seznam.cz>
55389         [BZ #15346]
55390         * time/getdate.c: Include ctype.h and alloca.h.
55391         (__getdate_r): Trim leading and trailing spaces of input.
55392         * time/tst-getdate.c (tests): Add tests with leading and
55393         trailing spaces.
55395 2013-04-08  Roland McGrath  <roland@hack.frob.com>
55397         [BZ #14280]
55398         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
55399         when computing value.
55401 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55403         * math/README.libm-test (How can I generate "libm-test-ulps"?):
55404         Use testrun.sh to run libm tests.
55406         [BZ #15309]
55407         * elf/dl-open.c (dl_open_worker): memset all of seen array.
55409 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
55411         [BZ #15264]
55412         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
55414 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55416         * Makefile.in (regen-ulps): New target.
55417         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
55418         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
55419         [ifneq (no,$(PERL)] (regen-ulps): New target.
55420         [ifeq (no,$(PERL)] (regen-ulps): New target.
55421         * math/libm-test.inc (ulps_file_name): Define.
55422         (output_dir): New variable.
55423         (options): Add "output-dir" option.
55424         (parse_opt): Handle 'o' case.
55425         (main): If output_dir is non-NULL use it as a prefix
55426         otherwise use "".
55427         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
55429 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55431         [BZ #10060, #10062]
55432         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
55433         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
55434         fail configure if __sync_val_compare_and_swap is not inlined.
55435         * sysdeps/i386/configure: Regenerate.
55436         * configure.in: Build for i686 when configured for i386.
55437         * configure: Regenerate.
55438         * README: Remove i386 reference.
55440 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
55442         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
55443         * sysdeps/s390/s390-64/sysdep.h: Likewise.
55445 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
55447         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
55448         (lmsnanval): New variables.
55449         (F): Add conversion tests.
55450         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
55451         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
55453         * stdio-common/tstdiomisc.c (F): Properly collect individual
55454         tests' results.
55456         [BZ #14686, #15336]
55457         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
55458         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
55459         Instead, use input NaN values or generate a qNaN by arithmetic
55460         operation.  Also fix bugs to comply with the standard.
55461         * math/libm-test.inc (remainder_test): Add more tests.
55463         [BZ #15335, #15342]
55464         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
55465         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
55466         input NaN values or generate a qNaN by arithmetic operation.
55468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
55469         unreachable code.
55471         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
55472         definitions.
55474 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
55476         [BZ #14478]
55477         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
55478         underflowed result.
55479         * math/s_cexpf.c (__cexpf): Likewise.
55480         * math/s_cexpl.c (__cexpl): Likewise.
55481         * math/libm-test.inc (cexp_test): Add more tests.
55483 2013-04-03  Andreas Schwab  <schwab@suse.de>
55485         [BZ #15330]
55486         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
55487         order arrays from heap if bigger than alloca cutoff.
55489 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
55491         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
55492         (SNAN_TESTS_double): Refer to GCC PR56831.
55493         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
55494         GCC PR56828.
55496 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55498         * Rules (bench): Move bench.out after the run is complete.
55500         * Rules (bench): Echo currently running benchmark.
55502         * benchtests/Makefile (bench): Add atan and slowatan.
55503         * benchtests/atan-inputs: New file.
55504         * benchtests/slowatan-inputs: New file.
55505         * benchtests/slowatan.c: New file.
55507         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
55508         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
55509         its value.
55511         [BZ #15305]
55512         * sysdeps/unix/sysv/linux/kernel-features.h
55513         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
55514         __ASSUME_XFS_RESTRICTED_CHOWN.
55515         * sysdeps/unix/sysv/linux/pathconf.c
55516         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
55517         Save and restore errno.
55519 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
55521         [BZ #15327]
55522         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
55523         arguments using __kernel_casinh.
55524         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
55525         arguments using __kernel_casinhf.
55526         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
55527         arguments using __kernel_casinhl.
55528         * math/libm-test.inc (cacosh_test): Add more tests.
55529         * sysdeps/i386/fpu/libm-test-ulps: Update.
55530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55532 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55534         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
55535         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
55537         * bench/Makefile (bench): Add sin and slowsin.
55538         * benchtests/sin-inputs: New file.
55539         * benchtests/slowsin-inputs: New file.
55540         * benchtests/slowsin.c: New file.
55542         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
55543         (bench): Add slowexp and slowpow.
55544         (exp-ITER): Increase iterations.
55545         (pow-ITER): Likewise.
55546         * benchtests/exp-inputs: Change input.
55547         * benchtests/pow-inputs: Likewise.
55548         * benchtests/slowexp-inputs: New file.
55549         * benchtests/slowexp.c: New file.
55550         * benchtests/slowpow-inputs: New file.
55551         * benchtests/slowpow.c: New file.
55553 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55555         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
55556         instructions.
55557         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
55558         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
55559         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
55560         * benchtests/Makefile: Add rint benchtest.
55561         * benchtests/rint-inputs: Input for rint benchtest.
55563 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
55565         * Versions.def (libm): Add GLIBC_2.18.
55566         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
55567         hidden libm prototypes.
55568         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
55569         * math/Makefile (libm-calls): Add s_issignaling.
55570         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
55571         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
55572         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
55573         declaration.
55574         * math/math.h [__USE_GNU] (issignaling): New macro.
55575         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
55576         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
55577         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
55578         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
55579         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
55580         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
55581         * manual/arith.texi (issignaling): New section.
55582         * manual/libm-err-tab.pl (@all_functions): Update comment.
55583         * math/gen-libm-test.pl (parse_args): Apply special handling for
55584         issignaling.
55585         * math/libm-test.inc (print_float, issignaling_test): New
55586         functions.
55587         (check_float_internal): Add issignaling checks.
55588         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
55589         default definition.
55590         * sysdeps/powerpc/math-tests.h: New file.
55591         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
55592         tests.
55593         * math/test-snan.c (TEST_FUNC): Likewise.
55595 2013-03-30  David S. Miller  <davem@davemloft.net>
55597         * po/de.po: Update from translation team.
55599 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
55601         [BZ #10357]
55602         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55603         imaginary part less than 1.0 and real part less than 0.5
55604         specially.
55605         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55606         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55607         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
55608         (cacos_test): Add more tests.
55609         (casin_test): Likewise.
55610         (casinh_test): Likewise.
55611         * sysdeps/i386/fpu/libm-test-ulps: Update.
55612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55614 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55616         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
55617         ONE with its value.
55619         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
55620         (__pow_mp): Replace ONE and MONE with their values.
55621         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55622         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
55623         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55624         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
55625         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55626         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55628         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
55630         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
55631         (__pow_mp): Replace ZERO and MZERO with their values.
55632         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55633         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55634         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
55635         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
55636         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55637         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
55638         (__sqr): Likewise.
55640         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
55642         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
55644 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55646         * include/stdlib.h [!SHARED] (__call_tls_dtors):
55647         Declare with __attribute__ ((weak)).
55648         * stdlib/exit.c (__libc_atexit) [!SHARED]:
55649         Call __call_tls_dtors only if it's not NULL.
55651 2013-03-28  Roland McGrath  <roland@hack.frob.com>
55653         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
55654         didn't do it already, then set _dl_phdr and _dl_phnum based on the
55655         magic __ehdr_start linker symbol if it's defined.
55656         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
55657         them up here if it was already done.
55659         * elf/dl-support.c (_dl_phdr): Make pointer to const.
55660         (_dl_aux_init): Use const in cast when setting it.
55661         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
55662         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
55663         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
55665         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
55666         Declare them here.
55667         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
55668         * csu/libc-tls.c: Nor here.
55669         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
55671         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
55672         (__libc_message): Never call vsyslog.
55674 2013-03-28  Alan Modra  <amodra@gmail.com>
55676         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
55677         Define as empty.
55678         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
55679         Likewise.
55681 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55683         [BZ #15214]
55684         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
55685         underflow.
55686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55688 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55690         [BZ #15304]
55691         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
55692         Don't add gid passed as argument.
55694         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
55696 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
55698         [BZ #15307]
55699         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55700         imaginary part between 1.0 and 1.5 and real part less than 0.5
55701         specially.
55702         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55703         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55704         * math/libm-test.inc (cacos_test): Add more tests.
55705         (casin_test): Likewise.
55706         (casinh_test): Likewise.
55707         * sysdeps/i386/fpu/libm-test-ulps: Update.
55708         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55710 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55712         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
55713         constants.
55714         (norm): Likewise.
55715         (denorm): Likewise.
55716         (__dbl_mp): Likewise.
55717         (add_magnitudes): Likewise.
55718         (sub_magnitudes): Likewise.
55719         (__add): Likewise.
55720         (__sub): Likewise.
55721         (__mul): Likewise.
55722         (__sqr): Likewise.
55723         (__inv): Likewise.
55724         (__dvd): Likewise.
55726         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
55727         commented code.
55728         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
55729         (__dubcos): Likewise.
55730         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
55731         (__ieee754_acos): Likewise.
55732         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
55733         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
55734         (__exp1): Likewise.
55735         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
55736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
55737         (log1): Likewise.
55738         (my_log2): Likewise.
55739         (checkint): Likewise.
55740         * sysdeps/ieee754/dbl-64/e_remainder.c
55741         (__ieee754_remainder): Likewise.
55742         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
55743         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
55744         (bsloww): Likewise.
55745         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
55747         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
55748         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
55749         MANTISSA_STORE_T to store computations on mantissa.  Use
55750         macros for rounding and division.
55751         (denorm): Likewise.
55752         (__dbl_mp): Likewise.
55753         (add_magnitudes): Likewise.
55754         (sub_magnitudes): Likewise.
55755         (__mul): Likewise.
55756         (__sqr): Likewise.
55757         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
55758         powers of two in terms of TWOPOW macro.
55759         (mp_no): Make type of mantissa as MANTISSA_T.
55760         [!RADIXI]: Define RADIXI.
55761         [!TWO52]: Define TWO52.
55762         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
55764 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55766         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
55767         llroundl symbol when building for PPC32.
55769 2013-03-24  Mark H Weaver  <mhw@netris.org>
55771         * manual/arith.texi (Normalization Functions): Fix prototypes for
55772         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
55774 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55776         [BZ #13889]
55777         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
55778         high value to check if expl overflow.
55779         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
55780         to check for underflow and overflow.
55781         * math/libm-test.inc: Add exp test.
55783 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
55785         [BZ #11120]
55786         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
55787         with NOT_IN_libc.
55789 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55791         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
55792         symbol.
55794 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
55796         * math/gen-libm-test.pl (parse_args, special_functions): Properly
55797         wrap blocks consisting of several statements.
55799         * sysdeps/generic/math-tests.h: New file.
55800         * sysdeps/i386/fpu/math-tests.h: Likewise.
55801         * math/test-snan.c: Include it.
55802         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
55804 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55806         [BZ #15285]
55807         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
55808         (__ieee754_j0l): Do not improve calculations using cos of twice
55809         input for inputs above LDBL_MAX / 2.0L.
55810         (__ieee754_y0l): Likewise.
55811         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
55812         (__ieee754_j1l): Do not improve calculations using cos of twice
55813         input for inputs above LDBL_MAX / 2.0L.
55814         (__ieee754_y1l): Likewise.
55815         * math/libm-test.inc (j0_test): Add another test.
55816         (j1_test): Likewise.
55817         (y0_test): Likewise.
55818         (y1_test): Likewise.
55819         * sysdeps/i386/fpu/libm-test-ulps: Update.
55821 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55823         * Rules ($(objpfx)bench-%.c): Include code from a C source
55824         file.
55826 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
55828         [BZ #15287]
55829         * math/k_casinh.c (__kernel_casinh): Handle arguments with
55830         imaginary part 1.0 and real part less than 0.5 specially.
55831         * math/k_casinhf.c (__kernel_casinhf): Likewise.
55832         * math/k_casinhl.c (__kernel_casinhl): Likewise.
55833         * math/libm-test.inc (cacos_test): Add more tests.
55834         (casin_test): Likewise.
55835         (casinh_test): Likewise.
55836         * sysdeps/i386/fpu/libm-test-ulps: Update.
55837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55839 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55841         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
55842         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
55844 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
55846         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
55847         * config.make.in (config-cflags-sse4): Remove variable.
55848         (config-cflags-avx): Likewise.
55849         (config-cflags-sse2avx): Likewise.
55850         (config-cflags-novzeroupper): Likewise.
55851         (config-asflags-i686): Likewise.
55852         (have-mfma4): Likewise.
55853         (have-as-vis3): Likewise.
55854         (MIG): Likewise.
55855         * configure.in (MIG): Do not AC_SUBST.
55856         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
55857         (libc_cv_cc_sse4): Do not AC_SUBST.
55858         (libc_cv_cc_avx): Likewise.
55859         (libc_cv_cc_sse2avx): Likewise.
55860         (libc_cv_cc_novzeroupper): Likewise.
55861         (libc_cv_cc_fma4): Likewise.
55862         (libc_cv_as_i686): Likewise.
55863         (libc_cv_sparc_as_vis3): Likewise.
55864         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
55865         LIBC_CONFIG_VAR.
55866         (config-asflags-i686): Likewise.
55867         (config-cflags-avx): Likewise.
55868         (config-cflags-sse2avx): Likewise.
55869         (have-mfma4): Likewise.
55870         (config-cflags-novzeroupper): Likewise.
55871         * sysdeps/mach/configure.in (MIG): Likewise.
55872         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
55873         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
55874         LIBC_CONFIG_VAR.
55875         (config-cflags-avx): Likewise.
55876         (config-cflags-sse2avx): Likewise.
55877         (have-mfma4): Likewise.
55878         (config-cflags-novzeroupper): Likewise.
55879         * configure: Regenerated.
55880         * sysdeps/i386/configure: Likewise.
55881         * sysdeps/mach/configure: Likewise.
55882         * sysdeps/sparc/configure: Likewise.
55883         * sysdeps/x86_64/configure: Likewise.
55885 2013-03-20  Roland McGrath  <roland@hack.frob.com>
55887         [BZ #14812]
55888         * locale/programs/localedef.c (options): Put N_ translation marker
55889         on argument names, not just descriptions.
55891 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55893         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
55895 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
55897         [BZ #14176]
55898         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
55900 2013-03-19  Roland McGrath  <roland@hack.frob.com>
55902         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
55903         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
55904         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
55905         [!BEFORE_ABORT] (before_abort): New function.
55906         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
55907         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
55908         (writev_for_fatal): New function.
55909         (WRITEV_FOR_FATAL): New macro; call that.
55910         (backtrace_and_maps): New function.
55911         (BEFORE_ABORT): New macro; call that.
55912         (struct str_list): Type removed.
55913         (__libc_message, __libc_fatal): Functions removed.
55914         Include <sysdeps/posix/libc_fatal.c> instead.
55916 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
55918         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
55919         constants.
55920         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
55921         double constants.
55923 2013-03-19  Andreas Schwab  <schwab@suse.de>
55925         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
55926         * sysdeps/gnu/configure: Regenerate.
55928         * configure.in: Substitute libc_cv_rtlddir.
55929         * configure: Regenerate.
55930         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
55931         * Makeconfig (rtlddir, inst_rtlddir): New variables.
55932         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
55933         * elf/Makefile (install-others, CFLAGS-interp.c)
55934         (ldso_install, common-ldd-rewrite): Likewise.
55935         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
55936         $(inst_slibdir)/$(rtld-installed-name).
55937         * scripts/rellns-sh: Add -p option.
55938         * Makerules (make-shlib-link): Use rellns-sh to get relative name
55939         for source.
55941 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
55943         * manual/nptl.texi: Renamed to ...
55944         * manual/threads.texi: ... this.
55945         * manual/Makefile (chapters): Update.
55947 2013-03-18  Roland McGrath  <roland@hack.frob.com>
55949         [BZ #14812]
55950         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
55951         on argument names, not just descriptions.
55952         * malloc/memusagestat.c (options): Likewise.
55953         * nss/getent.c (options): Likewise.
55955 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
55957         [BZ #14812]
55958         * iconv/iconv_prog.c (options): Put N_ translation marker
55959         on argument names, not just descriptions.
55960         * iconv/iconvconfig.c (options): Likewise.
55962 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
55964         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
55965         implementation which is faster on all x86_64 architectures.
55966         Tested on AMD, Intel Nehalem, SNB, IVB.
55967         * sysdeps/x86_64/strnlen.S: Likewise.
55969         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
55970         Remove all multiarch strlen and strnlen versions.
55971         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
55972         Remove strlen and strnlen related parts.
55974         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
55975         Inline strlen part.
55976         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
55978         * sysdeps/x86_64/multiarch/strlen.S: Remove.
55979         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
55980         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
55981         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
55982         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
55983         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
55985 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
55987         * manual/memory.texi (Malloc Tunable Parameters):
55988         Sort parameters alphabetically. Add comments for missing entries.
55990 2013-03-17  David S. Miller  <davem@davemloft.net>
55992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55994 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
55996         [BZ #15283]
55997         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
55998         for arguments at most half maximum finite value.
55999         * math/libm-test.inc (j0_test): Add more tests.
56000         (j1_test): Likewise.
56001         (y0_test): Likewise.
56002         (y1_test): Likewise.
56003         * sysdeps/i386/fpu/libm-test-ulps: Update.
56004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56006         [BZ #14155]
56007         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
56008         1 / x and functions P and Q for arguments above 0x1p256L.
56009         (__ieee754_y0l): Likewise.
56010         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
56011         (__ieee754_y1l): Likewise.
56012         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
56013         (j1_test): Likewise.
56014         (y0_test): Likewise.
56015         (y1_test): Likewise.
56017 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
56019         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
56020         variable.
56022 2013-03-15  Roland McGrath  <roland@hack.frob.com>
56024         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
56025         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
56026         zero since it's initialized to EXEC_PAGESIZE.
56028         * sysdeps/unix/sysv/linux/ldsodefs.h
56029         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
56030         * sysdeps/generic/ldsodefs.h: ... here.
56032 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
56034         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
56036         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
56037         math/test-snan.c.
56038         * math/test-snan.c: Renamed from
56039         sysdeps/powerpc/fpu/test-powerpc-snan.c.
56040         * math/Makefile (tests): Add test-snan.
56041         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
56042         test-powerpc-snan.
56044         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
56045         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
56046         functions.
56047         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
56048         __builtin_nan family of functions.
56049         * math/libm-test.inc (initialize): Initialize qnan_value with
56050         __builtin_nan family of functions.
56051         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
56052         Remove variables.
56053         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
56054         Remove functions.
56055         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
56056         storage class.  Initialize qNaN_var and sNaN_var with
56057         __builtin_nan and __builtin_nans families of functions,
56058         respectively.
56060         * math/libm-test.inc (acosh_test): Also test with qNaN input.
56061         (sqrt_test): Remove duplicate test with qNaN input.
56062         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
56063         (round_test, signbit_test, significand_test): Note missing +/-Inf
56064         as well as qNaN tests.
56066         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
56067         qNaN_var.  Fix a few strings, too.
56068         * math/libm-test.inc (nan_value): Rename to qnan_value.
56069         * math/gen-libm-test.pl (%beautify): Adjust to that.
56070         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
56071         * math/test-misc.c (main): Likewise.
56072         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
56073         to __qnan_bytes, and __qnan_union, respectively.
56074         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
56075         Likewise.
56076         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
56077         and lqnanval, respectively.
56078         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
56079         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
56080         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
56081         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
56083         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
56084         * math/test-misc.c (main) [__x86_64__]: Enable test for long
56085         doubles.
56087         * math/test-misc.c (main): Fix copy'n'pastos.
56088         * misc/tst-efgcvt.c (special): Likewise.
56090         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
56091         Remove declarations.
56093 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56095         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
56096         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
56097         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
56098         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
56100 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56102         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
56103         macro to return vdso values correctly in IFUNC implementations.
56104         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
56105         Optimization by using IFUNC.
56107 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56108             Richard Henderson  <rth@redhat.com>
56109             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
56111         * Makefile.in (bench): New target.
56112         * NEWS: Mention the benchmark framework.
56113         * Rules (bench): Likewise.
56114         (binaries-bench): Generate binaries for functions to
56115         benchmark.
56116         * benchtests/Makefile: New makefile for benchmark tests.
56117         * benchtests/bench-skeleton.c: New skeleton file for benchmark
56118         programs.
56119         * benchtests/exp-inputs: New input file for EXP function.
56120         * benchtests/pow-inputs: New input file for POW function.
56121         * scripts/bench.pl: New script to generate source files for
56122         benchmark programs.
56124 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56126         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
56127         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
56128         computations on mantissa.  Use macros for rounding and
56129         division.
56130         (denorm): Likewise.
56131         (__dbl_mp): Likewise.
56132         (add_magnitudes): Likewise.
56133         (sub_magnitudes): Likewise.
56134         (__mul): Likewise.
56135         (__sqr): Likewise.
56136         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
56137         powers of two in terms of TWOPOW macro.
56138         (mp_no): Make type of mantissa as MANTISSA_T.
56139         [!RADIXI]: Define RADIXI.
56140         [!TWO52]: Define TWO52.
56141         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
56143         * manual/nptl.texi (cindex): Modify threads to pthreads.
56145 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
56147         * sysdeps/x86_64/preconfigure: Regenerated.
56149 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
56151         [BZ #14155]
56152         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
56153         0x1p28 and above.
56154         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
56155         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
56156         0x1p28 and above.
56157         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
56158         * math/libm-test.inc (j0_test): Do not allow one spurious
56159         underflow exception.
56160         (y1_test): Likewise.
56162 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56164         * manual/Makefile (chapters): Add nptl.
56165         * manual/debug.texi (Debugging Support): Add link to Threads
56166         chapter.
56167         * manual/nptl.texi: New file.
56169         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
56171 2013-03-14  Petr Baudis  <pasky@ucw.cz>
56173         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
56174         for non-NULL pointer before the memory validity test. Pointed
56175         out by Holger Brunck <holger.brunck@keymile.com>.
56177 2013-03-13  Andreas Schwab  <schwab@suse.de>
56179         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
56180         instead of .os.
56182 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
56184         * timezone/zic.c: Update from tzcode 2013b.
56186 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
56188         * manual/install.texi (Configuring and compiling):
56189         Mention i686 and i586.
56190         * INSTALL: Regenerate.
56192 2013-03-12  Roland McGrath  <roland@hack.frob.com>
56194         * sysdeps/init_array/elf-init.c: New file.
56195         * csu/elf-init.c
56196         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
56197         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
56199         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
56200         __gmon_start__ as global, but as static with a .preinit_array pointer.
56201         * sysdeps/init_array/gmon-start.c: New file.  Use that.
56202         * sysdeps/init_array/crti.S: New file, empty except for comments.
56203         * sysdeps/init_array/crtn.S: Likewise.
56205 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
56207         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
56208         definining bcopy.
56209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56210         Remove Prefer_SSE_for_memop.
56211         * sysdeps/x86_64/multiarch/init-arch.h: Remove
56212         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
56213         HAS_PREFER_SSE_FOR_MEMOP.
56214         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
56215         memset-x86-64.
56216         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56217         Remove bzero, memset ifunc support.
56218         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
56219         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
56220         * sysdeps/x86_64/multiarch/memset.S: Likewise.
56221         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
56223 2013-03-11  Andreas Schwab  <schwab@suse.de>
56225         [BZ #15234]
56226         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
56227         by SHLIB_COMPAT.
56228         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
56229         (GLIBC_2.16): Remove pthread_atfork.
56231 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
56233         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
56234         (ptestcases.h): Likewise.
56236 2013-03-08  Roland McGrath  <roland@hack.frob.com>
56238         * Makeconfig ($(common-objpfx)config.status): Depend on
56239         sysdeps/*/preconfigure{,.in} too.
56241 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
56243         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
56244         (__free_hook): Use void * instead of __malloc_ptr_t.
56245         (__malloc_hook): Likewise.
56246         (__realloc_hook): Likewise.
56247         (__memalign_hook): Likewise.
56248         (__after_morecore_hook): Likewise.
56249         * malloc/arena.c (save_malloc_hook): Likewise.
56250         (save_free_hook): Likewise.
56251         * malloc/hooks.c (malloc_hook_ini): Likewise.
56252         (realloc_hook_ini): Likewise.
56253         (memalign_hook_ini): Likewise.
56254         * malloc/malloc.c (malloc_hook_ini): Likewise.
56255         (realloc_hook_ini): Likewise.
56256         (memalign_hook_ini): Likewise.
56257         (__free_hook): Likewise.
56258         (__malloc_hook): Likewise.
56259         (__realloc_hook): Likewise.
56260         (__memalign_hook): Likewise.
56261         (__libc_malloc): Likewise.
56262         (__libc_free): Likewise.
56263         (__libc_realloc): Likewise.
56264         (__libc_memalign): Likewise.
56265         (__libc_valloc): Likewise.
56266         (__libc_pvalloc): Likewise.
56267         (__libc_calloc): Likewise.
56268         (__posix_memalign): Likewise.
56269         * malloc/morecore.c (__sbrk): Likewise.
56270         (__default_morecore): Likewise.
56272         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
56274         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
56275         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
56276         __malloc_ptrdiff_t.
56278         * malloc/malloc.h (__malloc_size_t): Remove macro.
56279         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
56280         __malloc_size_t.
56281         (old_memalign_hook): Likewise.
56282         (old_realloc_hook): Likewise.
56283         (struct hdr): Likewise.
56284         (flood): Likewise.
56285         (mallochook): Likewise.
56286         (memalignhook): Likewise.
56287         (reallochook): Likewise.
56288         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
56289         (tr_old_realloc_hook): Likewise.
56290         (tr_old_memalign_hook): Likewise.
56291         (tr_mallochook): Likewise.
56292         (tr_reallochook): Likewise.
56293         (tr_memalignhook): Likewise.
56295 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56297         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
56298         default_ldbl_pack and using as default implementation.
56299         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
56300         implementation.
56301         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
56302         redundant definition.
56303         (ldbl_insert_mantissa): Likewise.
56304         (ldbl_canonicalize): Likewise.
56305         (ldbl_nearbyint): Likewise.
56306         (ldbl_pack): Rename to ldbl_pack_ppc.
56307         (ldbl_unpack): Rename to ldbl_unpack_ppc.
56308         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
56309         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
56311 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56313         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
56314         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
56315         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
56316         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
56317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
56318         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
56319         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
56320         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
56322 2013-03-07  Andreas Jaeger  <aj@suse.de>
56324         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
56325         bits/mman-linux.h.
56327 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
56329         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
56330         Include mpa.h and declare __MPEXP.
56331         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
56332         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56333         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56334         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
56335         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56336         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
56337         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
56339         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
56340         (__slowpow): Use long double EXPL and LOGL functions to
56341         compute POW.
56342         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
56343         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56344         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
56345         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
56346         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
56347         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
56349         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
56350         intermediate variable to calculate exponent.
56351         (__sqr): Likewise.
56352         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
56353         Likewise.
56354         (__sqr): Likewise.
56356         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
56357         [!NO__SQR]: Define __sqr.
56358         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
56359         and NO__SQR.  Remove all code except __mul and __sqr.  Include
56360         sysdeps/ieee754/dbl-64/mpa.c.
56361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56363         [BZ #12723]
56364         * posix/Makefile (tests): Add tst-pathconf.
56365         * posix/tst-pathconf.c: New test case.
56366         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
56367         _PC_PIPE_BUF.
56368         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
56370 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
56372         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
56374 2013-03-06  Andreas Jaeger  <aj@suse.de>
56376         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
56377         definition via __MAP_ANONYMOUS.
56379         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
56380         it's not part of Linux headers.
56382         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
56383         (MAP_HUGE_MASK): Define.
56385         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56386         Define.
56387         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56388         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56389         Define.
56390         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56391         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
56392         Define.
56393         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56394         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
56395         Define.
56396         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
56398         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
56399         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
56400         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
56401         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
56402         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
56403         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
56405         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56406         Handle f2fs.
56408         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56409         Handle f2fs and efivarfs.
56411         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
56412         f2fs.
56414         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
56415         (EFIVARFS_MAGIC): Add.
56416         (F2FS_LINK_MAX): Add.
56418 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
56420         * stdio-common/vfprintf.c: Replace __builtin_expect with
56421         __glibc_unlikely.
56423 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
56425         [BZ #13550]
56426         * sysdeps/generic/bp-sym.h: Remove file.
56427         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
56428         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
56429         <bp-sym.h> and <bp-asm.h>.
56430         (__longjmp): Don't use BP_SYM.
56431         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
56432         and <bp-asm.h>.
56433         (memcpy): Don't use BP_SYM.
56434         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
56435         <bp-sym.h> and <bp-asm.h>.
56436         (memcpy): Don't use BP_SYM.
56437         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
56438         <bp-asm.h>.
56439         (memcpy): Don't use BP_SYM.
56440         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
56441         <bp-asm.h>.
56442         (memset): Don't use BP_SYM.
56443         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56444         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56445         (__bzero): Don't use BP_SYM.
56446         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56447         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56448         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
56449         <bp-sym.h> and <bp-asm.h>.
56450         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56451         pointers.
56452         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
56453         <bp-sym.h> and <bp-asm.h>.
56454         (memcpy): Don't use BP_SYM.
56455         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
56456         <bp-sym.h> and <bp-asm.h>.
56457         (memset): Don't use BP_SYM.
56458         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56459         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56460         (__bzero): Don't use BP_SYM.
56461         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56462         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56463         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
56464         <bp-sym.h> and <bp-asm.h>.
56465         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56466         pointers.
56467         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
56468         <bp-sym.h> and <bp-asm.h>.
56469         (memcpy): Don't use BP_SYM.
56470         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
56471         <bp-sym.h> and <bp-asm.h>.
56472         (memset): Don't use BP_SYM.
56473         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56474         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56475         (__bzero): Don't use BP_SYM.
56476         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56477         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56478         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
56479         <bp-sym.h> and <bp-asm.h>.
56480         (__memchr): Don't use BP_SYM.
56481         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
56482         <bp-sym.h> and <bp-asm.h>.
56483         (memcmp): Don't use BP_SYM.  Remove comment about bounded
56484         pointers.
56485         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
56486         <bp-sym.h> and <bp-asm.h>.
56487         (memcpy): Don't use BP_SYM.
56488         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
56489         <bp-sym.h> and <bp-asm.h>.
56490         (__mempcpy): Don't use BP_SYM.
56491         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
56492         <bp-sym.h> and <bp-asm.h>.
56493         (__memrchr): Don't use BP_SYM.
56494         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
56495         <bp-sym.h> and <bp-asm.h>.
56496         (memset): Don't use BP_SYM.
56497         (__bzero): Likewise.
56498         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
56499         <bp-sym.h> and <bp-asm.h>.
56500         (__rawmemchr): Don't use BP_SYM.
56501         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
56502         <bp-sym.h> and <bp-asm.h>.
56503         (__STRCMP): Don't use BP_SYM.
56504         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
56505         <bp-sym.h> and <bp-asm.h>.
56506         (strchr): Don't use BP_SYM.
56507         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
56508         <bp-sym.h> and <bp-asm.h>.
56509         (__strchrnul): Don't use BP_SYM.
56510         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
56511         <bp-sym.h> and <bp-asm.h>.
56512         (strlen): Don't use BP_SYM.
56513         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
56514         <bp-sym.h> and <bp-asm.h>.
56515         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56516         pointers.
56517         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
56518         <bp-sym.h> and <bp-asm.h>.
56519         (__strnlen): Don't use BP_SYM.
56520         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
56521         <bp-sym.h> and <bp-asm.h>.
56522         (__GI__setjmp): Don't use BP_SYM.
56523         (_setjmp): Likewise.
56524         (__sigsetjmp): Likewise.
56525         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
56526         (L(start_addresses)): Don't use BP_SYM.
56527         (_start): Likewise.
56528         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
56529         <bp-asm.h>.
56530         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
56531         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
56532         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56533         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56534         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
56535         <bp-asm.h>.
56536         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
56537         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
56538         about bounded pointers.
56539         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56540         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56541         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
56542         <bp-asm.h>.
56543         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56544         about bounded pointers.  Remove GKM FIXME comments.
56545         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56546         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
56547         <bp-asm.h>.
56548         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
56549         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
56550         Remove GKM FIXME comments.
56551         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56552         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56553         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
56554         <bp-asm.h>.
56555         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
56556         about bounded pointers.  Remove GKM FIXME comment.
56557         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
56558         and <bp-asm.h>.
56559         (strncmp): Don't use BP_SYM.  Remove comment about bounded
56560         pointers.
56561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
56562         <bp-sym.h> and <bp-asm.h>.
56563         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
56565         <bp-sym.h> and <bp-asm.h>.
56566         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56567         comment.
56569 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
56571         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
56572         call free(NULL).
56574 2013-03-05  David S. Miller  <davem@davemloft.net>
56576         * po/es.po: Update from translation team.
56578 2013-03-05  Andreas Jaeger  <aj@suse.de>
56580         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
56581         <bits/mman-linux.h>.
56582         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56583         is fine.
56584         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
56585         <bits/mman-linux.h> to end of file.
56586         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56587         is fine.
56588         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
56589         <bits/mman-linux.h> to end of file.
56590         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
56591         is fine.
56592         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
56593         <bits/mman-linux.h> to end of file.
56595         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
56596         (MCL_CURRENT, MCL_FUTURE): Define here.
56598 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56600         [BZ #15232]
56601         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
56602         attribute_hidden.
56603         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
56605 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56607         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
56608         fourth parameter needed for rt_sigprocmask syscall.
56609         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
56610         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
56611         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
56612         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
56613         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
56614         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
56616 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
56618         [BZ #13550]
56619         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
56620         comment about bounded pointers.
56621         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
56622         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
56624 2013-03-04  Andreas Jaeger  <aj@suse.de>
56626         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
56627         common definitions.
56629         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
56630         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
56631         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
56632         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56633         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56634         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56636 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56638         [BZ #15055]
56639         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
56640         __ieee754_sqrl instead of __sqrl.
56642 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
56644         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
56645         * sysdeps/powerpc/fpu_control.h: ... here.
56646         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
56647         * sysdeps/powerpc/bits/fenvinline.h: ... here.
56648         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
56649         * sysdeps/powerpc/bits/mathinline.h: ... here.
56651 2013-03-01  Roland McGrath  <roland@hack.frob.com>
56653         * elf/dl-hwcaps.c (_dl_important_hwcaps):
56654         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
56655         to just [NEED_DL_SYSINFO_DSO].
56656         * elf/dl-support.c: Likewise.
56657         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
56658         * elf/rtld.c (dl_main): Likewise.
56659         * elf/setup-vdso.h (setup_vdso): Likewise.
56660         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
56661         * sysdeps/unix/sysv/linux/dl-sysdep.c
56662         (_dl_discover_osversion): Likewise.
56664 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
56666         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
56667         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56669 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
56671         * NEWS: Mention libm performance improvements and non-x86 PI
56672         futex support.
56674         * csu/libc-start.c (__pthread_initialize_minimal): Change
56675         function arguments.
56676         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
56678 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
56680         [BZ #13550]
56681         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
56682         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
56683         <bp-sym.h> and <bp-asm.h>.
56684         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56685         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
56686         and <bp-asm.h>.
56687         (memcpy): Don't use BP_SYM.
56688         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
56689         <bp-asm.h>.
56690         (__mpn_add_n): Don't use BP_SYM.
56691         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
56692         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
56693         and <bp-asm.h>.
56694         (__mpn_addmul_1): Don't use BP_SYM.
56695         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56696         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
56697         <bp-sym.h>.
56698         (_setjmp): Don't use BP_SYM.
56699         (__novmx_setjmp): Likewise.
56700         (__GI__setjmp): Likewise.
56701         (__vmx_setjmp): Likewise.
56702         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
56703         <bp-sym.h>.
56704         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
56705         (__bzero): Don't use BP_SYM.
56706         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
56707         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
56708         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
56709         <bp-sym.h> and <bp-asm.h>.
56710         (memcpy): Don't use BP_SYM.
56711         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
56712         <bp-sym.h> and <bp-asm.h>.
56713         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56714         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
56715         <bp-sym.h> and <bp-asm.h>.
56716         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
56717         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
56718         <bp-asm.h>.
56719         (__mpn_lshift): Don't use BP_SYM.
56720         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56721         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
56722         <bp-asm.h>.
56723         (memset): Don't use BP_SYM.
56724         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
56725         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
56726         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
56727         <bp-asm.h>.
56728         (__mpn_mul_1): Don't use BP_SYM.
56729         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56730         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
56731         <bp-sym.h> and <bp-asm.h>.
56732         (memcmp): Don't use BP_SYM.
56733         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
56734         <bp-sym.h> and <bp-asm.h>.
56735         (memcpy): Don't use BP_SYM.
56736         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
56737         <bp-sym.h> and <bp-asm.h>.
56738         (memset): Don't use BP_SYM.
56739         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
56740         <bp-sym.h> and <bp-asm.h>.
56741         (strncmp): Don't use BP_SYM.
56742         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
56743         <bp-sym.h> and <bp-asm.h>.
56744         (memcpy): Don't use BP_SYM.
56745         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
56746         <bp-sym.h> and <bp-asm.h>.
56747         (memset): Don't use BP_SYM.
56748         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
56749         <bp-sym.h> and <bp-asm.h>.
56750         (__memchr): Don't use BP_SYM.
56751         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
56752         <bp-sym.h> and <bp-asm.h>.
56753         (memcmp): Don't use BP_SYM.
56754         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
56755         <bp-sym.h> and <bp-asm.h>.
56756         (memcpy): Don't use BP_SYM.
56757         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
56758         <bp-sym.h> and <bp-asm.h>.
56759         (__mempcpy): Don't use BP_SYM.
56760         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
56761         <bp-sym.h> and <bp-asm.h>.
56762         (__memrchr): Don't use BP_SYM.
56763         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
56764         <bp-sym.h> and <bp-asm.h>.
56765         (memset): Don't use BP_SYM.
56766         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
56767         <bp-sym.h> and <bp-asm.h>.
56768         (__rawmemchr): Don't use BP_SYM.
56769         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
56770         <bp-sym.h> and <bp-asm.h>.
56771         (__STRCMP): Don't use BP_SYM.
56772         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
56773         <bp-sym.h> and <bp-asm.h>.
56774         (strchr): Don't use BP_SYM.
56775         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
56776         <bp-sym.h> and <bp-asm.h>.
56777         (__strchrnul): Don't use BP_SYM.
56778         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
56779         <bp-sym.h> and <bp-asm.h>.
56780         (strlen): Don't use BP_SYM.
56781         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
56782         <bp-sym.h> and <bp-asm.h>.
56783         (strncmp): Don't use BP_SYM.
56784         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
56785         <bp-sym.h> and <bp-asm.h>.
56786         (__strnlen): Don't use BP_SYM.
56787         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
56788         <bp-asm.h>.
56789         (__mpn_rshift): Don't use BP_SYM.
56790         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56791         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
56792         <bp-sym.h> and <bp-asm.h>.
56793         (__sigsetjmp): Don't use BP_SYM.
56794         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
56795         (L(start_addresses)): Don't use BP_SYM.
56796         (_start): Likewise.
56797         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
56798         <bp-asm.h>.
56799         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
56800         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56801         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56802         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
56803         <bp-asm.h>.
56804         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
56805         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56806         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56807         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
56808         <bp-asm.h>.
56809         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56810         comments.
56811         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56812         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
56813         <bp-asm.h>.
56814         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
56815         FIXME comments.
56816         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56817         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
56818         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
56819         <bp-asm.h>.
56820         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
56821         comment.
56822         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
56823         and <bp-asm.h>.
56824         (strncmp): Don't use BP_SYM,
56825         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
56826         <bp-asm.h>.
56827         (__mpn_sub_n): Don't use BP_SYM.
56828         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56829         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
56830         and <bp-asm.h>.
56831         (__mpn_submul_1): Don't use BP_SYM.
56832         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
56834         <bp-sym.h> and <bp-asm.h>.
56835         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
56836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
56837         <bp-sym.h> and <bp-asm.h>.
56838         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
56839         comment.
56841 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56843         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
56844         Use ZK to minimize writes to Z.
56845         (sub_magnitudes): Simplify code a bit.
56846         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
56847         Use ZK to minimize writes to Z.
56848         (sub_magnitudes): Simplify code a bit.
56850 2013-02-27  Roland McGrath  <roland@hack.frob.com>
56852         * csu/gmon-start.c: Add special exception to license text.
56854 2013-02-27  Richard Henderson  <rth@redhat.com>
56856         * scripts/config.guess: Update from config.git.
56857         * scripts/config.sub: Likewise.
56859 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56861         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
56863         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
56865         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
56867         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
56869         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
56871 2013-02-26  Roland McGrath  <roland@hack.frob.com>
56873         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
56874         [$(build-shared = yes].
56876 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56878         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
56879         (__mul): Reduce iterations for calculating mantissa.
56881         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
56882         MPTWO.
56883         (__mpranred): Likewise.
56885         [BZ #15160]
56886         * malloc/memusagestat.c (main): Draw graphs for heap and stack
56887         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
56889 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
56891         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
56892         Define __attribute__.
56894 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
56896         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
56897         unused.
56898         * posix/regex_internal.h (__attribute): Remove.
56899         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
56900         (re_string_context_at): Likewise.
56901         (bitset_not): Use __attribute__ and mark function as possibly
56902         unused.
56903         (bitset_merge): Likewise.
56904         (bitset_mask): Likewise.
56905         (re_string_char_size_at): Likewise.
56906         (re_string_wchar_at): Likewise.
56907         (re_string_elem_size_at): Likewise.
56909 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
56911         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
56912         code.
56913         (cc32): Likewise.
56915         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
56916         (__acr): Likewise.
56917         (__cpy): Likewise.
56918         (norm): Likewise.
56919         (denorm): Likewise.
56920         (__dbl_mp): Likewise.
56921         (add_magnitudes): Likewise.
56922         (sub_magnitudes): Likewise.
56923         (__mul): Likewise.
56924         (__inv): Likewise.
56926         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
56927         style.
56929         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
56930         style.
56932         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
56933         code.
56935         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
56936         up changes with default code.
56937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
56938         Likewise.
56940 2013-02-24  Allan McRae  <allan@archlinux.org>
56942         * manual/socket.texi (The Internet Namespace): Order menu items
56943         to match that in the file.
56945         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
56946         node listing of the info page menu.
56948 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
56950         [BZ #13550]
56951         * sysdeps/i386/bp-asm.h: Remove file.
56952         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
56953         (PARMS): Do not use macros from bp-asm.h.
56954         (S1): Likewise.
56955         (S2): Likewise.
56956         (SIZE): Likewise.
56957         (__mpn_add_n): Do not use BP_SYM
56958         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
56959         "bp-asm.h".
56960         (PARMS): Do not use macros from bp-asm.h.
56961         (S1): Likewise.
56962         (SIZE): Likewise.
56963         (__mpn_addmul_1): Do not use BP_SYM
56964         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
56965         "bp-asm.h".
56966         (PARMS): Do not use macros from bp-asm.h.
56967         (SIGMSK): Likewise.
56968         (_setjmp): Likewise.  Do not use BP_SYM.
56969         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
56970         "bp-asm.h".
56971         (PARMS): Do not use macros from bp-asm.h.
56972         (SIGMSK): Likewise.
56973         (setjmp): Likewise.  Do not use BP_SYM.
56974         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
56975         "bp-asm.h".
56976         (PARMS): Do not use macros from bp-asm.h.
56977         (__frexp): Do not use BP_SYM.
56978         (frexp): Likewise.
56979         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
56980         "bp-asm.h".
56981         (PARMS): Do not use macros from bp-asm.h.
56982         (__frexpf): Do not use BP_SYM.
56983         (frexpf): Likewise.
56984         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
56985         "bp-asm.h".
56986         (PARMS): Do not use macros from bp-asm.h.
56987         (__frexpl): Do not use BP_SYM.
56988         (frexpl): Likewise.
56989         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
56990         "bp-asm.h".
56991         (PARMS): Do not use macros from bp-asm.h.
56992         (__remquo): Do not use BP_SYM.
56993         (remquo): Likewise.
56994         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
56995         "bp-asm.h".
56996         (PARMS): Do not use macros from bp-asm.h.
56997         (__remquof): Do not use BP_SYM.
56998         (remquof): Likewise.
56999         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
57000         "bp-asm.h".
57001         (PARMS): Do not use macros from bp-asm.h.
57002         (__remquol): Do not use BP_SYM.
57003         (remquol): Likewise.
57004         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
57005         "bp-asm.h".
57006         (PARMS): Do not use macros from bp-asm.h.
57007         (DEST): Likewise.
57008         (SRC): Likewise.
57009         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
57010         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
57011         "bp-asm.h".
57012         (PARMS): Do not use macros from bp-asm.h.
57013         (strlen): Do not use BP_SYM.
57014         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
57015         "bp-asm.h".
57016         (PARMS): Do not use macros from bp-asm.h.
57017         (S1): Likewise.
57018         (S2): Likewise.
57019         (SIZE): Likewise.
57020         (__mpn_add_n): Do not use BP_SYM.
57021         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
57022         "bp-asm.h".
57023         (PARMS): Do not use macros from bp-asm.h.
57024         (S1): Likewise.
57025         (SIZE): Likewise.
57026         (__mpn_addmul_1): Do not use BP_SYM.
57027         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
57028         weak_alias.
57029         (bzero): Likewise.
57030         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
57031         "bp-asm.h".
57032         (PARMS): Do not use macros from bp-asm.h.
57033         (S): Likewise.
57034         (SIZE): Likewise.
57035         (__mpn_lshift): Do not use BP_SYM.
57036         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
57037         "bp-asm.h".
57038         (PARMS): Do not use macros from bp-asm.h.
57039         (DEST): Likewise.
57040         (SRC): Likewise.
57041         (LEN): Likewise.
57042         (memcpy): Likewise.  Do not use BP_SYM.
57043         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
57044         libc_hidden_def and weak_alias.
57045         (mempcpy): Do not use BP_SYM in weak_alias.
57046         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
57047         "bp-asm.h".
57048         (PARMS): Do not use macros from bp-asm.h.
57049         (DEST): Likewise.
57050         (LEN): Likewise.
57051         [!BZERO_P] (CHR): Likewise.
57052         (memset): Likewise.  Do not use BP_SYM.
57053         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
57054         "bp-asm.h".
57055         (PARMS): Do not use macros from bp-asm.h.
57056         (S1): Likewise.
57057         (SIZE): Likewise.
57058         (__mpn_mul_1): Do not use BP_SYM.
57059         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
57060         "bp-asm.h".
57061         (PARMS): Do not use macros from bp-asm.h.
57062         (S): Likewise.
57063         (SIZE): Likewise.
57064         (__mpn_rshift): Do not use BP_SYM.
57065         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
57066         "bp-asm.h".
57067         (PARMS): Do not use macros from bp-asm.h.
57068         (STR): Likewise.
57069         (CHR): Likewise.
57070         (strchr): Likewise.  Do not use BP_SYM.
57071         (index): Do not use BP_SYM in weak_alias.
57072         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
57073         "bp-asm.h".
57074         (PARMS): Do not use macros from bp-asm.h.
57075         (DEST): Likewise.
57076         (SRC): Likewise.
57077         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
57078         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
57079         "bp-asm.h".
57080         (PARMS): Do not use macros from bp-asm.h.
57081         (strlen): Do not use BP_SYM.
57082         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
57083         "bp-asm.h".
57084         (PARMS): Do not use macros from bp-asm.h.
57085         (S1): Likewise.
57086         (S2): Likewise.
57087         (SIZE): Likewise.
57088         (__mpn_sub_n): Do not use BP_SYM.
57089         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
57090         "bp-asm.h".
57091         (PARMS): Do not use macros from bp-asm.h.
57092         (S1): Likewise.
57093         (SIZE): Likewise.
57094         (__mpn_submul_1): Do not use BP_SYM.
57095         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
57096         "bp-asm.h".
57097         (PARMS): Do not use macros from bp-asm.h.
57098         (S1): Likewise.
57099         (S2): Likewise.
57100         (SIZE): Likewise.
57101         (__mpn_add_n): Do not use BP_SYM.
57102         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
57103         weak_alias.
57104         (bzero): Likewise.
57105         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
57106         "bp-asm.h".
57107         (PARMS): Do not use macros from bp-asm.h.
57108         (BLK2): Likewise.
57109         (LEN): Likewise.
57110         (memcmp): Do not use BP_SYM.
57111         (bcmp): Do not use BP_SYM in weak_alias.
57112         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
57113         "bp-asm.h".
57114         (PARMS): Do not use macros from bp-asm.h.
57115         (DEST): Likewise.
57116         (SRC): Likewise.
57117         (LEN): Likewise.
57118         (memcpy): Likewise.  Do not use BP_SYM.
57119         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
57120         "bp-asm.h".
57121         (PARMS): Do not use macros from bp-asm.h.
57122         (DEST): Likewise.
57123         (SRC): Likewise.
57124         (LEN): Likewise.
57125         (memmove): Likewise.  Do not use BP_SYM.
57126         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
57127         "bp-asm.h".
57128         (PARMS): Do not use macros from bp-asm.h.
57129         (DEST): Likewise.
57130         (SRC): Likewise.
57131         (LEN): Likewise.
57132         (__mempcpy): Likewise.  Do not use BP_SYM.
57133         (mempcpy): Do not use BP_SYM in weak_alias.
57134         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
57135         "bp-asm.h".
57136         (PARMS): Do not use macros from bp-asm.h.
57137         (DEST): Likewise.
57138         (LEN): Likewise.
57139         [!BZERO_P] (CHR): Likewise.
57140         (memset): Likewise.  Do not use BP_SYM.
57141         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
57142         "bp-asm.h".
57143         (PARMS): Do not use macros from bp-asm.h.
57144         (STR2): Likewise.
57145         (strcmp): Do not use BP_SYM.
57146         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
57147         "bp-asm.h".
57148         (PARMS): Do not use macros from bp-asm.h.
57149         (STR): Likewise.
57150         (DELIM): Likewise.
57151         [USE_AS_STRTOK_R] (SAVE): Likewise.
57152         (FUNCTION): Likewise.  Do not use BP_SYM.
57153         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
57154         aliases.
57155         (strtok_r): Likewise.
57156         (__GI___strtok_r): Likewise.
57157         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57158         (PARMS): Do not use macros from bp-asm.h.
57159         (S): Likewise.
57160         (SIZE): Likewise.
57161         (__mpn_lshift): Do not use BP_SYM.
57162         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57163         (PARMS): Do not use macros from bp-asm.h.
57164         (STR): Likewise.
57165         (CHR): Likewise.
57166         (__memchr): Do not use BP_SYM.
57167         (memchr): Do not use BP_SYM in weak_alias.
57168         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57169         (PARMS): Do not use macros from bp-asm.h.
57170         (BLK2): Likewise.
57171         (LEN): Likewise.
57172         (memcmp): Do not use BP_SYM.
57173         (bcmp): Do not use BP_SYM in weak_alias.
57174         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
57175         (PARMS): Do not use macros from bp-asm.h.
57176         (S1): Likewise.
57177         (SIZE): Likewise.
57178         (__mpn_mul_1): Do not use BP_SYM.
57179         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
57180         "bp-asm.h".
57181         (PARMS): Do not use macros from bp-asm.h.
57182         (STR): Likewise.
57183         (CHR): Likewise.
57184         (__rawmemchr): Do not use BP_SYM.
57185         (rawmemchr): Do not use BP_SYM in weak_alias.
57186         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
57187         (PARMS): Do not use macros from bp-asm.h.
57188         (S): Likewise.
57189         (SIZE): Likewise.
57190         (__mpn_rshift): Do not use BP_SYM.
57191         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
57192         (PARMS): Do not use macros from bp-asm.h.
57193         (SIGMSK): Likewise.
57194         (__sigsetjmp): Likewise.  Do not use BP_SYM.
57195         * sysdeps/i386/start.S: Do not include "bp-sym.h".
57196         (_start): Do not use BP_SYM.
57197         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
57198         (PARMS): Do not use macros from bp-asm.h.
57199         (DEST): Likewise.
57200         (SRC): Likewise.
57201         (__stpcpy): Likewise.  Do not use BP_SYM.
57202         (stpcpy): Do not use BP_SYM in weak_alias.
57203         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
57204         "bp-asm.h".
57205         (PARMS): Do not use macros from bp-asm.h.
57206         (DEST): Likewise.
57207         (SRC): Likewise.
57208         (LEN): Likewise.
57209         (__stpncpy): Likewise.  Do not use BP_SYM.
57210         (stpncpy): Do not use BP_SYM in weak_alias.
57211         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
57212         (PARMS): Do not use macros from bp-asm.h.
57213         (STR): Likewise.
57214         (CHR): Likewise.
57215         (strchr): Likewise.  Do not use BP_SYM.
57216         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
57217         "bp-asm.h".
57218         (PARMS): Do not use macros from bp-asm.h.
57219         (STR): Likewise.
57220         (CHR): Likewise.
57221         (__strchrnul): Likewise.  Do not use BP_SYM.
57222         (strchrnul): Do not use BP_SYM in weak_alias.
57223         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
57224         "bp-asm.h".
57225         (PARMS): Do not use macros from bp-asm.h.
57226         (STOP): Likewise.
57227         (strcspn): Do not use BP_SYM.
57228         * sysdeps/i386/strpbrk.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         (STOP): Likewise.
57233         (strpbrk): Likewise.  Do not use BP_SYM.
57234         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
57235         "bp-asm.h".
57236         (PARMS): Do not use macros from bp-asm.h.
57237         (STR): Likewise.
57238         (CHR): Likewise.
57239         (strrchr): Likewise.  Do not use BP_SYM.
57240         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
57241         (PARMS): Do not use macros from bp-asm.h.
57242         (SKIP): Likewise.
57243         (strspn): Do not use BP_SYM.
57244         * sysdeps/i386/strtok.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         (DELIM): Likewise.
57248         (SAVE): Likewise.
57249         (FUNCTION): Likewise.  Do not use BP_SYM.
57250         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
57251         aliases.
57252         (strtok_r): Likewise.
57253         (__GI___strtok_r): Likewise.
57254         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
57255         (PARMS): Do not use macros from bp-asm.h.
57256         (S1): Likewise.
57257         (S2): Likewise.
57258         (SIZE): Likewise.
57259         (__mpn_sub_n): Do not use BP_SYM.
57260         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
57261         "bp-asm.h".
57262         (PARMS): Do not use macros from bp-asm.h.
57263         (S1): Likewise.
57264         (SIZE): Likewise.
57265         (__mpn_submul_1): Do not use BP_SYM.
57266         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
57267         <bp-sym.h>.
57268         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
57269         and <bp-asm.h>.
57270         (PARMS): Do not use macros from bp-asm.h.
57271         (FLAGS): Likewise.
57272         (PTID): Likewise.
57273         (TLS): Likewise.
57274         (CTID): Likewise.
57275         (__clone): Do not use BP_SYM.
57276         (clone): Do not use BP_SYM in weak_alias.
57277         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
57278         and <bp-asm.h>.
57279         (PARMS): Do not use macros from bp-asm.h.
57280         (LEN): Likewise.
57281         (__mmap64): Do not use BP_SYM.
57282         (mmap64): Do not use BP_SYM in weak_alias.
57283         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
57284         <bp-sym.h> and <bp-asm.h>.
57285         (PARMS): Do not use macros from bp-asm.h.
57286         (__posix_fadvise64_l64): Do not use BP_SYM.
57287         * sysdeps/unix/sysv/linux/i386/semtimedop.S
57288         (PARMS): Do not use macros from bp-asm.h.
57289         (NSOPS): Likewise.
57290         (semtimedop): Do not use BP_SYM.
57291         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
57292         and <bp-asm.h>.
57294 2013-02-21  Allan McRae  <allan@archlinux.org>
57296         * manual/message.texi (Charset conversion in gettext):
57297         Move @end statement to beginning of line.
57299 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
57302         static.
57303         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57304         Likewise.
57306         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
57307         (denorm): Likewise.
57308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
57309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
57311 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57313         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
57314         tail-call to the resolved function if pltexit isn't needed.
57316 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
57318         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
57319         or Y being zero as being unlikely.
57320         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
57321         Likewise.
57323 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
57325         * manual/nss.texi (System Databases and Name Service Switch):
57326         Remove frobnicate @pxref.
57328 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57330         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57331         __attribute__ ((unused)) to __attribute__ ((__unused__)).
57333 2013-02-20  Petr Machata  <pmachata@redhat.com>
57335         * elf/elf.h (R_ARM_TARGET1): New macro.
57336         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
57337         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
57338         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
57339         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
57340         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
57341         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
57342         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
57343         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
57344         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
57345         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
57346         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
57347         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
57348         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
57349         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
57350         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
57351         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
57352         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
57353         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
57354         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
57355         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
57356         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
57357         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
57358         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
57359         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
57360         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
57361         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
57362         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
57363         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
57364         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
57365         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
57366         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
57367         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
57368         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
57369         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
57370         (R_ARM_THM_GOT_BREL12): Likewise.
57371         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
57372         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
57373         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
57374         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
57375         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
57376         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
57377         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
57378         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
57379         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
57381 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
57383         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
57384         __attribute_used__ to __attribute__ ((unused)).
57386 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
57388         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
57389         powerpc mpa.c.
57390         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
57391         comment formatting.
57392         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
57394 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
57396         [BZ #13550]
57397         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
57398         Remove macro.
57399         (ENTER): Remove both macro definitions.
57400         (LEAVE): Likewise.
57401         (CHECK_BOUNDS_LOW): Likewise.
57402         (CHECK_BOUNDS_HIGH): Likewise.
57403         (CHECK_BOUNDS_BOTH): Likewise.
57404         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
57405         (RETURN_BOUNDED_POINTER): Likewise.
57406         (RETURN_NULL_BOUNDED_POINTER): Likewise.
57407         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
57408         (POP_ERRNO_LOCATION_RETURN): Likewise.
57409         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
57410         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57411         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
57412         macros.
57413         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57414         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
57415         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
57416         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
57417         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
57418         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
57419         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
57420         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
57421         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
57422         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
57423         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
57424         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
57425         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57426         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
57427         removed macros.
57428         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57429         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
57430         macros.
57431         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57432         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
57433         * sysdeps/i386/i586/memset.S (memset): Likewise.
57434         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
57435         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57436         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
57437         macros.
57438         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57439         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
57440         Change uses of L(2) to L(out).
57441         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
57442         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
57443         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
57444         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57445         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
57446         removed macros.
57447         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57448         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
57449         macros.
57450         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57451         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
57452         (RETURN): Do not use macro LEAVE.
57453         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
57454         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
57455         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
57456         * sysdeps/i386/i686/memset.S (memset): Likewise.
57457         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
57458         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
57459         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
57460         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
57461         Likewise.
57462         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57463         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
57464         L(1_2) and L(1_3) into L(1).
57465         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57466         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
57467         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57468         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
57469         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
57470         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
57471         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
57472         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57473         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
57474         macros.
57475         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
57476         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
57477         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
57478         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
57479         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
57480         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
57481         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
57482         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
57483         * sysdeps/i386/strcspn.S (strcspn): Likewise.
57484         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
57485         * sysdeps/i386/strrchr.S (strrchr): Likewise.
57486         * sysdeps/i386/strspn.S (strspn): Likewise.
57487         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
57488         conditional code.
57489         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
57490         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
57491         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
57492         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
57493         L(1_3) into L(1_1).
57494         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
57495         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
57496         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
57497         macros.
57498         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
57500 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
57502         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
57503         macro.
57505 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57507         * math/atest-exp.c (exp_mpn): Remove ROUND.
57508         * math/atest-exp2.c (exp_mpn): Likewise.
57509         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
57511         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
57512         * stdlib/tst-tls-atexit-lib.c: Likewise.
57513         * stdlib/tst-tls-atexit.c: Likewise.
57515 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57517         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
57518         and __attribute_alloc_size__.
57520 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57522         * include/programs/xmalloc.h: Change __attribute_alloc_size to
57523         __attribute_alloc_size__.
57524         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
57525         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
57527 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
57529         * include/programs/xmalloc.h: New file.
57530         * catgets/gencat.c: Include it.
57531         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
57532         * elf/pldd.c: Likewise.
57533         * iconv/iconv_charmap.c: Likewise.
57534         * iconv/iconvconfig.c: Likewise.
57535         * iconv/strtab.c: Likewise.
57536         * locale/programs/locale.c: Likewise.
57537         * locale/programs/localedef.h: Likewise.
57538         * locale/programs/simple-hash.c: Likewise.
57539         * nscd/nscd.h: Likewise.
57540         * nss/makedb.c: Likewise.
57541         * sysdeps/generic/ldconfig.h: Likewise.
57543 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57545         * Versions.def: Add GLIBC_2.18.
57546         * include/link.h (struct link_map): New member l_tls_dtor_count.
57547         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
57548         (__call_tls_dtors): Likewise.
57549         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
57550         __cxa_thread_atexit_impl.
57551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
57552         Likewise.
57553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
57554         Likewise.
57555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57556         Likewise.
57557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57558         Likewise.
57559         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
57560         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
57561         Likewise.
57562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
57563         Likewise.
57564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
57565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
57566         Likewise.
57567         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
57568         (tests): Add test case tst-tls-atexit.
57569         (modules-names): Add shared library for tst-tls-atexit.
57570         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
57571         (GLIBC_PRIVATE): Add __call_tls_dtors.
57572         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
57573         for libstdc++.
57574         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
57575         * stdlib/tst-tls-atexit.c: New test case.
57576         * stdlib/tst-tls-atexit-lib.c: New test case.
57578         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
57580         * elf/Versions (ld): Add _dl_find_dso_for_object.
57581         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
57582         * elf/dl-open.c (_dl_find_dso_for_object): New function.
57583         (dl_open_worker): Use _dl_find_dso_for_object.
57584         * elf/dl-sym.c (do_sym): Likewise.
57585         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
57587 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57589         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
57590         Syntactic changes only.
57591         (_dl_runtime_profile): Do a tail-call to the resolved function.
57593 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
57595         [BZ #13550]
57596         * sysdeps/x86_64/bp-asm.h: Remove file.
57597         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
57598         <bp-sym.h> and <bp-asm.h>.
57599         (__clone): Do not use BP_SYM.
57600         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
57601         <bp-sym.h> and <bp-asm.h>.
57602         * sysdeps/unix/x86_64/sysdep.S: Likewise.
57603         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
57604         "bp-asm.h".
57605         (_setjmp): Do not use BP_SYM.
57606         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
57607         "bp-asm.h".
57608         (setjmp): Do not use BP_SYM.
57609         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
57610         libc_hidden_def.
57611         (mempcpy): Do not use BP_SYM in weak_alias.
57612         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
57613         "bp-asm.h".
57614         (strchr): Do not use BP_SYM.
57615         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
57616         "bp-asm.h".
57617         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
57618         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
57619         (_start): Do not use BP_SYM.
57620         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
57621         "bp-asm.h".
57622         (strcat): Do not use BP_SYM.
57623         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
57624         "bp-asm.h".
57625         (STRCMP): Do not use BP_SYM.
57626         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
57627         "bp-asm.h".
57628         (STRCPY): Do not use BP_SYM.
57629         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
57630         "bp-asm.h".
57631         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
57632         "bp-asm.h".
57633         (FUNCTION): Do not use BP_SYM.
57634         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
57635         weak_alias.
57636         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
57638 2013-02-17  Andreas Jaeger  <aj@suse.de>
57640         * time/Versions: Sort entries.
57641         * string/Versions: Likewise.
57642         * resolv/Versions: Likewise.
57643         * posix/Versions: Likewise.
57644         * iconv/Versions: Likewise.
57645         * elf/Versions: Likewise.
57646         * wcsmbs/Versions: Likewise.
57648 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
57650         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
57651         loop termination condition.
57653         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
57654         variable to calculate EZ.
57655         (__sqr): Likewise.
57657         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
57658         the lower precision input.
57660 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
57662         [BZ #13550]
57663         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
57664         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
57665         (run-via-rtld-prefix): Do not handle %-bp tests.
57666         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
57667         (all-object-suffixes): Remove .ob.
57668         (bppfx): Remove variable.
57669         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
57670         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
57671         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
57672         [$(build-bounded) = yes] (libtype.ob): Likewise.
57673         * Makerules (elide-routines.ob): Remove variable.
57674         (do-tests-clean): Do not handle *-bp.out.
57675         (common-mostlyclean): Do not handle *-bp and *-bp.out.
57676         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
57677         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
57678         (tests): Do not include $(tests-bp.out).
57679         (xtests): Do not include $(xtests-bp.out).
57680         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
57681         [$(build-bounded) = yes] ($(addprefix
57682         $(objpfx),$(binaries-bounded))): Remove rule.
57683         ($(objpfx)%-bp.out): Remove rule.
57684         * config.make.in (build-bounded): Remove variable.
57685         * crypt/Makefile [$(build-bounded) = yes]
57686         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
57687         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
57688         append to variable.
57689         [$(build-bounded) = yes] (install-lib): Likewise.
57690         [$(build-bounded) = yes] (generated): Likewise.
57691         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
57692         Remove rule.
57693         * intl/Makefile [$(build-bounded) = yes]
57694         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
57695         * math/Makefile [$(build-bounded) = yes]
57696         ($(tests:%=$(objpfx)%-bp): Likewise.
57697         * misc/Makefile [$(build-bounded) = yes]
57698         ($(objpfx)tst-tsearch-bp): Likewise.
57699         * nptl/Makeconfig (bounded-thread-library): Remove variable.
57700         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
57701         Remove dependency.
57702         * string/Makefile (o-objects.ob): Remove variable.
57703         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
57704         (CFLAGS-.ob): Remove variable.
57705         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
57706         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
57707         both definitions of variable.
57708         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
57709         (ASFLAGS-.ob): Remove variable.
57711 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
57713         [BZ #13550]
57714         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
57715         Remove __BOUNDED_POINTERS__ from condition.
57716         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
57717         * string/bits/string2.h [!__NO_STRING_INLINES &&
57718         !__BOUNDED_POINTERS__]: Likewise.
57719         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
57720         Likewise.
57721         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
57722         Remove conditional code.
57723         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
57724         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
57725         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
57726         condition.
57728         [BZ #13550]
57729         * csu/libc-start.c: Do not include <bp-sym.h>.
57730         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
57731         * elf/dl-open.c: Do not include <bp-sym.h>.
57732         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
57733         * math/fegetenv.c: Do not include <bp-sym.h>.
57734         (fegetenv): Do not use BP_SYM in versioned symbols.
57735         * nptl/sysdeps/pthread/bits/libc-lockP.h
57736         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
57737         <bp-sym.h>.
57738         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57739         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
57740         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57741         (__pthread_mutex_destroy): Likewise.
57742         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57743         (__pthread_mutex_lock): Likewise.
57744         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57745         (__pthread_mutex_trylock): Likewise.
57746         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57747         (__pthread_mutex_unlock): Likewise.
57748         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57749         (__pthread_mutexattr_init): Likewise.
57750         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57751         (__pthread_mutexattr_destroy): Likewise.
57752         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57753         (__pthread_mutexattr_settype): Likewise.
57754         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57755         (__pthread_rwlock_init): Likewise.
57756         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57757         (__pthread_rwlock_destroy): Likewise.
57758         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57759         (__pthread_rwlock_rdlock): Likewise.
57760         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57761         (__pthread_rwlock_tryrdlock): Likewise.
57762         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57763         (__pthread_rwlock_wrlock): Likewise.
57764         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57765         (__pthread_rwlock_trywrlock): Likewise.
57766         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57767         (__pthread_rwlock_unlock): Likewise.
57768         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57769         (__pthread_key_create): Likewise.
57770         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57771         (__pthread_setspecific): Likewise.
57772         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57773         (__pthread_getspecific): Likewise.
57774         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
57775         Likewise.
57776         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57777         (_pthread_cleanup_push_defer): Likewise.
57778         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57779         (_pthread_cleanup_pop_restore): Likewise.
57780         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
57781         (pthread_setcancelstate): Likewise.
57782         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
57783         <bp-sym.h>.
57784         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
57785         (memchr): Do not use BP_SYM in weak_alias.
57786         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
57787         (fegetenv): Do not use BP_SYM in versioned symbols.
57788         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
57789         (fesetenv): Do not use BP_SYM in versioned symbols.
57790         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57791         (feupdateenv): Do not use BP_SYM in versioned symbols.
57792         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57793         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57794         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
57795         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
57796         (open64): Do not use BP_SYM in weak_alias.
57797         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
57798         (fegetenv): Do not use BP_SYM in versioned symbols.
57799         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
57800         (fesetenv): Do not use BP_SYM in versioned symbols.
57801         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
57802         (feupdateenv): Do not use BP_SYM in versioned symbols.
57803         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
57804         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
57805         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
57806         (feraiseexcept): Do not use BP_SYM in versioned symbols.
57807         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
57808         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
57809         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
57810         <bp-sym.h>.
57811         (__libc_start_main): Do not use BP_SYM.
57813 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57815         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
57816         redundant return line.
57817         (norm): Likewise.
57818         (denorm): Likewise.
57819         (dbl_mp): Likewise.
57820         (sub_magnitudes): Likewise.
57821         (__add): Likewise.
57822         (__sub): Likewise.
57823         (__mul): Likewise.
57824         (__inv): Likewise.
57825         (__dvd): Likewise.
57826         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
57827         (norm): Likewise.
57828         (denorm): Likewise.
57829         (dbl_mp): Likewise.
57830         (sub_magnitudes): Likewise.
57831         (__add): Likewise.
57832         (__sub): Likewise.
57833         (__mul): Likewise.
57834         (__inv): Likewise.
57835         (__dvd): Likewise.
57837         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
57838         instead of __mul.
57839         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
57840         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
57841         (cc32): Likewise.
57843         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
57844         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
57845         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
57846         of __mul for squares.
57847         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
57848         function
57849         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
57850         Likewise.
57851         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
57852         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
57854 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
57856         [BZ #13550]
57857         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
57858         code.
57859         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
57860         prototype or function definition.  Rename ubp_* variables and
57861         parameters.  Remove argv definitions conditional on
57862         [__BOUNDED_POINTERS__].
57863         * debug/backtrace.c (__backtrace): Do not use __unbounded.
57864         * elf/dl-runtime.c (_dl_fixup): Likewise.
57865         * include/set-hooks.h (RUN_HOOK): Likewise.
57866         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
57867         definition.
57868         * string/strcpy.c (strcpy): Do not use __unbounded.
57869         * sysdeps/generic/frame.h (struct layout): Likewise.
57870         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
57871         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
57872         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
57873         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
57874         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
57875         (__backtrace): Likewise.
57876         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
57877         use __ptrvalue.
57878         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
57879         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57880         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
57881         Likewise.
57882         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
57883         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
57884         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57885         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
57886         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
57887         Do not use __unbounded.
57888         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
57889         Rename __unboundedrlimits parameter to rlimits in prototype.
57890         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
57891         Do not use __unbounded.
57892         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
57893         not use __ptrvalue.
57894         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
57895         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
57896         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
57897         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
57898         __ptrvalue or __unbounded.
57899         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
57900         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
57901         use __unbounded.
57902         (__new_msgctl): Do not use __ptrvalue.
57903         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
57904         __unbounded.
57905         (__libc_msgrcv): Do not use __ptrvalue.
57906         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
57907         startup_info): Do not use __unbounded.
57908         (__libc_start_main): Likewise.  Rename ubp_* variables and
57909         parameters.  Remove argv definitions conditional on
57910         [__BOUNDED_POINTERS__].
57911         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
57912         __ptrvalue.
57913         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
57914         use __unbounded.
57915         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
57916         or __ptrvalue.
57917         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
57918         use __unbounded.
57919         (__new_shmctl): Do not use __ptrvalue.
57920         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
57921         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
57922         Likewise.
57923         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
57924         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
57925         (__libc_sigaction): Likewise.
57926         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
57927         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
57928         Likewise.
57929         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
57931 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
57933         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
57935         * string/mempcpy.c: Implement by calling memcpy.
57937 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57939         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
57941         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
57942         evaluation.
57944         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
57945         values in the mantissa.
57947         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
57948         minimize writes to Z.
57949         (sub_magnitudes): Simplify code a bit.
57951 2013-02-12  Roland McGrath  <roland@hack.frob.com>
57953         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
57954         from the message.  The linker prefixes all warnings with that already.
57956 2013-02-12  Andreas Schwab  <schwab@suse.de>
57958         [BZ #15078]
57959         * posix/regexec.c (extend_buffers): Add parameter min_len.
57960         (check_matching): Pass minimum needed length.
57961         (clean_state_log_if_needed): Likewise.
57962         (get_subexp): Likewise.
57963         * posix/Makefile (tests): Add bug-regex34.
57964         (bug-regex34-ENV): Define.
57965         * posix/bug-regex34.c: New file.
57967         [BZ #11561]
57968         * posix/regcomp.c (parse_bracket_exp): When looking up collating
57969         elements compare against the byte sequence of it, not its name.
57970         * posix/Makefile (tests): Add bug-regex35.
57971         (bug-regex35-ENV): Define.
57972         * posix/bug-regex35.c: New file.
57974 2013-02-11  Tom de Vries  <tom@codesourcery.com>
57976         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
57977         comment.
57978         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
57979         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
57980         (CHECK_EOL): Add undef.
57982 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
57984         * bits/stdlib-bsearch.h: New file.
57985         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
57986         * stdlib/stdlib.h: Likewise.
57988 2013-02-11  Roland McGrath  <roland@hack.frob.com>
57990         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
57991         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
57992         declaration.
57993         * manual/search.texi (Array Search Function): Add missing const in
57994         lfind prototype.
57995         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
57996         declaration to use rlim_t.
57997         (Basic Scheduling Functions): Remove erroneous const from
57998         sched_getparam prototype.  Remove erroneous * from
57999         sched_get_priority_max and sched_get_priority_min prototypes.
58000         (Resource Usage): Fix summary @comment on vtimes to refer to
58001         sys/vtimes.h rather than vtimes.h.
58002         Add missing *s in vtimes prototype.
58003         (Limits on Resources): Fix ulimit prototype to return long int.
58004         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
58005         prototypes to use long int rather than double.
58006         (BSD Random): Fix initstate and setstate to use char *, not void *.
58007         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
58008         prototype to make second argument 'struct aiocb64 *const[]'.
58009         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
58010         (Status of AIO Operations): Remove erroneous const in aio_return and
58011         aio_return64 prototypes.
58012         (Synchronizing I/O): Fix sync prototype to return void.
58013         * manual/startup.texi (Suboptions): Remove an erroneous const in
58014         getsubopt prototype.
58015         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
58016         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
58017         use size_t rather than int.
58018         (Scanning All Users): Likewise for getpwent_r.
58019         (Setting Groups): Add missing const to setgroups prototype.
58020         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
58021         * manual/socket.texi (Host Names): Fix gethostbyaddr and
58022         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
58023         'const void *' rather than 'const char *'.
58024         (Host Address Functions): Likewise for inet_ntop.
58025         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
58026         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
58027         ssize_t for return value.
58028         (Sending Data): Likewise for send, sendto, sendmsg.
58029         (Socket Option Functions): Add a missing const in setsockopt prototype.
58030         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
58031         use wchar_t for the argument.
58032         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
58033         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
58034         take no arguments.
58035         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
58036         double/float/long double for second argument.
58037         Fix return types of significand, significandf, significandl.
58038         * manual/filesys.texi (Setting Permissions): Use mode_t for second
58039         argument in fchmod prototype.
58040         (File Owner): Use uid_t and gid_t in fchown prototype.
58041         (File Times): Add const to utimes, futimes, and lutimes prototypes.
58042         (Making Special Files): Use mode_t and dev_t in mknod prototype.
58043         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
58044         use 'const struct dirent **' as argument types to CMP function pointer
58045         argument.
58046         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
58047         (File Times): Fix summary magic @comment for struct utimbuf and utime
58048         to refer to utime.h, not time.h.
58049         * manual/string.texi (Argz Functions): Add missing const in
58050         argz_extract and argz_next prototypes.
58051         (Finding Tokens in a String): Likewise for basename.
58052         (String/Array Comparison): Fix typo in wcscasecmp prototype.
58053         (Copying and Concatenation): Fix typo in wmemmove prototype.
58054         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
58055         (Signal Stack): Remove erroneous const in sigstack prototype.
58056         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
58057         prototype.
58058         (Simple Calendar Time): Likewise for stime.
58059         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
58060         prototype.
58061         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
58062         say sys/sysctl.h instead.
58063         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
58064         and vsyslog prototypes.
58066 2013-02-11  Tom de Vries  <tom@codesourcery.com>
58068         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
58069         Remove.
58071 2013-02-11  Roland McGrath  <roland@hack.frob.com>
58073         * misc/sys/mman.h: Fix typo in mremap comment.
58075 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58077         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
58078         the '\0' terminator.
58080 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58082         [BZ #13550]
58083         * debug/segfault.c: Don't include <bp-checks.h>.
58084         * sysdeps/generic/bp-checks.h: Remove file.
58085         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
58086         (__GETDENTS): Don't use CHECK_N.
58087         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
58088         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
58089         (__getgroups): Don't use CHECK_N.
58090         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
58091         (setgroups): Don't use CHECK_N.
58092         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
58093         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
58094         (__libc_msgrcv): Don't use CHECK_N.
58095         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
58096         (__libc_msgsnd): Don't use CHECK_N.
58097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
58098         <bp-checks.h>.
58099         (__libc_pread): Don't use CHECK_N.
58100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
58101         include <bp-checks.h>.
58102         (__libc_pread64): Don't use CHECK_N.
58103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
58104         include <bp-checks.h>.
58105         (__libc_pwrite): Don't use CHECK_N.
58106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
58107         include <bp-checks.h>.
58108         (__libc_pwrite64): Don't use CHECK_N.
58109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
58110         <bp-checks.h>.
58111         (__libc_pread): Don't use CHECK_N.
58112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
58113         include <bp-checks.h>.
58114         (__libc_pread64): Don't use CHECK_N.
58115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
58116         include <bp-checks.h>.
58117         (__libc_pwrite): Don't use CHECK_N.
58118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
58119         include <bp-checks.h>.
58120         (__libc_pwrite64): Don't use CHECK_N.
58121         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
58122         (do_pread): Don't use CHECK_N.
58123         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
58124         (do_pread64): Don't use CHECK_N.
58125         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
58126         (do_pwrite): Don't use CHECK_N.
58127         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
58128         (do_pwrite64): Don't use CHECK_N.
58129         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
58130         (__libc_readv): Don't use CHECK_N.
58131         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
58132         (semop): Don't use CHECK_N.
58133         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
58134         <bp-checks.h>.
58135         (semtimedop): Don't use CHECK_N.
58136         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
58137         (__libc_pread): Don't use CHECK_N.
58138         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
58139         <bp-checks.h>.
58140         (__libc_pread64): Don't use CHECK_N.
58141         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
58142         <bp-checks.h>.
58143         (__libc_pwrite): Don't use CHECK_N.
58144         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
58145         <bp-checks.h>.
58146         (__libc_pwrite64): Don't use CHECK_N.
58147         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
58148         <bp-checks.h>.
58149         (__libc_msgrcv): Don't use CHECK_N.
58150         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
58151         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
58152         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
58153         (__libc_writev): Don't use CHECK_N.
58155 2013-02-08  Roland McGrath  <roland@hack.frob.com>
58157         * string/strcpy.c: Removed unused variable.
58159         * Makeconfig (+sysdep-includes): Define with := rather than =.
58160         Use an existing include/ subdir of each sysdeps dir before it.
58162 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58164         * nscd/connection.c (register_traced_file): Comment function.
58165         [HAVE_INOTIFY] (union __inev): Define.
58166         [HAVE_INOTIFY] (inotify_check_files): New function.
58167         [HAVE_INOTIFY] (clear_db_cache): Likewise.
58168         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
58169         clear_db_cache.
58170         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
58172 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58174         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
58175         loaded if not already and that a failure is permanent.
58177 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
58179         [BZ #15006]
58180         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
58181         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
58183 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
58185         [BZ #13550]
58186         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
58187         (CHECK_1_NULL_OK): Likewise.
58188         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
58189         (__fxstat): Do not use CHECK_1.
58190         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
58191         <bp-checks.h>.
58192         (___fxstat64): Do not use CHECK_1.
58193         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
58194         <bp-checks.h>.
58195         (__fxstatat): Do not use CHECK_1.
58196         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
58197         <bp-checks.h>.
58198         (__fxstatat64): Do not use CHECK_1.
58199         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
58200         <bp-checks.h>.
58201         (__fxstat): Do not use CHECK_1.
58202         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
58203         <bp-checks.h>.
58204         (__fxstatat): Do not use CHECK_1.
58205         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
58206         <bp-checks.h>.
58207         (__getresgid): Do not use CHECK_1.
58208         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
58209         <bp-checks.h>.
58210         (__getresuid): Do not use CHECK_1.
58211         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
58212         <bp-checks.h>.
58213         (__lxstat): Do not use CHECK_1.
58214         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
58215         <bp-checks.h>.
58216         (__old_msgctl): Do not use CHECK_1.
58217         (__new_msgctl): Likewise.
58218         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
58219         <bp-checks.h>.
58220         (__new_setrlimit): Do not use CHECK_1.
58221         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
58222         <bp-checks.h>.
58223         (__old_shmctl): Do not use CHECK_1.
58224         (__new_shmctl): Likewise.
58225         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
58226         <bp-checks.h>.
58227         (__xstat): Do not use CHECK_1.
58228         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
58229         (__lxstat): Do not use CHECK_1.
58230         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
58231         <bp-checks.h>.
58232         (___lxstat64): Do not use CHECK_1.
58233         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
58234         (__old_msgctl): Do not use CHECK_1.
58235         (__new_msgctl): Likewise.
58236         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
58237         <bp-checks.h>.
58238         (__gettimeofday): Do not use CHECK_1.
58239         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
58240         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
58241         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
58242         <bp-checks.h>.
58243         (__gettimeofday): Do not use CHECK_1.
58244         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
58245         (__old_shmctl): Do not use CHECK_1_NULL_OK.
58246         (__new_shmctl): Do not use CHECK_1.
58247         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
58248         <bp-checks.h>.
58249         (do_sigtimedwait): Do not use CHECK_1.
58250         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
58251         <bp-checks.h>.
58252         (do_sigwaitinfo): Do not use CHECK_1.
58253         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
58254         <bp-checks.h>.
58255         (msgctl): Do not use CHECK_1.
58256         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
58257         <bp-checks.h>.
58258         (shmctl): Do not use CHECK_1.
58259         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
58260         (ustat): Do not use CHECK_1.
58261         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
58262         <bp-checks.h>.
58263         (__fxstat): Do not use CHECK_1.
58264         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
58265         <bp-checks.h>.
58266         (__fxstatat): Do not use CHECK_1.
58267         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
58268         <bp-checks.h>.
58269         (__lxstat): Do not use CHECK_1.
58270         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
58271         <bp-checks.h>.
58272         (__xstat): Do not use CHECK_1.
58273         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
58274         (__xstat): Do not use CHECK_1.
58275         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
58276         (___xstat64): Do not use CHECK_1.
58278         [BZ #13550]
58279         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
58280         definitions.
58281         (CHECK_BOUNDS_HIGH): Likewise.
58282         * string/strcpy.c: Do not include <bp-checks.h>.
58283         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
58285 2013-02-07  Roland McGrath  <roland@hack.frob.com>
58287         * nscd/nscd-client.h (__nscd_drop_map_ref):
58288         Add __attribute__ ((unused)).
58289         * nis/nss-nisplus.h (niserr2nss): Likewise.
58291         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
58292         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
58294         * csu/libc-tls.c (init_static_tls, init_slotinfo):
58295         Remove inline keyword.
58296         * include/rounding-mode.h (round_away): Likewise.
58297         * libio/wfileops.c (adjust_wide_data): Likewise.
58298         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
58299         (__m128i_strloadu_tolower): Likewise.
58300         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
58301         (__m128i_strloadu_tolower): Likewise.
58302         * time/mktime.c (ydhms_diff): Likewise.
58303         * locale/elem-hash.h (elem_hash): Likewise.
58304         * locale/setlocale.c (setdata): Likewise.
58305         * posix/regex_internal.h (re_string_char_size_at): Likewise.
58306         (re_string_wchar_at): Likewise.
58307         (bitset_not, bitset_merge, bitset_mask): Likewise.
58308         [!(__GNUC__ > 3)] (inline): Remove macro.
58309         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
58310         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
58311         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
58312         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
58313         * string/memcmp.c (memcmp_bytes): Likewise.
58314         * locale/programs/locarchive.c (compute_hashval): Likewise.
58315         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
58316         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
58317         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
58318         * nss/getent.c (print_rpc, print_protocols): Likewise.
58319         (print_passwd, print_group, print_aliases): Likewise.
58320         * nis/nss-nisplus.h (niserr2nss): Likewise.
58321         * nscd/connections.c (restart_p): Likewise.
58322         Change return type to bool.
58324 2013-02-05  Roland McGrath  <roland@hack.frob.com>
58326         * Makeconfig (all-Depend-files): Add existing
58327         $(sorted-subdirs:=/Depend) files.
58328         (all-subdirs): Remove nss.
58329         * sysdeps/unix/inet/Subdirs: Add it here instead.
58330         * hesiod/Depend: New file.
58332         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
58333         instead of calling alloca.
58335         * io/lseek.c (__lseek): Rename to __libc_lseek.
58336         Define __lseek as an alias.
58338         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
58340 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
58342         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
58343         else clause and remove check for non-standard endianness.
58345 2013-02-04  David S. Miller  <davem@davemloft.net>
58347         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58349 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
58351         [BZ #13550]
58352         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
58353         (__ubp_memchr): Remove prototype.
58354         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
58355         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58356         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
58357         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
58358         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
58359         Remove alias.
58360         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
58361         (__ubp_memchr): Likewise.
58362         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
58363         (__ubp_memchr): Likewise.
58364         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
58365         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
58366         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
58367         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
58368         CHECK_STRING.
58369         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
58370         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
58371         (__getcwd): Do not use CHECK_STRING.
58372         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
58373         <bp-checks.h>.
58374         (__real_chown): Do not use CHECK_STRING.
58375         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
58376         <bp-checks.h>.
58377         (fchownat): Do not use CHECK_STRING.
58378         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
58379         CHECK_STRING.
58380         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
58381         <bp-checks.h>.
58382         (__lchown): Do not use CHECK_STRING.
58383         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
58384         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
58385         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
58386         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
58387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
58388         include <bp-checks.h>.
58389         (truncate64): Do not use CHECK_STRING.
58390         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
58391         <bp-checks.h>.
58392         (__real_chown): Do not use CHECK_STRING.
58393         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
58394         <bp-checks.h>.
58395         (__lchown): Do not use CHECK_STRING.
58396         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
58397         <bp-checks.h>.
58398         (__chown): Do not use CHECK_STRING.
58399         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
58400         <bp-checks.h>.
58401         (truncate64): Do not use CHECK_STRING.
58402         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
58403         Likewise.
58404         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
58405         (__xmknod): Do not use CHECK_STRING.
58406         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
58407         <bp-checks.h>.
58408         (__xmknodat): Do not use CHECK_STRING.
58409         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
58410         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
58412 2013-02-04  Andreas Schwab  <schwab@suse.de>
58414         [BZ #14142]
58415         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
58416         * include/netdb.h: Likewise for h_errno.
58417         * elf/tst-stackguard1.c: Include <tls.h>.
58419 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
58421         * elf/link.h (struct link_map): Extend the l_addr comment.
58422         * include/link.h (struct link_map): Likewise.
58424 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
58426         [BZ #13550]
58427         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
58428         (BOUNDED_1): Remove macro.
58429         * debug/backtrace.c: Don't include <bp-checks.h>.
58430         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
58431         (__backtrace): Likewise.
58432         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
58433         <bp-checks.h>.
58434         (__backtrace): Don't use BOUNDED_1.
58435         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
58436         <bp-checks.h>.
58437         (__backtrace): Don't use BOUNDED_1.
58438         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
58439         (__backtrace): Don't use BOUNDED_1.
58440         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
58441         (shmat): Don't use BOUNDED_N.
58443 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
58445         [BZ #13550]
58446         * sysdeps/generic/bp-start.h: Remove file.
58447         * csu/libc-start.c: Don't include <bp-start.h>.
58448         (LIBC_START_MAIN): Set up __environ directly instead of using
58449         INIT_ARGV_and_ENVIRON.
58450         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
58451         <bp-start.h>.
58453         [BZ #13550]
58454         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
58455         definitions.
58456         (CHECK_FCNTL): Likewise.
58457         (CHECK_N_PAGES): Likewise.
58459         [BZ #13550]
58460         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
58461         definitions.
58462         (CHECK_SIGSET_NULL_OK): Likewise.
58463         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
58464         <bp-checks.h>.
58465         (sigpending): Don't use CHECK_SIGSET.
58466         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
58467         <bp-checks.h>.
58468         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58469         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
58470         <bp-checks.h>.
58471         (do_sigsuspend): Don't use CHECK_SIGSET.
58472         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
58473         use CHECK_SIGSET.
58474         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
58475         (do_sigwait): Don't use CHECK_SIGSET.
58476         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
58477         use CHECK_SIGSET.
58478         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
58479         include <bp-checks.h>.
58480         (sigpending): Don't use CHECK_SIGSET.
58481         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
58482         include <bp-checks.h>.
58483         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58484         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
58485         <bp-checks.h>.
58486         (sigpending): Don't use CHECK_SIGSET.
58487         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
58488         <bp-checks.h>.
58489         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
58491         [BZ #13550]
58492         * sysdeps/generic/bp-semctl.h: Remove file.
58493         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
58494         <bp-checks.h> and <bp-semctl.h>.
58495         (__old_semctl): Don't use CHECK_SEMCTL.
58496         (__new_semctl): Likewise.
58497         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
58498         and <bp-semctl.h>.
58499         (__old_semctl): Don't use CHECK_SEMCTL.
58500         (__new_semctl): Likewise.
58501         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
58502         <bp-checks.h> and <bp-semctl.h>.
58503         (__old_semctl): Don't use CHECK_SEMCTL.
58504         (__new_semctl): Likewise.
58505         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
58506         <bp-checks.h> and <bp-semctl.h>.
58507         (semctl): Don't use CHECK_SEMCTL.
58509         [BZ #13550]
58510         * Makerules (elide-bp-thunks): Remove variable.
58511         (elide-routines.oS): Don't use $(elide-bp-thunks).
58512         (elide-routines.os): Likewise.
58513         (elide-routines.o): Likewise.
58514         (elide-routines.op): Likewise.
58515         (elide-routines.og): Likewise.
58516         (objects): Don't use $(bp-thunks).
58517         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
58518         include.
58519         (common-generated): Do not add s-proto-bp.d.
58520         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
58521         (int): Likewise.
58522         (typ): Likewise.
58523         Do not generate makefile rules for bounded-pointer thunks.
58524         * sysdeps/generic/bp-thunks.h: Remove file.
58525         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
58526         * sysdeps/unix/s-proto-bp.S: Likewise.
58528         [BZ #15062]
58529         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
58530         parts of result separately when argument is not close to line from
58531         -i to i and one part of argument is small.
58532         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58533         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58534         * math/libm-test.inc (cacos_test): Add more tests.
58535         (casin_test): Likewise.
58536         (casinh_test): Likewise.
58537         * sysdeps/i386/fpu/libm-test-ulps: Update.
58538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58540 2013-01-31  David S. Miller  <davem@davemloft.net>
58542         * po/de.po: Update from translation team.
58544 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
58546         * time/tzfile.c: Include stdint.h for SIZE_MAX.
58548 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
58550         * configure.in (_AC_PROG_CC_C89): New definition.
58551         * configure: Regenerate.
58553         * configure.in (AC_PROG_CPP): New definition.
58554         * configure: Regenerate.
58556 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58558         * debug/tst-backtrace.h: New file.
58559         * debug/tst-backtrace2.c: Include tst-backtrace.h.
58560         (ret): Remove variable.
58561         (x): Likewise.
58562         (FAIL): Remove macro.
58563         (NO_INLINE): Likewise.
58564         (fn1): Use match function instead of strstr.
58565         * debug/tst-backtrace3.c: Include tst-backtrace.h.
58566         (ret): Remove variable.
58567         (x): Likewise.
58568         (FAIL): Remove macro.
58569         (NO_INLINE): Likewise.
58570         (fn): Use match function instead of strstr.
58571         * debug/tst-backtrace4.c: Include tst-backtrace.h.
58572         (ret): Remove variable.
58573         (x): Likewise.
58574         (FAIL): Remove macro.
58575         (NO_INLINE): Likewise.
58576         (handle_signal): Use match function instead of strstr.
58577         * debug/tst-backtrace5.c: Include tst-backtrace.h.
58578         (ret): Remove variable.
58579         (x): Likewise.
58580         (FAIL): Remove macro.
58581         (NO_INLINE): Likewise.
58582         (handle_signal): Use match function instead of strstr.
58584 2013-01-23  Roland McGrath  <roland@hack.frob.com>
58586         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
58588 2013-01-23  David S. Miller  <davem@davemloft.net>
58590         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
58591         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
58592         argument of CAS if possible.
58593         * sysdeps/sparc/sparc64/bits/atomic.h
58594         (__arch_compare_and_exchange_val_32_acq): Likewise.
58595         (__arch_compare_and_exchange_val_64_acq): Likewise.
58597 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
58599         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
58600         * sysdeps/posix/ulimit.c: ... this.
58601         Include <limits.h>.
58602         * sysdeps/unix/bsd/ulimit.c: Remove file.
58604 2013-01-23  Adam Conrad  <adconrad@0c3.net>
58606         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
58607         (LDFLAGS-tst-array5): Likewise.
58609 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
58611         [BZ #15036]
58612         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
58613         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
58614         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
58615         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
58617 2013-01-21  David S. Miller  <davem@davemloft.net>
58619         * sysdeps/sparc/backtrace.c: New file.
58620         * sysdeps/sparc/sparc32/backtrace.h: New file.
58621         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
58622         * sysdeps/sparc/sparc64/backtrace.h: New file.
58623         * sysdeps/sparc/sparc64/backtrace.c: Delete.
58624         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
58625         -funwind-tables.
58627 2013-01-21  Andreas Schwab  <schwab@suse.de>
58629         [BZ #15020]
58630         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
58631         closed its stdout.
58633 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
58635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
58636         "mpa2.h".
58637         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58639 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
58640             Mark Mitchell  <mark@codesourcery.com>
58641             Tom de Vries  <tom@codesourcery.com>
58642             Paul Pluzhnikov  <ppluzhnikov@google.com>
58644         * debug/tst-backtrace2.c: New file.
58645         * debug/tst-backtrace3.c: Likewise.
58646         * debug/tst-backtrace4.c: Likewise.
58647         * debug/tst-backtrace5.c: Likewise.
58648         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
58649         (CFLAGS-tst-backtrace3.c): Likewise.
58650         (CFLAGS-tst-backtrace4.c): Likewise.
58651         (CFLAGS-tst-backtrace5.c): Likewise.
58652         (LDFLAGS-tst-backtrace2): Likewise.
58653         (LDFLAGS-tst-backtrace3): Likewise.
58654         (LDFLAGS-tst-backtrace4): Likewise.
58655         (LDFLAGS-tst-backtrace5): Likewise.
58656         (tests): Add new tests tst-backtrace2, tst-backtrace3,
58657         tst-backtrace4 and tst-backtrace5.
58659 2013-01-18  Anton Blanchard  <anton@samba.org>
58660             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
58662         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
58663         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
58664         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
58665         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
58666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58667         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
58668         "+r" and remove output regs list as redundant.  Add explicit inline
58669         asm to specify register of return val to work around compiler codegen
58670         bug.  Remove (int) cast on return value.  Add return type parameter to
58671         use in macro so that this macro does not truncate return value for
58672         64-bit values.
58673         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
58674         pass to INTERNAL_VSYSCALL_NCS.
58675         (INLINE_VSYSCALL): Add 'long int' as return type to
58676         INTERNAL_VSYSCALL_NCS macro invocation.
58677         (INTERNAL_VSYSCALL): Add 'long int' as return type to
58678         INTERNAL_VSYSCALL_NCS macro invocation.
58679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58681 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58683         [BZ #14496]
58684         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
58685         Fix application of SIMD FP exception mask.
58687         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
58688         mp_no from a power of two.
58689         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
58690         __mpexp_twomm1.  Use __pow_mp.
58692         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
58693         multiplication.
58695 2013-01-17  David S. Miller  <davem@davemloft.net>
58697         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58699 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58701         [BZ #15023]
58702         * include/complex.h: Condition contents on [!_COMPLEX_H].
58703         (__kernel_casinhf): New prototype.
58704         (__kernel_casinh): Likewise.
58705         (__kernel_casinhl): Likewise.
58706         * math/Makefile (libm_calls): Add k_casinh.
58707         * math/k_casinh.c: New file.
58708         * math/k_casinhf.c: Likewise.
58709         * math/k_casinhl.c: Likewise.
58710         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
58711         finite nonzero arguments.
58712         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
58713         finite nonzero arguments.
58714         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
58715         finite nonzero arguments.
58716         * math/s_casinh.c: Do not include <float.h>.
58717         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
58718         * math/s_casinhf.c: Do not include <float.h>.
58719         (__casinhf): Move code for finite nonzero arguments to
58720         k_casinhf.c.
58721         * math/s_casinhl.c: Do not include <float.h>.
58722         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
58723         redefine.
58724         (__casinhl): Move code for finite nonzero arguments to
58725         k_casinhl.c.
58726         * math/libm-test.inc (cacos_test): Add more tests.
58727         * sysdeps/i386/fpu/libm-test-ulps: Update.
58728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58730 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
58732         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
58733         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
58734         [!HAVE_MREMAP]: Remove [defined linux] case.
58735         * malloc/arena.c: Do not include <malloc-sysdep.h>.
58737 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58739         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
58741 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
58743         * elf/elf.h (R_386_SIZE32): New relocation.
58744         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
58745         R_386_SIZE32.
58746         (elf_machine_rela): Likewise.
58747         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
58748         R_X86_64_SIZE64 and R_X86_64_SIZE32.
58750 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
58752         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
58753         (FP_FAST_FMA): Do not define.
58754         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
58755         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
58756         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
58757         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
58758         !_SOFT_FLOAT]: Likewise.
58759         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
58760         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
58761         value.
58762         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
58763         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
58764         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
58765         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
58766         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
58767         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
58768         file.
58770 2013-01-16  Andreas Schwab  <schwab@suse.de>
58772         [BZ #14327]
58773         * include/stdlib.h (__mktemp): Add declaration.
58774         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
58775         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
58777 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58779         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
58780         definitions.
58781         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58782         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
58783         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
58784         definitions here.
58785         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
58786         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
58787         definitions.
58788         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
58789         and ONE.
58790         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
58791         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
58792         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
58793         definitions.
58794         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
58795         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
58796         definitions.
58797         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58799         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
58801 2013-01-15  David S. Miller  <davem@davemloft.net>
58803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58804         trunc{,f} to libm-sysdep_routes.
58805         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
58807         file.
58808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
58809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
58810         file.
58811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
58812         file.
58813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
58814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
58815         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
58816         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
58817         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
58818         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
58819         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
58820         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
58822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58823         nearbyint{,f} to libm-sysdep_routes.
58824         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
58826         New file.
58827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
58828         file.
58829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
58830         New file.
58831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
58832         file.
58833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
58834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
58835         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
58836         file.
58837         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
58838         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
58839         file.
58840         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
58841         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
58842         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
58844         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
58845         libc_feholdexcept and libc_fesetenv.
58847 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
58849         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
58851 2013-01-14  David S. Miller  <davem@davemloft.net>
58853         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
58854         (SPARC_ASM_VIS2_IFUNC): Likewise.
58855         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
58856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
58857         use of 'siam' instruction.
58858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
58859         Likewise.
58860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
58861         Likewise.
58862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
58863         Likewise.
58864         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
58865         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
58866         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
58867         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
58868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
58869         file.
58870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
58871         file.
58872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
58873         file.
58874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
58875         file.
58876         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
58877         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
58878         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
58879         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
58880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
58881         new VIS2 routines.
58882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
58883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
58884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
58885         Likewise.
58886         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
58887         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
58888         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
58889         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
58890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
58891         routines to libm-sysdep_routines.
58892         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
58894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
58895         fdim/fdimf to libm-sysdep_routines.
58896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
58897         file.
58898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
58899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
58900         file.
58901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
58902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
58903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
58904         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
58905         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
58906         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
58907         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
58909 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
58911         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
58912         to optimize copies.
58914         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
58915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58918         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
58919         local variable MPTWO.
58920         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
58921         Likewise.
58923 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58925         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
58926         GLOB_NOESCAPE.
58928 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58930         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
58932 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
58934         * manual/pattern.texi (glob_t): Document gl_flags.
58935         (glob64_t): Likewise.
58937 2013-01-11  David S. Miller  <davem@davemloft.net>
58939         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
58940         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
58941         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
58942         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
58943         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
58944         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
58945         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
58946         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
58947         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
58948         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
58949         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
58950         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
58951         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
58953         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
58954         sparc V9 rather than using V8 code.
58955         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
58956         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
58958         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
58959         Move to...
58960         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
58961         Here.
58963 2013-01-11  Roland McGrath  <roland@hack.frob.com>
58965         [BZ #14941]
58966         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
58967         not in the main loop.
58968         * configure: Regenerated.
58970 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
58972         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
58973         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
58974         to just #else.
58975         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
58976         [!__GLIBC_HAVE_LONG_LONG] case.
58977         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
58978         condition to just #else.
58979         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
58980         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
58981         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
58982         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
58983         unconditional.
58984         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
58985         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58986         #elif condition to just #else.
58987         * sysdeps/unix/sysv/linux/sys/sysmacros.h
58988         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
58989         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
58990         #elif condition to just #else.
58992 2013-01-11  Steve Ellcey  <sellcey@mips.com>
58994         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
58995         (EF_MIPS_ARCH_64): Fix value.
58996         (EF_MIPS_ARCH_32R2): New.
58997         (EF_MIPS_ARCH_64R2): New.
58999 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
59001         * Makeconfig (+link-pie-before-libc): New.
59002         (+link-pie-after-libc): Likewise.
59003         (+link-pie-tests): Likewise.
59004         (+link-pie): Rewritten.
59005         (link-before-libc): Remove $(config-LDFLAGS).
59006         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
59007         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
59008         (config-LDFLAGS): Renamed to ...
59009         (rtld-LDFLAGS): This.
59010         (rtld-tests-LDFLAGS): New macro.
59011         (link-libc-rpath-link): Likewise.
59012         (link-libc-tests-rpath-link): Likewise.
59013         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
59014         (link-libc): Prepand $(link-libc-rpath-link).
59015         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
59016         (test-program-prefix): New macro.
59017         (test-via-rtld-prefix): Likewise.
59018         (test-program-cmd): Likewise.
59019         (host-test-program-cmd): Likewise.
59020         * Makefile ($(common-objpfx)testrun.sh): Replace
59021         $(run-program-prefix) with $(test-program-prefix).
59022         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
59023         $(rtld-LDFLAGS).
59024         ($(common-objpfx)shlib.lds): Likewise.
59025         (build-module-helper): Likewise.
59026         ($(common-objpfx)format.lds): Likewise.
59027         * Rules (binaries-pie-tests): New.
59028         (binaries-pie-notests): Likewise.
59029         (binaries-pie): Rewritten.
59030         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
59031         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
59032         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
59033         (make-test-out): Replace $(host-built-program-cmd) with
59034         $(host-test-program-cmd).
59035         * config.make.in (build-hardcoded-path-in-tests): New variable.
59036         * configure.in (--enable-hardcoded-path-in-tests): New configure
59037         option.
59038         (hardcoded_path_in_tests): New AC_SUBST.
59039         * configure: Regenerated.
59040         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
59041         $(built-program-cmd) with $(test-program-cmd).
59042         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
59043         (test_program_cmd): This.
59044         * elf/Makefile ($(objpfx)order.out): Run test with
59045         $(test-program-prefix).
59046         ($(objpfx)order2.out): Likewise.
59047         ($(objpfx)tst-initorder.out): Likewise.
59048         ($(objpfx)tst-initorder2.out): Likewise.
59049         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
59050         $(test-program-cmd).
59051         ($(objpfx)tst-array1-static.out): Likewise.
59052         ($(objpfx)tst-array2.out): Likewise.
59053         ($(objpfx)tst-array3.out): Likewise.
59054         ($(objpfx)tst-array4.out): Likewise.
59055         ($(objpfx)tst-array5.out): Likewise.
59056         ($(objpfx)tst-array5-static.out): Likewise.
59057         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
59058         $(test-program-cmd).
59059         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
59060         $(run-program-prefix) with $(test-program-prefix).
59061         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
59062         (test_program_prefix): This.
59063         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
59064         $(run-program-prefix) with $(test-program-prefix).
59065         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
59066         (test_program_prefix): This.
59067         * iconvdata/tst-tables.sh: Likewise.
59068         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
59069         $(run-program-prefix) with $(test-program-prefix).
59070         ($(objpfx)tst-translit.out): Likewise.
59071         ($(objpfx)tst-gettext2.out): Likewise.
59072         ($(objpfx)tst-gettext4.out): Likewise.
59073         ($(objpfx)tst-gettext6.out): Likewise.
59074         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
59075         (test_program_prefix): This.
59076         * intl/tst-gettext2.sh: Likewise.
59077         * intl/tst-gettext4.sh  Likewise.
59078         * intl/tst-gettext6.sh: Likewise.
59079         * intl/tst-translit.sh: Likewise.
59080         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
59081         with $(test-program-cmd).
59082         * libio/Makefile ($(objpfx)test-freopen.out): Replace
59083         $(run-program-prefix) with $(test-program-prefix).
59084         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
59085         (test_program_prefix): This.
59086         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
59087         $(run-program-prefix) with $(test-program-prefix).
59088         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
59089         (test_program_prefix): This.
59090         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
59091         * posix/Makefile ($(objpfx)globtest.out): Replace
59092         $(run-via-rtld-prefix) and $(test-wrapper) with
59093         $(test-program-prefix) and $(test-via-rtld-prefix).
59094         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
59095         $(test-program-prefix).
59096         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
59097         $(host-test-program-cmd).
59098         (tst-spawn-ARGS): Likewise.
59099         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
59100         $(test-program-prefix).
59101         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
59102         (test_via_rtld_prefix): This.
59103         (test_wrapper): Renamed to ...
59104         (test_program_prefix): This.
59105         (run_program_prefix): Replaced by test_program_prefix.
59106         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
59107         (test_program_prefix): This.
59108         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
59109         with $(host-test-program-cmd).
59110         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
59111         $(run-program-prefix) with $(test-program-prefix).
59112         ($(objpfx)tst-printf.out): Likewise.
59113         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
59114         $(test-program-cmd).
59115         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
59116         (test_program_prefix): This.
59117         * stdio-common/tst-unbputc.sh: Likewise.
59118         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
59119         $(run-program-prefix) with $(test-program-prefix).
59120         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
59121         (test_program_prefix): This.
59122         * string/Makefile ($(objpfx)tst-svc.out):  Replace
59123         $(built-program-cmd) with $(test-program-cmd).
59125 2013-01-11  Andreas Jaeger  <aj@suse.de>
59127         [BZ #15003]
59128         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
59129         value. Sync with Linux 3.7.
59131 2013-01-10  David S. Miller  <davem@davemloft.net>
59133         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
59134         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59135         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59137 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59139         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
59140         never set.
59141         * configure: Regenerated.
59143 2013-01-10  David S. Miller  <davem@davemloft.net>
59145         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
59146         sparc V9 rather than using V8 code.
59147         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
59148         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
59150 2013-01-10  Roland McGrath  <roland@hack.frob.com>
59152         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
59153         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
59154         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
59155         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
59156         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
59157         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
59158         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
59159         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
59160         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
59161         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
59162         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
59163         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
59164         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
59165         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
59166         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
59167         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
59168         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
59169         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
59170         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
59171         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
59172         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
59173         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
59174         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
59175         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
59176         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
59177         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
59178         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
59180 2013-01-10  David S. Miller  <davem@davemloft.net>
59182         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59184 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59186         * posix/Makefile (tests-static): New variable.
59187         (tests): Add $(tests-static).
59188         (tst-exec-static-ARGS): New variable.
59189         (tst-spawn-static-ARGS): Likewise.
59190         * posix/tst-exec-static.c: New file.
59191         * posix/tst-spawn-static.c: Likewise.
59192         * posix/tst-exec.c: Support run directly.
59193         * posix/tst-spawn.c: Likewise.
59195 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
59197         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
59198         long.
59199         * math/bits/mathcalls.h (llrint): Likewise.
59200         (llround): Likewise.
59201         * stdlib/stdlib.h (struct drand48_data): Likewise.
59202         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
59203         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
59204         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
59205         Likewise.
59206         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
59207         Likewise.
59208         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
59209         (elf_greg_t): Likewise.
59210         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
59211         (__jmp_buf): Likewise.
59212         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
59213         definitions.
59214         (llrint): Likewise, for all definitions.
59215         (llrintl): Likewise.
59217         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
59218         Remove [__GNUC__] condition.
59219         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
59220         condition to just [__USE_ISOC99].
59221         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
59223 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
59225         [BZ #14200]
59226         * sysdeps/unix/sysv/linux/x86/bits/environments.h
59227         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
59228         defined.
59229         (_POSIX_V6_ILP32_OFF32): Likewise.
59230         (_XBS5_ILP32_OFF32): Likewise.
59231         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
59232         (__ILP32_OFFBIG_LDFLAGS): Likewise.
59234 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
59236         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
59238         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
59239         doubles __mpexp_twomm1.  Adjust usage.
59240         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
59241         Remove.
59243 2013-01-10  Andreas Schwab  <schwab@suse.de>
59245         [BZ #14964]
59246         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
59247         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
59249 2013-01-09  David S. Miller  <davem@davemloft.net>
59251         [BZ #15003]
59252         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
59253         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
59254         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
59255         (TCP_FASTOPEN): Define.
59256         (tcp_repair_opt): New structure.
59257         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
59258         enum values.
59259         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
59260         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
59261         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
59262         (tcp_cookie_transactions): New structure.
59264 2013-01-09  Anton Blanchard  <anton@samba.org>
59266         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
59267         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
59268         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
59269         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
59271 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
59273         * include/features.h (__USE_ANSI): Remove.
59275 2013-01-09  Roland McGrath  <roland@hack.frob.com>
59277         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
59279         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
59281 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
59283         * sysdeps/s390/fpu/libm-test-ulps: Update.
59285         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59287         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
59288         (__acr): Likewise.
59289         (__cpy): Likewise.
59290         (norm): Likewise.
59291         (denorm): Likewise.
59292         (__mp_dbl): Likewise.
59293         (__dbl_mp): Likewise.
59294         (add_magnitudes): Likewise.
59295         (sub_magnitudes): Likewise.
59296         (__add): Likewise.
59297         (__sub): Likewise.
59298         (__mul): Likewise.
59299         (__inv): Likewise.
59300         (__dvd): Likewise.
59301         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
59302         (__acr): Likewise.
59303         (__cpy): Likewise.
59304         (norm): Likewise.
59305         (denorm): Likewise.
59306         (__mp_dbl): Likewise.
59307         (__dbl_mp): Likewise.
59308         (add_magnitudes): Likewise.
59309         (sub_magnitudes): Likewise.
59310         (__add): Likewise.
59311         (__sub): Likewise.
59312         (__mul): Likewise.
59313         (__inv): Likewise.
59314         (__dvd): Likewise.
59315         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
59316         (__acr): Likewise.
59317         (__cpy): Likewise.
59318         (norm): Likewise.
59319         (denorm): Likewise.
59320         (__mp_dbl): Likewise.
59321         (__dbl_mp): Likewise.
59322         (add_magnitudes): Likewise.
59323         (sub_magnitudes): Likewise.
59324         (__add): Likewise.
59325         (__sub): Likewise.
59326         (__mul): Likewise.
59327         (__inv): Likewise.
59328         (__dvd): Likewise.
59330 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
59332         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
59333         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
59334         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
59335         2 && __USE_EXTERN_INLINES]: Likewise.
59337 2013-01-08  Andreas Jaeger  <aj@suse.de>
59339         [BZ# 14985]
59340         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
59341         Remove.
59342         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59343         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
59345 2013-01-07  Anton Blanchard  <anton@samba.org>
59347         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
59348         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
59349         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
59350         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
59351         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
59352         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
59353         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
59354         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59356         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59357         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
59358         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
59359         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
59360         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59361         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59362         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
59363         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
59364         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59365         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59366         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
59367         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59368         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
59369         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59370         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59371         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
59372         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
59373         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
59374         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
59375         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
59376         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
59377         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59379         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59380         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59381         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59382         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59383         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59384         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
59385         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
59386         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59387         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
59388         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59389         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59391 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
59393         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
59394         (__MALLOC_PMT): Likewise.
59395         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
59396         [__GNUC__], only on [_LIBC].
59397         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59398         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
59399         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
59400         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
59401         forward declaration.
59402         (realloc_hook_ini): Likewise.
59403         (memalign_hook_ini): Likewise.
59404         (__libc_memalign): Do not use __MALLOC_PMT in variable
59405         declaration.
59406         (__libc_valloc): Likewise.
59407         (__libc_pvalloc): Likewise.
59408         (__libc_calloc): Likewise.
59409         (__posix_memalign): Likewise.
59411         [BZ #14996]
59412         * math/s_casinh.c: Include <float.h>.
59413         (__casinh): Do not do computation with squaring and square root
59414         for large arguments.
59415         * math/s_casinhf.c: Include <float.h>.
59416         (__casinhf): Do not do computation with squaring and square root
59417         for large arguments.
59418         * math/s_casinhl.c: Include <float.h>.
59419         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
59420         (__casinhl): Do not do computation with squaring and square root
59421         for large arguments.
59422         * math/libm-test.inc (casin_test): Add more tests.
59423         (casinh_test): Likewise.
59424         * sysdeps/i386/fpu/libm-test-ulps: Update.
59425         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59427 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
59429         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
59430         (__x86_64_raw_data_cache_size): Likewise.
59431         (__x86_64_data_cache_size_half): Likewise.
59432         (__x86_64_raw_data_cache_size_half): Likewise.
59433         (__x86_64_shared_cache_size): Likewise.
59434         (__x86_64_raw_shared_cache_size): Likewise.
59435         (__x86_64_shared_cache_size_half): Likewise.
59436         (__x86_64_raw_shared_cache_size_half): Likewise.
59437         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
59438         to ...
59439         (__x86_data_cache_size): This.
59440         (__x86_64_raw_data_cache_size): Renamed to ...
59441         (__x86_raw_data_cache_size): This.
59442         (__x86_64_data_cache_size_half): Renamed to ...
59443         (__x86_data_cache_size_half): This.
59444         (__x86_64_raw_data_cache_size_half): Renamed to ...
59445         (__x86_raw_data_cache_size_half): This.
59446         (__x86_64_shared_cache_size): Renamed to ...
59447         (__x86_shared_cache_size): This.
59448         (__x86_64_raw_shared_cache_size): Renamed to ...
59449         (__x86_raw_shared_cache_size): This.
59450         (__x86_64_shared_cache_size_half): Renamed to ...
59451         (__x86_shared_cache_size_half): This.
59452         (__x86_64_raw_shared_cache_size_half): Renamed to ...
59453         (__x86_raw_shared_cache_size_half): This.
59454         * sysdeps/x86_64/memcpy.S: Updated.
59455         * sysdeps/x86_64/memset.S: Likewise.
59456         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59457         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59458         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59460 2013-01-04  David S. Miller  <davem@davemloft.net>
59462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59464 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
59466         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
59467         1 to avoid redefinition warning.
59468         (__USE_GNU): Don't define.
59469         (init_signaling_nan): Protoize.
59471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59473 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59475         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
59476         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
59477         (__cpymn): Likewise.
59478         (norm): Remove commented code.
59479         (denorm): Likewise.
59480         (__mp_dbl): Likewise.
59481         (__inv): Likewise.
59482         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
59483         (__cpymn): Likewise.
59484         (norm): Remove commented code.
59485         (denorm): Likewise.
59486         (__mp_dbl): Likewise.
59487         (__inv): Likewise.
59489         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
59490         mp_no value for 1.0 and 2.0.
59491         (norm): Use RADIXI instead of radixi.d.
59492         (denorm): Likewise.
59493         (__mul): Use 0.0 instead of zero.d.
59494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
59495         mp_no value for 1.0 and 2.0.
59496         (norm): Use RADIXI instead of radixi.d.
59497         (denorm): Likewise.
59498         (__mul): Use 0.0 instead of zero.d.
59500 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
59502         [BZ #14994]
59503         * math/s_casinh.c (__casinh): Reduce finite argument to first
59504         quadrant then set signs of results at the end.
59505         * math/s_casinhf.c (__casinhf): Likewise.
59506         * math/s_casinhl.c (__casinhl): Likewise.
59507         * math/libm-test.inc (casin_test): Add more tests.
59508         (casinh_test): Likewise.
59509         * sysdeps/i386/fpu/libm-test-ulps: Update.
59510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59512 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59514         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
59516         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
59518         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
59519         declarations.
59520         (denorm): Likewise.
59521         (__mp_dbl): Likewise.
59522         (__inv): Likewise.
59524         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
59525         and adjust the header comment.
59527         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
59528         variable name from declaration.
59530 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
59532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59533         Initialize COMMON_CPUID_INDEX_7 element.
59534         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
59535         (CPUID_RTM): Likewise.
59536         (HAS_RTM): Likewise.
59537         (COMMON_CPUID_INDEX_7): New enum.
59539 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
59541         [BZ #14981]
59542         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
59543         size is zero, record memory as freed.
59545 2013-01-03  Andreas Jaeger  <aj@suse.de>
59547         * po/ia.po: Add new Interlingua translation.
59549 2012-01-03  Allan McRae  <allan@archlinux.org>
59551         * locale/programs/localedef.c: Fix description of '--posix' flag.
59553 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
59555         * NEWS: Update dates in second copyright notice.
59556         * README: Update copyright dates in example.
59557         * manual/libc.texinfo: Update copyright dates.
59558         * scripts/test-installation.pl: Update copyright date in --version
59559         output.
59561         * hurd/ctty-input.c: Fix copyright notice formatting.
59562         * hurd/ctty-output.c: Likewise.
59563         * hurd/dtable.c: Likewise.
59564         * hurd/hurd-raise.c: Likewise.
59565         * hurd/hurdprio.c: Likewise.
59566         * hurd/msgportdemux.c: Likewise.
59567         * misc/sys/file.h: Likewise.
59568         * misc/sys/ioctl.h: Likewise.
59569         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
59570         * sysdeps/mach/hurd/chdir.c: Likewise.
59571         * sysdeps/mach/hurd/fchdir.c: Likewise.
59572         * sysdeps/mach/hurd/rename.c: Likewise.
59573         * sysdeps/mach/hurd/rmdir.c: Likewise.
59574         * sysdeps/mach/hurd/seekdir.c: Likewise.
59575         * sysdeps/mach/hurd/setsid.c: Likewise.
59576         * sysdeps/posix/wait3.c: Likewise.
59578         * All files with FSF copyright notices: Update copyright dates
59579         using scripts/update-copyrights.
59580         * intl/plural.c: Regenerated.
59581         * locale/programs/charmap-kw.h: Likewise.
59582         * locale/programs/locfile-kw.h: Likewise.
59584 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
59586         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
59587         four values.
59589         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
59590         calculation loop and add branch prediction.
59592         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
59593         check access beyond bounds of m1np.
59595         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59596         MPTWO.
59597         (__inv): Remove local variable MPTWO to use the global
59598         constant.
59599         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
59600         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59601         variable MPTWO.
59602         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
59603         MP3HALFS static const.
59605 2013-01-01  David S. Miller  <davem@davemloft.net>
59607         * po/ca.po: Update from translation team.
59609 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
59611         * scripts/update-copyrights: New file.
59612         * Makeconfig: Reformat copyright notice.
59613         * ctype/ctype.h: Likewise.
59614         * debug/swprintf_chk.c: Likewise.
59615         * elf/dl-cache.c: Likewise.
59616         * elf/dl-debug.c: Likewise.
59617         * elf/dl-object.c: Likewise.
59618         * grp/initgroups.c: Likewise.
59619         * hurd/Makefile: Likewise.
59620         * hurd/hurd/signal.h: Likewise.
59621         * hurd/hurdfault.c: Likewise.
59622         * hurd/hurdioctl.c: Likewise.
59623         * hurd/hurdlookup.c: Likewise.
59624         * hurd/intr-msg.c: Likewise.
59625         * iconv/gconv_open.c: Likewise.
59626         * libio/swprintf.c: Likewise.
59627         * locale/lc-ctype.c: Likewise.
59628         * locale/nl_langinfo.c: Likewise.
59629         * mach/Machrules: Likewise.
59630         * mach/Makefile: Likewise.
59631         * malloc/obstack.h: Likewise.
59632         * manual/Makefile: Likewise.
59633         * manual/tsort.awk: Likewise.
59634         * misc/bits/stab.def: Likewise.
59635         * nis/nis_print_group_entry.c: Likewise.
59636         * nis/nis_table.c: Likewise.
59637         * nis/nss_compat/compat-pwd.c: Likewise.
59638         * nis/nss_compat/compat-spwd.c: Likewise.
59639         * po/Makefile: Likewise.
59640         * posix/fnmatch.c: Likewise.
59641         * posix/regex.h: Likewise.
59642         * resolv/Makefile: Likewise.
59643         * resolv/nss_dns/dns-network.c: Likewise.
59644         * resolv/res_hconf.c: Likewise.
59645         * scripts/gen-sorted.awk: Likewise.
59646         * soft-fp/soft-fp.h: Likewise.
59647         * stdio-common/printf.h: Likewise.
59648         * stdlib/monetary.h: Likewise.
59649         * stdlib/random.c: Likewise.
59650         * stdlib/random_r.c: Likewise.
59651         * sysdeps/generic/Makefile: Likewise.
59652         * sysdeps/gnu/Makefile: Likewise.
59653         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
59654         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
59655         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
59656         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
59657         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
59658         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
59659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
59660         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
59661         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
59662         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
59663         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
59664         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
59665         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
59666         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
59667         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
59668         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
59669         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
59670         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
59671         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59672         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59673         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
59674         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
59675         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
59676         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
59677         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
59678         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
59679         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
59680         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
59681         * sysdeps/mach/hurd/errnos.awk: Likewise.
59682         * sysdeps/mach/hurd/fork.c: Likewise.
59683         * sysdeps/mach/hurd/getcwd.c: Likewise.
59684         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
59685         * sysdeps/mach/hurd/mmap.c: Likewise.
59686         * sysdeps/mach/hurd/utimes.c: Likewise.
59687         * sysdeps/mach/hurd/xmknod.c: Likewise.
59688         * sysdeps/posix/profil.c: Likewise.
59689         * sysdeps/posix/readdir_r.c: Likewise.
59690         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59691         * sysdeps/powerpc/bits/setjmp.h: Likewise.
59692         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
59693         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
59694         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
59695         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
59696         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
59697         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59698         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59699         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
59700         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
59701         * sysdeps/pthread/lio_listio.c: Likewise.
59702         * sysdeps/sparc/dl-procinfo.h: Likewise.
59703         * sysdeps/unix/i386/sysdep.S: Likewise.
59704         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
59705         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
59706         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
59707         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
59708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59709         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
59710         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
59711         * sysdeps/unix/sysv/linux/speed.c: Likewise.
59712         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
59713         * sysdeps/wordsize-32/divdi3.c: Likewise.
59714         * time/sys/time.h: Likewise.
59715         * wcsmbs/Makefile: Likewise.
59717 2013-01-01  David S. Miller  <davem@davemloft.net>
59719         * po/fr.po: Update from translation team.
59721         * catgets/gencat.c: Update copyright year.
59722         * csu/version.c: Likewise.
59723         * debug/catchsegv.sh: Likewise.
59724         * debug/pcprofiledump.c: Likewise.
59725         * debug/xtrace.sh: Likewise.
59726         * elf/ldconfig.c: Likewise.
59727         * elf/ldd.bash.in: Likewise.
59728         * elf/pldd.c: Likewise.
59729         * elf/sotruss.ksh: Likewise.
59730         * elf/sprof.c: Likewise.
59731         * iconv/iconv_prog.c: Likewise.
59732         * iconv/iconvconfig.c: Likewise.
59733         * locale/programs/locale.c: Likewise.
59734         * locale/programs/localedef.c: Likewise.
59735         * login/programs/pt_chown.c: Likewise.
59736         * malloc/memusage.sh: Likewise.
59737         * malloc/memusagestat.c: Likewise.
59738         * malloc/mtrace.pl: Likewise.
59739         * nscd/nscd.c: Likewise.
59740         * nss/getent.c: Likewise.
59741         * nss/makedb.c: Likewise.
59742         * posix/getconf.c: Likewise.
59744 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
59746         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
59747         numbers.
59749 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
59751         * math/bits/mathcalls.h (modf): Use __nonnull.
59753 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
59755         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
59756         (split): Use macro CN instead of the bare value.
59757         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
59758         could be used.
59759         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
59760         instead of the bare value.
59761         (power1): Likewise.
59763 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59765         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
59766         __ATAN_TWOM.
59767         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59769         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
59770         their values.
59771         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
59772         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
59773         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
59774         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
59776 2012-12-28  Andreas Jaeger  <aj@suse.de>
59778         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
59779         values are from Linux 3.7.
59781         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
59782         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
59784 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59786         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
59787         TRUE case.
59789         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
59790         (norm): Likewise.
59791         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
59792         variables with preprocessor constants.
59793         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
59794         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
59795         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
59797 2012-12-27  Bruno Haible  <bruno@clisp.org>
59799         [BZ #14317]
59800         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
59801         only if needed.
59803 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
59806         and use variable directly.
59807         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
59809         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
59810         MPONE.
59811         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
59812         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
59813         variable MPONE.
59814         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
59815         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
59816         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
59817         include directive.  Remove local variable MPONE.
59818         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
59819         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
59820         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
59822 2012-12-25  David S. Miller  <davem@davemloft.net>
59824         * version.h (RELEASE): Set to "development".
59825         (VERSION): Set to "2.17.90".
59826         * NEWS: Add 2.18 section.
59828 2012-12-21  David S. Miller  <davem@davemloft.net>
59830         * po/hr.po: Update from translation team.
59832 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59834         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
59836 2012-12-19  Steve Ellcey  <sellcey@mips.com>
59838         * NEWS:  Mention new memcpy for MIPS.
59840 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59842         * manual/contrib.texi (Contributors): Spelling correction.
59844 2012-12-15  David S. Miller  <davem@davemloft.net>
59846         * po/ru.po: Update from translation team.
59848 2012-12-13  David S. Miller  <davem@davemloft.net>
59850         * NEWS: Mention IFUNC testsuite enhancements.
59852         * po/pl.po: Update from translation team.
59853         * po/bg.po: Likewise.
59855         * manual/contrib.texi (Contributors): Update entries for Hongjiu
59856         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
59858 2012-12-11  David S. Miller  <davem@davemloft.net>
59860         * po/sv.po: Update from translation team.
59862         * po/vi.po: Update from translation team.
59864         * po/cs.po: Update from translation team.
59866         * po/de.po: Update from translation team.
59867         * po/eo.po: Likewise.
59868         * po/nl.po: Likewise.
59870 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59872         [BZ #14246]
59873         * manual/argp.texi (Argp Helper Functions): Move node to follow
59874         Argp Parsing State.
59876         [BZ #14872]
59877         * manual/conf.texi (Limits on File System Capacity): Mention if
59878         terminating null is included in the max size.
59880 2012-12-10  Andreas Jaeger  <aj@suse.de>
59882         * po/cs.po: Update from translation team.
59884 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59886         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
59887         void pointer and cast to uintptr_t.
59888         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
59889         path.
59890         * sysdeps/s390/s390-64/memcpy.S: Likewise.
59891         * sysdeps/s390/s390-64/memset.S: Likewise.
59893 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
59895         [BZ #14833]
59896         * menual/message.texi (Message Translation): Fix typos.
59897         (Helper programs for gettext): Likewise.
59899 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
59901         [BZ #14898]
59902         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
59903         Change to -1.
59905 2012-12-07  David S. Miller  <davem@davemloft.net>
59907         * po/libc.pot: Update.
59909 2012-12-07  Richard Henderson  <rth@redhat.com>
59911         [BZ #10114]
59912         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
59913         normal/normal case to before the switch.
59914         (_FP_DIV): Likewise.
59916 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
59917             Mike Frysinger  <vapier@gentoo.org>
59919         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
59920         check for __NR_fadvise64_64.
59922 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
59924         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
59925         0, not just to plain "0" as a statement.
59926         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
59927         with cw.
59929 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
59931         * NEWS: Use sourceware.org in Bugzilla URL.
59933 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
59936         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
59938         * stdio-common/tst-put-error.c (do_test): Add newline to the
59939         padded test to ensure flush.
59941 2012-12-05  Jeff Law  <law@redhat.com>
59943         * sunrpc/etc.rpc (fedfs_admin): Add entry.
59945 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
59947         * README: Don't refer to ports add-on as distributed separately.
59948         Mention AArch64 in list of systems supported in the ports add-on.
59950         * LICENSES: Add more non-FSF copyright and license notices.
59952         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
59953         ((unused)).
59955         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
59957         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
59958         10000 as width of padded output.
59960 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59962         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
59964         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
59965         variable LX with __attribute__ ((unused)).
59966         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
59967         Likewise.
59968         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
59969         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
59970         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
59971         with __attribute__ ((unused)).
59973 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
59975         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
59977 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
59979         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
59980         (CFLAGS-nldbl-acos.c): New variable.
59981         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
59982         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
59983         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
59984         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
59985         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
59986         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
59987         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
59988         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
59989         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
59990         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
59991         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
59992         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
59993         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
59994         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
59995         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
59996         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
59997         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
59998         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
59999         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
60000         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
60001         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
60002         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
60003         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
60004         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
60005         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
60006         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
60007         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
60008         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
60009         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
60010         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
60011         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
60012         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
60013         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
60014         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
60015         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
60016         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
60017         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
60018         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
60019         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
60020         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
60021         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
60022         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
60023         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
60024         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
60025         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
60026         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
60027         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
60028         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
60029         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
60030         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
60031         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
60032         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
60033         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
60034         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
60035         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
60036         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
60037         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
60038         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
60039         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
60040         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
60041         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
60042         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
60043         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
60044         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
60045         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
60046         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
60047         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
60048         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
60049         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
60050         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
60051         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
60052         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
60053         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
60054         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
60055         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
60056         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
60057         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
60058         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
60059         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
60060         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
60061         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
60062         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
60063         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
60064         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
60065         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
60066         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
60067         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
60068         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
60069         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
60070         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
60071         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
60072         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
60073         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
60074         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
60075         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
60076         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
60077         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
60079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
60080         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
60082         [BZ #14914]
60083         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
60084         whole low double instead of just low 47 bits when splitting values
60085         into two parts.
60087 2012-12-03  Allan McRae  <allan@archlinux.org>
60089         * manual/stdio.texi (Predefined Printf Handlers): Remove
60090         @hsep and @vsep usage.
60092 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
60094         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
60095         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
60097 2012-12-03  Jeff Law  <law@redhat.com>
60099         * time/sys/time.h (settimeofday): Do not mark TV argument
60100         as __nonnull.
60102 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
60104         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
60105         when currently writing and seek to current position when not.
60106         * libio/Makefile (tests): Remove bug-fclose1.
60107         * libio/bug-fclose1.c: Delete.
60109 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
60111         * manual/arith.texi (feenableexcept): Fix typo.
60112         (fedisableexcept): Likewise.
60114 2012-11-30  Roland McGrath  <roland@hack.frob.com>
60116         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
60117         second, differently-typed declaration, rather than a cast.
60119 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
60121         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
60122         * include/rpc/svc.h: ... here.
60124 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
60126         [BZ #13013]
60127         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
60128         depending n and resplen2 to catch cases where answer
60129         equals answerp2.
60131 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
60133         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
60134         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
60136 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
60138         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
60140 2012-11-29  Roland McGrath  <roland@hack.frob.com>
60142         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
60144 2012-11-28  Jeff Law  <law@redhat.com>
60146         [BZ #13761]
60147         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
60148         dataset_temporary.  Track alloca usage into alloca_used.
60149         If dataset is large allocate and release it via malloc/free.
60151 2012-06-04  Florian Weimer  <fweimer@redhat.com>
60153         [BZ #14197]
60154         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
60156 2012-11-28  David S. Miller  <davem@davemloft.net>
60158         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60160 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60162         [BZ #14803]
60163         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
60164         of pi/2 rounded to nearest to 64 bits.
60165         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
60166         nearest to 64 bits.
60167         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
60168         bits.
60170 2012-11-28  Jeff Law <law@redhat.com>
60171             Martin Osvald <mosvald@redhat.com>
60173         [BZ #14889]
60174         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
60175         * sunrpc/svc.c: Include time.h.
60176         (__svc_accept_failed): New function.
60177         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
60178         any reason other than EINTR, call __svc_accept_failed.
60179         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
60180         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
60182 2012-11-28  Andreas Schwab  <schwab@suse.de>
60184         * scripts/abilist.awk: Also handle indirect functions in .opd
60185         section.
60187 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
60189         [BZ #13881]
60190         * sysdeps/x86/fpu/powl_helper.c: New file.
60191         * sysdeps/x86/fpu/Makefile: Likewise.
60192         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
60193         (p3): New object.
60194         (__ieee754_powl): Use __powl_helper for finite arguments except
60195         integer exponents below 8.
60196         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
60197         (p3): New object.
60198         (__ieee754_powl): Use __powl_helper for finite arguments except
60199         integer exponents below 8.
60200         * math/libm-test.inc (pow_test): Add more tests and enable some
60201         previously disabled tests.
60202         * sysdeps/i386/fpu/libm-test-ulps: Update.
60203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60205 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60206             Carlos O'Donell  <carlos_odonell@mentor.com>
60208         * nss/makedb.c (is_prime): Assert that input is odd and greater
60209         than 4.  Note that fact in a comment too.
60210         (next_prime): Add 4 to input.
60212 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60214         [BZ #11741]
60215         * libio/Makefile (tests): Add test case tst-fwrite-error.
60216         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
60217         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
60218         * libio/tst-fwrite-error.c: New test case.
60220 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
60222         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
60223         before casting to void *.
60224         * include/libc-internal.h (__pointer_type): New macro.
60225         (__integer_if_pointer_type_sub): Likewise.
60226         (__integer_if_pointer_type): Likewise.
60227         (cast_to_integer): Likewise.
60228         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
60229         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
60230         before casting to atomic64_t.
60231         (atomic_exchange_acq): Likewise.
60232         (__arch_exchange_and_add_body): Likewise.
60233         (__arch_add_body): Likewise.
60234         (atomic_add_negative): Likewise.
60235         (atomic_add_zero): Likewise.
60237 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
60239         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
60240         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
60241         (add_fdes): Likewise.
60242         (linear_search_fdes): Likewise.
60243         (binary_search_unencoded_fdes): Likewise.
60245 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
60247         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
60249 2012-11-24  Adam Conrad  <adconrad@0c3.net>
60251         * configure.in: Autodetect C++ header directories.
60252         * configure: Regenerated.
60254 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
60256         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
60258 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
60260         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60262 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
60264         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
60265         LDBL_MANT_DIG == 106]: Disable some tests.
60266         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60267         Likewise.
60268         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
60269         Likewise.
60271         [BZ #14871]
60272         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
60273         input for small inputs.  Return +/- pi/2 for large inputs.
60274         * math/libm-test.inc (atan_test): Add more tests.
60276         * sysdeps/generic/unwind-dw2-fde-glibc.c
60277         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
60278         __attribute__ ((unused)).
60280         [BZ #14645]
60281         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
60282         x * y if x and y are nonzero and z is zero.
60284         [BZ #14811]
60285         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
60286         nonzero exponents with absolute value below 0x1p-117 to +/-
60287         0x1p-117.
60289         [BZ #14869]
60290         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
60291         up arguments below 2**-450, not just those below 2**-500.
60292         * math/libm-test.inc (hypot_test): Add another test.
60294         [BZ #14868]
60295         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
60296         Return a+b for ratio over 2**120, not 2**60.
60297         * math/libm-test.inc (hypot_test): Add another test.
60299         * math/libm-test.inc (clog_test): Use
60300         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
60301         (clog10_test): Likewise.
60303         [BZ #6778]
60304         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
60306 2012-11-22  Andreas Schwab  <schwab@suse.de>
60308         * sysdeps/i386/fpu/libm-test-ulps: Update.
60310 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
60312         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
60313         printf output with newline.
60315 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
60317         [BZ #14865]
60318         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
60319         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
60320         -z nodlopen, -z initfirst and -z execstack support.
60321         * configure: Regenerated.
60323         * elf/elf.h (DF_1_NODIRECT): New macro.
60324         (DF_1_IGNMULDEF): Likewise.
60325         (DF_1_NOKSYMS): Likewise.
60326         (DF_1_NOHDR): Likewise.
60327         (DF_1_EDITED): Likewise.
60328         (DF_1_NORELOC): Likewise.
60329         (DF_1_SYMINTPOSE): Likewise.
60330         (DF_1_GLOBAUDIT): Likewise.
60331         (DF_1_SINGLETON): Likewise.
60332         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
60333         DT_1_SUPPORTED_MASK bits.
60334         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
60336 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
60338         * sysdeps/unix/make-syscalls.sh: Document prefixes.
60340 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
60342         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
60343         macro.
60345         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
60346         (sendmmsg): Move declarations...
60347         * socket/sys/socket.h: ... here.
60348         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
60349         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
60350         include it from...
60351         * socket/recvmmsg.c: ... this new file.
60352         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
60353         (sendmmsg): Rename to __sendmmsg, create weak alias and make
60354         definition of __sendmmsg hidden.
60355         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
60356         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
60357         Move ENOSYS stub into and include it from...
60358         * socket/sendmmsg.c: ... this new file.
60359         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
60360         (sysdep_routines): Move recvmmsg and sendmmsg...
60361         * socket/Makefile (routines): ... here.
60362         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
60363         (GLIBC_PRIVATE): Add __sendmmsg.
60364         * include/sys/socket.h (__sendmmsg): Add declarations.
60365         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
60366         sendmmsg.
60368 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
60370         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
60371         variable I1 with __attribute__ ((unused)).
60372         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
60374 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60376         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
60377         DUMMY variables with __attribute__ ((unused)).
60379         * bits/byteswap.h: Include <bits/types.h>.
60380         (__bswap_64): Use __uint64_t instead of unsigned long long int.
60382 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60384         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
60385         string_t.  Do not manually set errno.
60386         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
60387         length with __strnlen.  Make sure to both set errno and return it on
60388         failure.
60390 2012-11-19  David S. Miller  <davem@davemloft.net>
60392         With help from Joseph Myers.
60393         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
60394         very large arguments properly.
60395         * math/libm-test.inc (atan_test): New tests.
60396         (atan2_test): New tests.
60397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60398         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60400 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
60402         [BZ #14856]
60403         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
60404         Define to 3.
60406         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
60407         [POSIX] (EADDRNOTAVAIL): Likewise.
60408         [POSIX] (EAFNOSUPPORT): Likewise.
60409         [POSIX] (EALREADY): Likewise.
60410         [POSIX] (ECONNABORTED): Likewise.
60411         [POSIX] (ECONNREFUSED): Likewise.
60412         [POSIX] (ECONNRESET): Likewise.
60413         [POSIX] (EDESTADDRREQ): Likewise.
60414         [POSIX] (EDQUOT): Likewise.
60415         [POSIX] (EHOSTUNREACH): Likewise.
60416         [POSIX] (EIDRM): Likewise.
60417         [POSIX] (EISCONN): Likewise.
60418         [POSIX] (ELOOP): Likewise.
60419         [POSIX] (EMULTIHOP): Likewise.
60420         [POSIX] (ENETDOWN): Likewise.
60421         [POSIX] (ENETUNREACH): Likewise.
60422         [POSIX] (ENOBUFS): Likewise.
60423         [POSIX] (ENODATA): Likewise.
60424         [POSIX] (ENOLINK): Likewise.
60425         [POSIX] (ENOMSG): Likewise.
60426         [POSIX] (ENOPROTOOPT): Likewise.
60427         [POSIX] (ENOSR): Likewise.
60428         [POSIX] (ENOSTR): Likewise.
60429         [POSIX] (ENOTCONN): Likewise.
60430         [POSIX] (ENOTSOCK): Likewise.
60431         [POSIX] (EOPNOTSUPP): Likewise.
60432         [POSIX] (EOVERFLOW): Likewise.
60433         [POSIX] (EPROTO): Likewise.
60434         [POSIX] (EPROTONOSUPPORT): Likewise.
60435         [POSIX] (EPROTOTYPE): Likewise.
60436         [POSIX] (ESTALE): Likewise.
60437         [POSIX] (ETIME): Likewise.
60438         [POSIX] (ETXTBSY): Likewise.
60439         [POSIX] (EWOULDBLOCK): Likewise.
60440         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
60441         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
60442         [POSIX] (SEEK_CUR): Likewise.
60443         [POSIX] (SEEK_END): Likewise.
60444         [POSIX || UNIX98] (mode_t): Do not require.
60445         [POSIX] (off_t): Likewise.
60446         [POSIX] (pid_t): Likewise.
60447         [POSIX] (sys/stat.h): Do not allow header.
60448         [POSIX] (unistd.h): Likewise.
60449         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
60450         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
60451         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
60452         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
60453         require.
60454         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
60455         sigevent): Specify elements.
60456         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
60457         entry.
60458         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
60459         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
60461         * conform/data/cpio.h-data [POSIX]: Disable whole file.
60462         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
60463         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
60464         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
60465         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
60466         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
60467         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
60468         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
60469         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
60470         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
60471         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
60472         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
60473         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
60474         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
60475         Likewise.
60476         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
60477         Likewise.
60478         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
60479         Likewise.
60480         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
60481         Likewise.
60482         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
60483         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
60484         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
60485         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
60486         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
60487         Specify lower bound on value.
60488         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
60489         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
60490         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
60491         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
60492         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
60493         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
60494         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
60495         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
60496         value.
60497         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
60498         as optional.
60499         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
60500         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
60501         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
60502         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
60503         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
60504         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
60505         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
60506         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
60507         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
60508         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
60509         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
60510         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
60511         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
60512         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
60513         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
60514         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
60515         entry.
60516         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
60517         optional.
60518         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
60519         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
60520         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
60521         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
60522         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
60523         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
60524         Likewise.
60525         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
60526         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
60527         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
60528         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
60529         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
60530         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
60531         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
60532         as optional.
60533         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
60534         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
60535         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
60536         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
60537         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
60538         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
60539         specify as optional.
60540         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
60541         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
60542         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
60543         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
60544         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
60545         [XPG3] (NL_LANGMAX): Likewise.
60546         [POSIX || XPG3] (NL_MSGMAX): Likewise.
60547         [POSIX || XPG3] (NL_NMAX): Likewise.
60548         [POSIX || XPG3] (NL_SETMAX): Likewise.
60549         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
60550         [XPG3] (NZERO): Likewise.
60551         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
60552         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
60553         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
60554         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
60555         (REG_ERANGE): Expect.
60556         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
60557         optional-constant.
60558         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
60559         Use (void) in prototype.
60560         [POSIX] (*_t): Allow.
60561         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
60562         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
60563         (WRDE_BADVAL): Expect.
60565         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
60566         expect.
60567         [XPG3 || XPG4] (O_RSYNC): Likewise.
60568         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
60569         Likewise.
60570         [XPG3 || XPG4] (pthread_sigmask): Likewise.
60571         [XPG3 || XPG4] (sigqueue): Likewise.
60572         [XPG3 || XPG4] (sigtimedwait): Likewise.
60573         [XPG3 || XPG4] (sigwaitinfo): Likewise.
60574         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
60575         [XPG3 || XPG4] (vsnprintf): Likewise.
60576         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
60577         Likewise.
60578         [XPG3 || XPG4] (blksize_t): Likewise.
60579         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
60580         Likewise.
60581         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
60582         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
60583         [XPG3 || XPG4] (struct itimerspec): Likewise.
60584         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
60585         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
60586         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
60587         [XPG3 || XPG4] (clockid_t): Likewise.
60588         [XPG3 || XPG4] (timer_t): Likewise.
60589         [XPG3 || XPG4] (clock_getres): Likewise.
60590         [XPG3 || XPG4] (clock_gettime): Likewise.
60591         [XPG3 || XPG4] (clock_settime): Likewise.
60592         [XPG3 || XPG4] (nanosleep): Likewise.
60593         [XPG3 || XPG4] (timer_create): Likewise.
60594         [XPG3 || XPG4] (timer_delete): Likewise.
60595         [XPG3 || XPG4] (timer_gettime): Likewise.
60596         [XPG3 || XPG4] (timer_getoverrun): Likewise.
60597         [XPG3 || XPG4] (timer_settime): Likewise.
60598         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
60599         [XPG3 || XPG4] (getlogin_r): Likewise.
60600         [XPG3 || XPG4] (pread): Likewise.
60601         [XPG3 || XPG4] (pthread_atfork): Likewise.
60602         [XPG3 || XPG4] (pwrite): Likewise.
60604         [BZ #14835]
60605         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
60606         <bits/siginfo.h>.
60608 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
60610         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
60611         finalizing MALLSTREAM.
60613         * sysdeps/mach/hurd/syncfs.c: New file.
60615 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60617         [BZ #14719]
60618         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
60619         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
60620         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
60621         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
60622         (_nss_dns_gethostbyname4_r): Likewise.
60623         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
60624         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
60626 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
60628         [BZ #13763]
60629         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
60631 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
60633         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
60634         * elf/cache.c (print_entry): Print ",AArch64" for
60635         FLAG_AARCH64_LIB64
60637         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
60638         * elf/cache.c (print_entry): Print ",hard-float" for
60639         FLAG_ARM_LIBHF.
60641 2012-11-18  David S. Miller  <davem@davemloft.net>
60643         With help from Joseph Myers.
60644         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
60645         cutoff to 2**-13.
60646         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
60647         cutoff to 2**-25.
60648         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
60649         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
60650         small.
60651         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
60652         * math/libm-test.inc (y0_test): New tests.
60653         (y1_test): New tests.
60654         * sysdeps/i386/fpu/libm-test-ulps: Update.
60655         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60656         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60658 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
60660         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
60661         64-bit targets.
60662         * configure: Regenerated.
60664 2012-11-17  David S. Miller  <davem@davemloft.net>
60666         [BZ #14811]
60667         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
60668         nonzero exponents with absolute value below 0x1p-128 to +/-
60669         0x1p-128.
60671 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
60673         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
60675         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
60677         * posix/getconf-speclist.c: New file.
60678         * posix/posix-envs.def: Likewise.
60679         * posix/confstr.c (START_ENV_GROUP): New macro.
60680         (END_ENV_GROUP): Likewise.
60681         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60682         (KNOWN_PRESENT_ENV_STRING): Likewise.
60683         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60684         (UNKNOWN_ENVIRONMENT): Likewise.
60685         (confstr): Include posix-envs.def instead of handling
60686         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
60687         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
60688         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
60689         (END_ENV_GROUP): Likewise.
60690         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
60691         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
60692         (UNKNOWN_ENVIRONMENT): Likewise.
60693         (__sysconf): Include posix-envs.def instead of handling associated
60694         cases directly here.
60695         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
60696         preprocessing getconf-speclist.c rather than running getconf or
60697         generating empty file.
60699 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
60701         * scripts/check-local-headers.sh: Ignore 'mach' headers.
60703 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
60705         [BZ #14672]
60706         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
60708 2012-11-16  David S. Miller  <davem@davemloft.net>
60710         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
60711         smaller than LDBL_EPSILON/2.0L, just return xm1.
60713 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
60715         * elf/tst-array1.c (init): Set constructor priority to 1000.
60716         (fini): Set destructor priority to 1000.
60717         * elf/tst-array2dep.c: Likewise.
60719 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60721         [BZ #11741]
60722         * libio/fileops.c (_IO_new_file_write): Correctly return error.
60723         (_IO_new_file_xsputn): Also return EOF if none of the input
60724         data was written when overflow failed.
60725         * libio/iopadn.c (_IO_padn): Likewise.
60726         * libio/iowpadn.c (_IO_wpadn): Likewise.
60727         * stdio-common/tst-put-error.c: Add copyright notice.
60728         (do_test): Add case for printing padded string.
60729         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
60730         _IO_padn returned error.
60731         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
60732         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
60733         return EOF.
60735 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
60737         * libio/libioP.h: Add comment note that the references to C++
60738         bits are now obsolete.
60740 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60742         * math/libm-test.inc (check_complex): Use asprintf.
60744 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
60746         * debug/pcprofiledump.c (print_version): Update copyright year.
60747         * malloc/memusagestat.c (print_version): Likewise.
60749 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
60751         [BZ #14831]
60752         * elf/Makefile (tests): Add tst-audit8.
60753         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
60754         ($(objpfx)tst-audit8.out): New target.
60755         (tst-audit8-ENV): New variable.
60756         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
60757         audit if l_reloc_result is NULL.
60758         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
60759         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
60760         * elf/tst-audit8.c: New file.
60762 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60764         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
60765         * misc/Makefile (CFLAGS-select.c): Define.
60766         * posix/Makefile (CFLAGS-pause.c): Define.
60768 2012-11-13  David S. Miller  <davem@davemloft.net>
60770         * crypt/Makefile: Move test targets after toplevel Rules
60771         inclusion.  Grab any necessary sysdep routines when linking.
60772         * crypt/md5.c (md5_process_block): Remove define, we will always
60773         name it __md5_process_block.
60774         (md5_finish_ctx): Update md5_process_block call.
60775         (md5_stream): Likewise.
60776         (md5_process_bytes): Likewise.
60777         (md5_process_block): Rename to __md5_process_block and move to ...
60778         * crypt/md5-block.c: ... here.
60779         * crypt/sha256.c (sha256_process_block): Move to ...
60780         * crypt/sha256-block.c: ... here.
60781         * crypt/sha512.c (sha512_process_block): Move to ...
60782         * crypt/sha512-block.c: ... here.
60783         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
60784         path.
60785         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
60786         * sysdeps/sparc/sparc64/multiarch/Makefile
60787         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
60788         crypt subdir.
60789         (localedef-aux): Add md5 crypto assembler when in locale subdir.
60790         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
60791         multiarch changes.
60792         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
60793         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
60794         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
60795         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
60796         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
60797         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
60798         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
60799         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
60800         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
60801         file.
60802         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
60803         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
60804         file.
60805         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
60807 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
60809         * timezone/tzselect.ksh: Update from tzcode git revision
60810         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
60811         * timezone/zdump.c: Likewise.
60812         * timezone/zic.c: Likewise.
60813         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
60814         in TZVERSION setting, not $(PKGVERSION).
60815         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
60816         REPORT_BUGS_TO settings.
60818         [BZ #14838]
60819         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
60820         macro.
60822 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60824         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
60825         detection to immediately after _FP_ROUND().
60826         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
60827         bits are 0.
60829 2012-11-11  David S. Miller  <davem@davemloft.net>
60831         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
60832         inttypes.h
60833         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
60834         __close rather than their public counterparts.
60836 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
60838         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
60839         file.
60840         [UNIX98] (sem_timedwait): Do not expect.
60841         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
60842         [XPG4 || UNIX98] (sockatmark): Do not expect.
60843         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
60844         (clock_getcpuclockid): Do not expect.
60845         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
60846         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
60847         Do not expect.
60848         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
60849         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
60850         [UNIX98] (vwscanf): Likewise.
60851         [UNIX98] (vswscanf): Likewise.
60853 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
60855         * timezone/version.h: Remove file.
60856         * timezone/README: Do not refer to version.h.
60857         * timezone/Makefile ($(objpfx)zic.o): New dependency on
60858         $(objpfx)version.h.
60859         ($(objpfx)zdump.o): Likewise.
60860         ($(objpfx)version.h): New target.
60862         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
60863         2012i.
60864         * timezone/README: Don't mention modification to tzselect.ksh.
60865         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
60866         work on unmodified tzselect.ksh.  Substitute version numbers in
60867         tzselect.ksh.
60869         * Makefile (format-me): Remove.
60870         (INSTALL): Adjust indentation.  Use commands directly instead of
60871         using $(format-me).
60873         * aclocal.m4 (ACX_PKGVERSION): New macro.
60874         (ACX_BUGURL): Likewise.
60875         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
60876         (PKGVERSION): New AC_DEFINE_UNQUOTED.
60877         (REPORT_BUGS_TO): Likewise.
60878         * configure: Regenerated.
60879         * config.h.in (PKGVERSION): New macro.
60880         (REPORT_BUGS_TO): Likewise.
60881         * config.make.in (PKGVERSION): New variable.
60882         (PKGVERSION_TEXI): Likewise.
60883         (REPORT_BUGS_TO): Likewise.
60884         (REPORT_BUGS_TEXI): Likewise.
60885         * Makefile (format-me): Use -I$(common-objpfx)manual.
60886         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
60887         ($(common-objpfx)manual/%): New target.
60888         (manual/%): Remove target.
60889         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
60890         (print_version): Use PKGVERSION.
60891         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
60892         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
60893         and REPORT_BUGS_TO.
60894         ($(objpfx)xtrace): Likewise.
60895         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
60896         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
60897         (print_version): Use PKGVERSION.
60898         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
60899         (do_version): Use PKGVERSION.
60900         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
60901         REPORT_BUGS_TO.
60902         (common-ldd-rewrite): Likewise.
60903         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
60904         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
60905         (print_version): Use PKGVERSION.
60906         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
60907         * elf/pldd.c (argp_program_bug_address): Remove variable.
60908         (more_help): New function.
60909         (argp): Use more_help.
60910         (print_version): Use PKGVERSION.
60911         * elf/sln.c (main): Use PKGVERSION.
60912         (usage): Use REPORT_BUGS_TO.
60913         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
60914         (top level): Use PKGVERSION.
60915         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
60916         (print_version): Use PKGVERSION.
60917         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
60918         (print_version): Use PKGVERSION.
60919         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
60920         (print_version): Use PKGVERSION.
60921         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
60922         (print_version): Use PKGVERSION.
60923         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
60924         (print_version): Use PKGVERSION.
60925         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
60926         (print_version): Use PKGVERSION.
60927         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
60928         and BUGURL.
60929         ($(objpfx)memusage): Likewise.
60930         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
60931         (do_version): Use PKGVERSION.
60932         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
60933         (print_version): Use PKGVERSION.
60934         * malloc/mtrace.pl ($PACKAGE): Remove variable.
60935         ($PKGVERSION): New variable.
60936         ($REPORT_BUGS_TO): Likewise.
60937         (usage): Use $REPORT_BUGS_TO.
60938         (top level): Use $PKGVERSION.
60939         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
60940         ($(objpfx)pkgvers.texi): New rule.
60941         ($(objpfx)stamp-pkgvers): Likewise.
60942         * manual/install.texi: Include pkgvers.texi.
60943         (--with-pkgversion): Document new configure option.
60944         (--with-bugurl): Likewise.
60945         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
60946         than necessarily for this particular distribution.  Use
60947         REPORT_BUGS_TO for where to report bugs.
60948         * INSTALL: Regenerated.
60949         * manual/libc.texinfo: Include pkgvers.texi.
60950         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
60951         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
60952         (print_version): Use PKGVERSION.
60953         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
60954         (print_version): Use PKGVERSION.
60955         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
60956         (print_version): Use PKGVERSION.
60957         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
60958         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
60959         macro.
60960         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
60961         (print_version): Use PKGVERSION.
60962         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
60963         (print_version): Use PKGVERSION.
60964         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
60965         and PKGVERSION.
60967         * timezone/checktab.awk: Update from tzcode 2012i.
60968         * timezone/ialloc.c: Likewise.
60969         * timezone/private.h: Likewise.
60970         * timezone/scheck.c: Likewise.
60971         * timezone/tzfile.h: Likewise.
60972         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
60973         (TZVERSION): Hardcode tzcode version number.
60974         * timezone/zdump.c: Update from tzcode 2012i.
60975         * timezone/zic.c: Likewise.
60976         * timezone/version.h: New file.
60977         * timezone/README: Describe version.h.  Update upstream location.
60979         [BZ #14824]
60980         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
60981         (mktemp): Enable declaration.
60982         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
60983         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
60984         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
60985         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
60986         Likewise.
60987         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
60988         Likewise.
60989         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
60990         Likewise.
60991         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
60992         Likewise.
60993         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
60994         Likewise.
60995         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
60996         Likewise.
60998         [BZ #14821]
60999         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
61000         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
61001         for copies of such integer values.
61002         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
61003         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
61005 2012-11-09  Andreas Jaeger  <aj@suse.de>
61007         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
61008         definitions and declarations that are provided by
61009         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61011 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61013         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
61014         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
61015         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
61016         definition.
61018 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61020         * elf/elf.h: Update comment before AArch64 relocations.
61022 2012-11-07  David S. Miller  <davem@davemloft.net>
61024         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
61025         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
61026         (__start_context): Declare.
61027         (__makecontext_ret): Delete.
61028         (__makecontext): Hook up __start_context instead of
61029         __makecontext_ret.
61030         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
61031         (sysdep_routines): Add __start_context when in stdlib.
61033 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61035         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
61036         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
61037         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
61038         hardcoded "nm".
61039         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
61040         (READELF): New variable.  Use it instead of hardcoded "readelf".
61042 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
61044         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
61045         * sysdeps/x86/Makefile: Here.
61046         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
61047         * sysdeps/x86/tst-xmmymm.sh: This.
61049 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61051         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
61052         expectations.
61053         [UNIX98] (pthread_barrier_t): Do not expect.
61054         [UNIX98] (pthread_barrierattr_t): Likewise.
61055         [UNIX98] (pthread_spinlock_t): Likewise.
61056         [UNIX98] (pthread_barrier_destroy): Likewise.
61057         [UNIX98] (pthread_barrier_init): Likewise.
61058         [UNIX98] (pthread_barrier_wait): Likewise.
61059         [UNIX98] (pthread_barrierattr_destroy): Likewise.
61060         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
61061         [UNIX98] (pthread_barrierattr_init): Likewise.
61062         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
61063         [UNIX98] (pthread_getcpuclockid): Likewise.
61064         [UNIX98] (pthread_mutex_timedlock): Likewise.
61065         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
61066         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
61067         [UNIX98] (pthread_sigmask): Likewise.
61068         [UNIX98] (pthread_spin_destroy): Likewise.
61069         [UNIX98] (pthread_spin_init): Likewise.
61070         [UNIX98] (pthread_spin_lock): Likewise.
61071         [UNIX98] (pthread_spin_trylock): Likewise.
61072         [UNIX98] (pthread_spin_unlock): Likewise.
61073         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
61074         Do not expect.
61075         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
61076         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
61077         [XPG3 || XPG4] (pthread_cond_t): Likewise.
61078         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
61079         [XPG3 || XPG4] (pthread_key_t): Likewise.
61080         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
61081         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
61082         [XPG3 || XPG4] (pthread_once_t): Likewise.
61083         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
61084         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
61085         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
61086         [XPG3 || XPG4] (pthread_t): Likewise.
61088         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
61089         not expect.
61090         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
61092         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
61093         Change function return type to int.
61095         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
61096         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
61097         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
61098         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
61099         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
61100         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
61101         [!POSIX] (posix_madvise): Likewise.
61102         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
61103         && !UNIX98].
61104         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
61105         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
61106         (mode_t): Likewise.
61107         (posix_mem_offset): Likewise.
61108         (posix_typed_mem_get_info): Likewise.
61109         (posix_typed_mem_open): Likewise.
61111         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
61112         Change condition to [XOPEN2K8].
61114         * conform/conformtest.pl: Preprocess allow-header data with -x c
61115         instead of from stdin.
61116         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
61117         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
61118         [C99-based standards] (cerfc): Likewise.
61119         [C99-based standards] (cexp2): Likewise.
61120         [C99-based standards] (cexpm1): Likewise.
61121         [C99-based standards] (clog10): Likewise.
61122         [C99-based standards] (clog1p): Likewise.
61123         [C99-based standards] (clog2): Likewise.
61124         [C99-based standards] (clgamma): Likewise.
61125         [C99-based standards] (ctgamma): Likewise.
61126         [C99-based standards] (cerff): Likewise.
61127         [C99-based standards] (cerfcf): Likewise.
61128         [C99-based standards] (cexp2f): Likewise.
61129         [C99-based standards] (cexpm1f): Likewise.
61130         [C99-based standards] (clog10f): Likewise.
61131         [C99-based standards] (clog1pf): Likewise.
61132         [C99-based standards] (clog2f): Likewise.
61133         [C99-based standards] (clgammaf): Likewise.
61134         [C99-based standards] (ctgammaf): Likewise.
61135         [C99-based standards] (cerfl): Likewise.
61136         [C99-based standards] (cerfcl): Likewise.
61137         [C99-based standards] (cexp2l): Likewise.
61138         [C99-based standards] (cexpm1l): Likewise.
61139         [C99-based standards] (clog10l): Likewise.
61140         [C99-based standards] (clog1pl): Likewise.
61141         [C99-based standards] (clog2l): Likewise.
61142         [C99-based standards] (clgammal): Likewise.
61143         [C99-based standards] (ctgammal): Likewise.
61144         * conform/data/inttypes.h-data [C99-based standards]: Include
61145         stdint.h-data.  Remove all expectations for stdint.h contents.
61146         [C99-based standards] (PRI*): Do not allow.
61147         [C99-based standards] (SCN*): Likewise.
61148         [C99-based standards] (*_t): Likewise.
61149         [C99-based-standards] (PRId8): Expect macro.
61150         [C99-based-standards] (PRIi8): Likewise.
61151         [C99-based-standards] (PRIo8): Likewise.
61152         [C99-based-standards] (PRIu8): Likewise.
61153         [C99-based-standards] (PRIx8): Likewise.
61154         [C99-based-standards] (PRIX8): Likewise.
61155         [C99-based-standards] (SCNd8): Likewise.
61156         [C99-based-standards] (SCNi8): Likewise.
61157         [C99-based-standards] (SCNo8): Likewise.
61158         [C99-based-standards] (SCNu8): Likewise.
61159         [C99-based-standards] (SCNx8): Likewise.
61160         [C99-based-standards] (PRIdLEAST8): Likewise.
61161         [C99-based-standards] (PRIiLEAST8): Likewise.
61162         [C99-based-standards] (PRIoLEAST8): Likewise.
61163         [C99-based-standards] (PRIuLEAST8): Likewise.
61164         [C99-based-standards] (PRIxLEAST8): Likewise.
61165         [C99-based-standards] (PRIXLEAST8): Likewise.
61166         [C99-based-standards] (SCNdLEAST8): Likewise.
61167         [C99-based-standards] (SCNiLEAST8): Likewise.
61168         [C99-based-standards] (SCNoLEAST8): Likewise.
61169         [C99-based-standards] (SCNuLEAST8): Likewise.
61170         [C99-based-standards] (SCNxLEAST8): Likewise.
61171         [C99-based-standards] (PRIdFAST8): Likewise.
61172         [C99-based-standards] (PRIiFAST8): Likewise.
61173         [C99-based-standards] (PRIoFAST8): Likewise.
61174         [C99-based-standards] (PRIuFAST8): Likewise.
61175         [C99-based-standards] (PRIxFAST8): Likewise.
61176         [C99-based-standards] (PRIXFAST8): Likewise.
61177         [C99-based-standards] (SCNdFAST8): Likewise.
61178         [C99-based-standards] (SCNiFAST8): Likewise.
61179         [C99-based-standards] (SCNoFAST8): Likewise.
61180         [C99-based-standards] (SCNuFAST8): Likewise.
61181         [C99-based-standards] (SCNxFAST8): Likewise.
61182         [C99-based-standards] (PRId16): Likewise.
61183         [C99-based-standards] (PRIi16): Likewise.
61184         [C99-based-standards] (PRIo16): Likewise.
61185         [C99-based-standards] (PRIu16): Likewise.
61186         [C99-based-standards] (PRIx16): Likewise.
61187         [C99-based-standards] (PRIX16): Likewise.
61188         [C99-based-standards] (SCNd16): Likewise.
61189         [C99-based-standards] (SCNi16): Likewise.
61190         [C99-based-standards] (SCNo16): Likewise.
61191         [C99-based-standards] (SCNu16): Likewise.
61192         [C99-based-standards] (SCNx16): Likewise.
61193         [C99-based-standards] (PRIdLEAST16): Likewise.
61194         [C99-based-standards] (PRIiLEAST16): Likewise.
61195         [C99-based-standards] (PRIoLEAST16): Likewise.
61196         [C99-based-standards] (PRIuLEAST16): Likewise.
61197         [C99-based-standards] (PRIxLEAST16): Likewise.
61198         [C99-based-standards] (PRIXLEAST16): Likewise.
61199         [C99-based-standards] (SCNdLEAST16): Likewise.
61200         [C99-based-standards] (SCNiLEAST16): Likewise.
61201         [C99-based-standards] (SCNoLEAST16): Likewise.
61202         [C99-based-standards] (SCNuLEAST16): Likewise.
61203         [C99-based-standards] (SCNxLEAST16): Likewise.
61204         [C99-based-standards] (PRIdFAST16): Likewise.
61205         [C99-based-standards] (PRIiFAST16): Likewise.
61206         [C99-based-standards] (PRIoFAST16): Likewise.
61207         [C99-based-standards] (PRIuFAST16): Likewise.
61208         [C99-based-standards] (PRIxFAST16): Likewise.
61209         [C99-based-standards] (PRIXFAST16): Likewise.
61210         [C99-based-standards] (SCNdFAST16): Likewise.
61211         [C99-based-standards] (SCNiFAST16): Likewise.
61212         [C99-based-standards] (SCNoFAST16): Likewise.
61213         [C99-based-standards] (SCNuFAST16): Likewise.
61214         [C99-based-standards] (SCNxFAST16): Likewise.
61215         [C99-based-standards] (PRId32): Likewise.
61216         [C99-based-standards] (PRIi32): Likewise.
61217         [C99-based-standards] (PRIo32): Likewise.
61218         [C99-based-standards] (PRIu32): Likewise.
61219         [C99-based-standards] (PRIx32): Likewise.
61220         [C99-based-standards] (PRIX32): Likewise.
61221         [C99-based-standards] (SCNd32): Likewise.
61222         [C99-based-standards] (SCNi32): Likewise.
61223         [C99-based-standards] (SCNo32): Likewise.
61224         [C99-based-standards] (SCNu32): Likewise.
61225         [C99-based-standards] (SCNx32): Likewise.
61226         [C99-based-standards] (PRIdLEAST32): Likewise.
61227         [C99-based-standards] (PRIiLEAST32): Likewise.
61228         [C99-based-standards] (PRIoLEAST32): Likewise.
61229         [C99-based-standards] (PRIuLEAST32): Likewise.
61230         [C99-based-standards] (PRIxLEAST32): Likewise.
61231         [C99-based-standards] (PRIXLEAST32): Likewise.
61232         [C99-based-standards] (SCNdLEAST32): Likewise.
61233         [C99-based-standards] (SCNiLEAST32): Likewise.
61234         [C99-based-standards] (SCNoLEAST32): Likewise.
61235         [C99-based-standards] (SCNuLEAST32): Likewise.
61236         [C99-based-standards] (SCNxLEAST32): Likewise.
61237         [C99-based-standards] (PRIdFAST32): Likewise.
61238         [C99-based-standards] (PRIiFAST32): Likewise.
61239         [C99-based-standards] (PRIoFAST32): Likewise.
61240         [C99-based-standards] (PRIuFAST32): Likewise.
61241         [C99-based-standards] (PRIxFAST32): Likewise.
61242         [C99-based-standards] (PRIXFAST32): Likewise.
61243         [C99-based-standards] (SCNdFAST32): Likewise.
61244         [C99-based-standards] (SCNiFAST32): Likewise.
61245         [C99-based-standards] (SCNoFAST32): Likewise.
61246         [C99-based-standards] (SCNuFAST32): Likewise.
61247         [C99-based-standards] (SCNxFAST32): Likewise.
61248         [C99-based-standards] (PRId64): Likewise.
61249         [C99-based-standards] (PRIi64): Likewise.
61250         [C99-based-standards] (PRIo64): Likewise.
61251         [C99-based-standards] (PRIu64): Likewise.
61252         [C99-based-standards] (PRIx64): Likewise.
61253         [C99-based-standards] (PRIX64): Likewise.
61254         [C99-based-standards] (SCNd64): Likewise.
61255         [C99-based-standards] (SCNi64): Likewise.
61256         [C99-based-standards] (SCNo64): Likewise.
61257         [C99-based-standards] (SCNu64): Likewise.
61258         [C99-based-standards] (SCNx64): Likewise.
61259         [C99-based-standards] (PRIdLEAST64): Likewise.
61260         [C99-based-standards] (PRIiLEAST64): Likewise.
61261         [C99-based-standards] (PRIoLEAST64): Likewise.
61262         [C99-based-standards] (PRIuLEAST64): Likewise.
61263         [C99-based-standards] (PRIxLEAST64): Likewise.
61264         [C99-based-standards] (PRIXLEAST64): Likewise.
61265         [C99-based-standards] (SCNdLEAST64): Likewise.
61266         [C99-based-standards] (SCNiLEAST64): Likewise.
61267         [C99-based-standards] (SCNoLEAST64): Likewise.
61268         [C99-based-standards] (SCNuLEAST64): Likewise.
61269         [C99-based-standards] (SCNxLEAST64): Likewise.
61270         [C99-based-standards] (PRIdFAST64): Likewise.
61271         [C99-based-standards] (PRIiFAST64): Likewise.
61272         [C99-based-standards] (PRIoFAST64): Likewise.
61273         [C99-based-standards] (PRIuFAST64): Likewise.
61274         [C99-based-standards] (PRIxFAST64): Likewise.
61275         [C99-based-standards] (PRIXFAST64): Likewise.
61276         [C99-based-standards] (SCNdFAST64): Likewise.
61277         [C99-based-standards] (SCNiFAST64): Likewise.
61278         [C99-based-standards] (SCNoFAST64): Likewise.
61279         [C99-based-standards] (SCNuFAST64): Likewise.
61280         [C99-based-standards] (SCNxFAST64): Likewise.
61281         [C99-based-standards] (PRIdMAX): Likewise.
61282         [C99-based-standards] (PRIiMAX): Likewise.
61283         [C99-based-standards] (PRIoMAX): Likewise.
61284         [C99-based-standards] (PRIuMAX): Likewise.
61285         [C99-based-standards] (PRIxMAX): Likewise.
61286         [C99-based-standards] (PRIXMAX): Likewise.
61287         [C99-based-standards] (SCNdMAX): Likewise.
61288         [C99-based-standards] (SCNiMAX): Likewise.
61289         [C99-based-standards] (SCNoMAX): Likewise.
61290         [C99-based-standards] (SCNuMAX): Likewise.
61291         [C99-based-standards] (SCNxMAX): Likewise.
61292         [C99-based-standards] (PRIdPTR): Likewise.
61293         [C99-based-standards] (PRIiPTR): Likewise.
61294         [C99-based-standards] (PRIoPTR): Likewise.
61295         [C99-based-standards] (PRIuPTR): Likewise.
61296         [C99-based-standards] (PRIxPTR): Likewise.
61297         [C99-based-standards] (PRIXPTR): Likewise.
61298         [C99-based-standards] (SCNdPTR): Likewise.
61299         [C99-based-standards] (SCNiPTR): Likewise.
61300         [C99-based-standards] (SCNoPTR): Likewise.
61301         [C99-based-standards] (SCNuPTR): Likewise.
61302         [C99-based-standards] (SCNxPTR): Likewise.
61303         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
61304         allow.
61305         * conform/data/stdint.h-data: Update comments to clarify
61306         requirements.
61307         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
61308         type.
61309         [C99-based standards] (INT8_MAX): Likewise.
61310         [C99-based standards] (INT16_MIN): Likewise.
61311         [C99-based standards] (INT16_MAX): Likewise.
61312         [C99-based standards] (INT32_MIN): Likewise.
61313         [C99-based standards] (INT32_MAX): Likewise.
61314         [C99-based standards] (INT64_MIN): Likewise.
61315         [C99-based standards] (INT64_MAX): Likewise.
61316         [C99-based standards] (UINT8_MAX): Likewise.
61317         [C99-based standards] (UINT16_MAX): Likewise.
61318         [C99-based standards] (UINT32_MAX): Likewise.
61319         [C99-based standards] (UINT64_MAX): Likewise.
61320         [C99-based standards] (INT_LEAST8_MIN): Likewise.
61321         [C99-based standards] (INT_LEAST8_MAX): Likewise.
61322         [C99-based standards] (INT_LEAST16_MIN): Likewise.
61323         [C99-based standards] (INT_LEAST16_MAX): Likewise.
61324         [C99-based standards] (INT_LEAST32_MIN): Likewise.
61325         [C99-based standards] (INT_LEAST32_MAX): Likewise.
61326         [C99-based standards] (INT_LEAST64_MIN): Likewise.
61327         [C99-based standards] (INT_LEAST64_MAX): Likewise.
61328         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
61329         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
61330         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
61331         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
61332         [C99-based standards] (INT_FAST8_MIN): Likewise.
61333         [C99-based standards] (INT_FAST8_MAX): Likewise.
61334         [C99-based standards] (INT_FAST16_MIN): Likewise.
61335         [C99-based standards] (INT_FAST16_MAX): Likewise.
61336         [C99-based standards] (INT_FAST32_MIN): Likewise.
61337         [C99-based standards] (INT_FAST32_MAX): Likewise.
61338         [C99-based standards] (INT_FAST64_MIN): Likewise.
61339         [C99-based standards] (INT_FAST64_MAX): Likewise.
61340         [C99-based standards] (UINT_FAST8_MAX): Likewise.
61341         [C99-based standards] (UINT_FAST16_MAX): Likewise.
61342         [C99-based standards] (UINT_FAST32_MAX): Likewise.
61343         [C99-based standards] (UINT_FAST64_MAX): Likewise.
61344         [C99-based standards] (INTPTR_MIN): Likewise.
61345         [C99-based standards] (INTPTR_MAX): Likewise.
61346         [C99-based standards] (UINTPTR_MAX): Likewise.
61347         [C99-based standards] (INTMAX_MIN): Likewise.
61348         [C99-based standards] (INTMAX_MAX): Likewise.
61349         [C99-based standards] (UINTMAX_MAX): Likewise.
61350         [C99-based standards] (PTRDIFF_MIN): Likewise.
61351         [C99-based standards] (PTRDIFF_MAX): Likewise.
61352         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
61353         [C99-based standards] (SIZE_MAX): Likewise.
61354         [C99-based standards] (WCHAR_MAX): Likewise.
61355         [C99-based standards] (WINT_MAX): Likewise.
61356         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
61357         constraint on value.
61358         [C99-based standards] (WCHAR_MIN): Likewise.
61359         [C99-based standards] (WINT_MIN): Likewise.
61360         [C99-based standards] (*_t): Allow.
61361         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
61362         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
61363         Include math.h-data and complex.h-data.  Remove all expectations
61364         of math.h and complex.h contents.
61365         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
61366         at end of line.
61367         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
61368         (struct tm): Expect tag.
61369         [C99-based-standards] (wcstof): Expect function.
61370         [C99-based-standards] (wcstold): Likewise.
61371         [C99-based-standards] (wcstoll): Likewise.
61372         [C99-based-standards] (wcstoull): Likewise.
61373         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
61374         macro-int-constant.  Specify type.
61375         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
61376         constraint on value.
61377         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61378         Specify type.
61379         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
61380         Specify value.
61381         [ISO C standards]: Do not allow headers.
61382         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
61383         wcs[abcdefghijklmnopqrstuvwxyz]*.
61384         [ISO C standards] (*_t): Do not allow.
61385         * conform/data/wctype.h-data [C99-based standards] (iswblank):
61386         Expect function.
61387         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
61388         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
61389         Specify type.
61390         [ISO C standards]: Do not allow headers.
61391         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
61392         is[abcdefghijklmnopqrstuvwxyz]*.
61393         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
61394         to[abcdefghijklmnopqrstuvwxyz]*.
61395         [ISO C standards] (*_t): Do not allow.
61396         * conform/data/stdalign.h-data: New file.
61397         * conform/data/stdbool.h-data: Likewise.
61398         * conform/data/stdnoreturn.h-data: Likewise.
61400 2012-11-07  Roland McGrath  <roland@hack.frob.com>
61402         [BZ #14815]
61403         * manual/filesys.texi (Directory Entries): Typo fix.
61404         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
61406 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61408         * elf/elf.h (EM_AARCH64): New macro.
61409         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
61410         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
61411         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
61412         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
61413         (R_AARCH64_TLSDESC): Likewise.
61414         (NT_ARM_TLS): Likewise.
61415         (NT_ARM_HW_BREAK): Likewise.
61416         (NT_ARM_HW_WATCH): Likewise.
61418 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61420         [BZ #14811]
61421         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
61422         (__ieee754_powl): Saturate nonzero exponents with absolute value
61423         below 0x1p-79 to +/- 0x1p-79.
61424         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
61425         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
61426         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
61427         nonzero exponents with absolute value below 0x1p-32 to +/-
61428         0x1p-32.
61429         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
61430         (__ieee754_powl): Saturate nonzero exponents with absolute value
61431         below 0x1p-79 to +/- 0x1p-79.
61432         * math/libm-test.inc (pow_test): Add more tests.
61434 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61436         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
61437         _dl_s390_cap_flags with kernel. Increase string length.
61438         (_dl_s390_platforms): Add z196 and zEC12.
61440 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
61442         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
61443         Change XOPEN21K to XOPEN2K.
61445 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
61447         * string/memmove.c: Use memcpy when possible.
61449 2012-11-06  Andreas Jaeger  <aj@suse.de>
61451         * po/eo.po: Update from translation team.
61453 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
61455         [BZ #14793]
61456         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
61457         exponent and small x and y exponents, scale x or y up.  Increase
61458         by 2 the exponent used in scaling up.
61459         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61460         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61461         * math/libm-test.inc (fma_test): Add more tests.
61462         (fma_test_towardzero): Likewise.
61463         (fma_test_downward): Likewise.
61464         (fma_test_upward): Likewise.
61466 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
61468         [BZ #14805]
61469         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
61470         fenv_t *.
61472         [BZ #14801]
61473         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
61474         namespace for names of struct fields.
61475         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
61476         fenv_t fields.
61477         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
61478         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
61480 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61482         [BZ #3665]
61483         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
61485 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61487         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
61488         PTR_DEMANGLE.
61490         [BZ #5246]
61491         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
61492         PTR_DEMANGLE.
61494 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
61496         [BZ #14797]
61497         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
61498         definitely overflow as x * y not x * y + z.
61499         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61501         * math/libm-test.inc (fma_test): Add more tests.
61502         (fma_test_towardzero): Likewise.
61503         (fma_test_downward): Likewise.
61504         (fma_test_upward): Likewise.
61506 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
61508         [BZ #157]
61510         * include/stub-tag.h: Remove file.
61511         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
61512         '#include' of it.
61513         * manual/maint.texi (Porting): Don't reference it.
61514         * Makerules ($(objpfx)stubs): Likewise.
61515         * dirent/closedir.c: Don't include <stub-tag.h>.
61516         * dirent/dirfd.c: Likewise.
61517         * dirent/fdopendir.c: Likewise.
61518         * dirent/getdents.c: Likewise.
61519         * dirent/getdents64.c: Likewise.
61520         * dirent/opendir.c: Likewise.
61521         * dirent/readdir.c: Likewise.
61522         * dirent/readdir64.c: Likewise.
61523         * dirent/readdir64_r.c: Likewise.
61524         * dirent/readdir_r.c: Likewise.
61525         * dirent/rewinddir.c: Likewise.
61526         * dirent/seekdir.c: Likewise.
61527         * dirent/telldir.c: Likewise.
61528         * gmon/profil.c: Likewise.
61529         * grp/setgroups.c: Likewise.
61530         * inet/if_index.c: Likewise.
61531         * io/access.c: Likewise.
61532         * io/chdir.c: Likewise.
61533         * io/chmod.c: Likewise.
61534         * io/chown.c: Likewise.
61535         * io/close.c: Likewise.
61536         * io/dup.c: Likewise.
61537         * io/dup2.c: Likewise.
61538         * io/dup3.c: Likewise.
61539         * io/euidaccess.c: Likewise.
61540         * io/faccessat.c: Likewise.
61541         * io/fchdir.c: Likewise.
61542         * io/fchmod.c: Likewise.
61543         * io/fchmodat.c: Likewise.
61544         * io/fchown.c: Likewise.
61545         * io/fchownat.c: Likewise.
61546         * io/fcntl.c: Likewise.
61547         * io/flock.c: Likewise.
61548         * io/fstatfs.c: Likewise.
61549         * io/fstatfs64.c: Likewise.
61550         * io/fstatvfs.c: Likewise.
61551         * io/fstatvfs64.c: Likewise.
61552         * io/futimens.c: Likewise.
61553         * io/fxstat.c: Likewise.
61554         * io/fxstat64.c: Likewise.
61555         * io/fxstatat.c: Likewise.
61556         * io/fxstatat64.c: Likewise.
61557         * io/getcwd.c: Likewise.
61558         * io/isatty.c: Likewise.
61559         * io/lchmod.c: Likewise.
61560         * io/lchown.c: Likewise.
61561         * io/link.c: Likewise.
61562         * io/linkat.c: Likewise.
61563         * io/lseek.c: Likewise.
61564         * io/lseek64.c: Likewise.
61565         * io/lxstat64.c: Likewise.
61566         * io/mkdir.c: Likewise.
61567         * io/mkdirat.c: Likewise.
61568         * io/mkfifo.c: Likewise.
61569         * io/mkfifoat.c: Likewise.
61570         * io/open.c: Likewise.
61571         * io/open64.c: Likewise.
61572         * io/openat.c: Likewise.
61573         * io/openat64.c: Likewise.
61574         * io/pipe.c: Likewise.
61575         * io/pipe2.c: Likewise.
61576         * io/poll.c: Likewise.
61577         * io/posix_fadvise.c: Likewise.
61578         * io/posix_fadvise64.c: Likewise.
61579         * io/posix_fallocate.c: Likewise.
61580         * io/posix_fallocate64.c: Likewise.
61581         * io/read.c: Likewise.
61582         * io/readlink.c: Likewise.
61583         * io/readlinkat.c: Likewise.
61584         * io/rmdir.c: Likewise.
61585         * io/sendfile.c: Likewise.
61586         * io/sendfile64.c: Likewise.
61587         * io/statfs.c: Likewise.
61588         * io/statfs64.c: Likewise.
61589         * io/statvfs.c: Likewise.
61590         * io/statvfs64.c: Likewise.
61591         * io/symlink.c: Likewise.
61592         * io/symlinkat.c: Likewise.
61593         * io/ttyname.c: Likewise.
61594         * io/ttyname_r.c: Likewise.
61595         * io/umask.c: Likewise.
61596         * io/unlink.c: Likewise.
61597         * io/unlinkat.c: Likewise.
61598         * io/utime.c: Likewise.
61599         * io/utimensat.c: Likewise.
61600         * io/write.c: Likewise.
61601         * io/xmknod.c: Likewise.
61602         * io/xmknodat.c: Likewise.
61603         * io/xstat.c: Likewise.
61604         * io/xstat64.c: Likewise.
61605         * login/getpt.c: Likewise.
61606         * login/grantpt.c: Likewise.
61607         * login/unlockpt.c: Likewise.
61608         * math/e_acoshl.c: Likewise.
61609         * math/e_acosl.c: Likewise.
61610         * math/e_asinl.c: Likewise.
61611         * math/e_atan2l.c: Likewise.
61612         * math/e_atanhl.c: Likewise.
61613         * math/e_coshl.c: Likewise.
61614         * math/e_expl.c: Likewise.
61615         * math/e_fmodl.c: Likewise.
61616         * math/e_gammal_r.c: Likewise.
61617         * math/e_hypotl.c: Likewise.
61618         * math/e_j0l.c: Likewise.
61619         * math/e_j1l.c: Likewise.
61620         * math/e_jnl.c: Likewise.
61621         * math/e_lgammal_r.c: Likewise.
61622         * math/e_log10l.c: Likewise.
61623         * math/e_log2l.c: Likewise.
61624         * math/e_logl.c: Likewise.
61625         * math/e_powl.c: Likewise.
61626         * math/e_rem_pio2l.c: Likewise.
61627         * math/e_sinhl.c: Likewise.
61628         * math/e_sqrtl.c: Likewise.
61629         * math/fclrexcpt.c: Likewise.
61630         * math/fedisblxcpt.c: Likewise.
61631         * math/feenablxcpt.c: Likewise.
61632         * math/fegetenv.c: Likewise.
61633         * math/fegetexcept.c: Likewise.
61634         * math/fegetround.c: Likewise.
61635         * math/feholdexcpt.c: Likewise.
61636         * math/fesetenv.c: Likewise.
61637         * math/fesetround.c: Likewise.
61638         * math/feupdateenv.c: Likewise.
61639         * math/fgetexcptflg.c: Likewise.
61640         * math/fraiseexcpt.c: Likewise.
61641         * math/fsetexcptflg.c: Likewise.
61642         * math/ftestexcept.c: Likewise.
61643         * math/k_cosl.c: Likewise.
61644         * math/k_rem_pio2l.c: Likewise.
61645         * math/k_sinl.c: Likewise.
61646         * math/k_tanl.c: Likewise.
61647         * math/s_asinhl.c: Likewise.
61648         * math/s_atanl.c: Likewise.
61649         * math/s_cbrtl.c: Likewise.
61650         * math/s_erfl.c: Likewise.
61651         * math/s_expm1l.c: Likewise.
61652         * math/s_log1pl.c: Likewise.
61653         * math/s_tanhl.c: Likewise.
61654         * misc/acct.c: Likewise.
61655         * misc/brk.c: Likewise.
61656         * misc/chflags.c: Likewise.
61657         * misc/chroot.c: Likewise.
61658         * misc/fchflags.c: Likewise.
61659         * misc/fgetxattr.c: Likewise.
61660         * misc/flistxattr.c: Likewise.
61661         * misc/fremovexattr.c: Likewise.
61662         * misc/fsetxattr.c: Likewise.
61663         * misc/fsync.c: Likewise.
61664         * misc/ftruncate.c: Likewise.
61665         * misc/futimes.c: Likewise.
61666         * misc/futimesat.c: Likewise.
61667         * misc/getdomain.c: Likewise.
61668         * misc/getdtsz.c: Likewise.
61669         * misc/gethostid.c: Likewise.
61670         * misc/gethostname.c: Likewise.
61671         * misc/getloadavg.c: Likewise.
61672         * misc/getpagesize.c: Likewise.
61673         * misc/getsysstats.c: Likewise.
61674         * misc/getxattr.c: Likewise.
61675         * misc/gtty.c: Likewise.
61676         * misc/ioctl.c: Likewise.
61677         * misc/lgetxattr.c: Likewise.
61678         * misc/listxattr.c: Likewise.
61679         * misc/llistxattr.c: Likewise.
61680         * misc/lremovexattr.c: Likewise.
61681         * misc/lsetxattr.c: Likewise.
61682         * misc/lutimes.c: Likewise.
61683         * misc/madvise.c: Likewise.
61684         * misc/mincore.c: Likewise.
61685         * misc/mlock.c: Likewise.
61686         * misc/mlockall.c: Likewise.
61687         * misc/mmap.c: Likewise.
61688         * misc/mprotect.c: Likewise.
61689         * misc/msync.c: Likewise.
61690         * misc/munlock.c: Likewise.
61691         * misc/munlockall.c: Likewise.
61692         * misc/munmap.c: Likewise.
61693         * misc/preadv.c: Likewise.
61694         * misc/preadv64.c: Likewise.
61695         * misc/ptrace.c: Likewise.
61696         * misc/pwritev.c: Likewise.
61697         * misc/pwritev64.c: Likewise.
61698         * misc/readv.c: Likewise.
61699         * misc/reboot.c: Likewise.
61700         * misc/remap_file_pages.c: Likewise.
61701         * misc/removexattr.c: Likewise.
61702         * misc/revoke.c: Likewise.
61703         * misc/select.c: Likewise.
61704         * misc/setdomain.c: Likewise.
61705         * misc/setegid.c: Likewise.
61706         * misc/seteuid.c: Likewise.
61707         * misc/sethostid.c: Likewise.
61708         * misc/sethostname.c: Likewise.
61709         * misc/setregid.c: Likewise.
61710         * misc/setreuid.c: Likewise.
61711         * misc/setxattr.c: Likewise.
61712         * misc/sstk.c: Likewise.
61713         * misc/stty.c: Likewise.
61714         * misc/swapoff.c: Likewise.
61715         * misc/swapon.c: Likewise.
61716         * misc/sync.c: Likewise.
61717         * misc/syncfs.c: Likewise.
61718         * misc/syscall.c: Likewise.
61719         * misc/truncate.c: Likewise.
61720         * misc/ualarm.c: Likewise.
61721         * misc/usleep.c: Likewise.
61722         * misc/ustat.c: Likewise.
61723         * misc/utimes.c: Likewise.
61724         * misc/vhangup.c: Likewise.
61725         * misc/writev.c: Likewise.
61726         * posix/_exit.c: Likewise.
61727         * posix/alarm.c: Likewise.
61728         * posix/execve.c: Likewise.
61729         * posix/fexecve.c: Likewise.
61730         * posix/fork.c: Likewise.
61731         * posix/fpathconf.c: Likewise.
61732         * posix/getaddrinfo.c: Likewise.
61733         * posix/getegid.c: Likewise.
61734         * posix/geteuid.c: Likewise.
61735         * posix/getgid.c: Likewise.
61736         * posix/getgroups.c: Likewise.
61737         * posix/getlogin.c: Likewise.
61738         * posix/getlogin_r.c: Likewise.
61739         * posix/getpgid.c: Likewise.
61740         * posix/getpid.c: Likewise.
61741         * posix/getppid.c: Likewise.
61742         * posix/getresgid.c: Likewise.
61743         * posix/getresuid.c: Likewise.
61744         * posix/getsid.c: Likewise.
61745         * posix/getuid.c: Likewise.
61746         * posix/glob64.c: Likewise.
61747         * posix/nanosleep.c: Likewise.
61748         * posix/pathconf.c: Likewise.
61749         * posix/pause.c: Likewise.
61750         * posix/posix_madvise.c: Likewise.
61751         * posix/pread.c: Likewise.
61752         * posix/pread64.c: Likewise.
61753         * posix/pwrite.c: Likewise.
61754         * posix/pwrite64.c: Likewise.
61755         * posix/sched_getaffinity.c: Likewise.
61756         * posix/sched_getp.c: Likewise.
61757         * posix/sched_gets.c: Likewise.
61758         * posix/sched_primax.c: Likewise.
61759         * posix/sched_primin.c: Likewise.
61760         * posix/sched_rr_gi.c: Likewise.
61761         * posix/sched_setaffinity.c: Likewise.
61762         * posix/sched_setp.c: Likewise.
61763         * posix/sched_sets.c: Likewise.
61764         * posix/sched_yield.c: Likewise.
61765         * posix/setgid.c: Likewise.
61766         * posix/setlogin.c: Likewise.
61767         * posix/setpgid.c: Likewise.
61768         * posix/setresgid.c: Likewise.
61769         * posix/setresuid.c: Likewise.
61770         * posix/setsid.c: Likewise.
61771         * posix/setuid.c: Likewise.
61772         * posix/sleep.c: Likewise.
61773         * posix/spawni.c: Likewise.
61774         * posix/sysconf.c: Likewise.
61775         * posix/times.c: Likewise.
61776         * posix/wait.c: Likewise.
61777         * posix/wait3.c: Likewise.
61778         * posix/wait4.c: Likewise.
61779         * posix/waitpid.c: Likewise.
61780         * resolv/gai_sigqueue.c: Likewise.
61781         * resource/getpriority.c: Likewise.
61782         * resource/getrlimit.c: Likewise.
61783         * resource/getrusage.c: Likewise.
61784         * resource/nice.c: Likewise.
61785         * resource/setpriority.c: Likewise.
61786         * resource/setrlimit.c: Likewise.
61787         * resource/ulimit.c: Likewise.
61788         * rt/aio_cancel.c: Likewise.
61789         * rt/aio_fsync.c: Likewise.
61790         * rt/aio_read.c: Likewise.
61791         * rt/aio_sigqueue.c: Likewise.
61792         * rt/aio_suspend.c: Likewise.
61793         * rt/aio_write.c: Likewise.
61794         * rt/clock_getres.c: Likewise.
61795         * rt/clock_gettime.c: Likewise.
61796         * rt/clock_nanosleep.c: Likewise.
61797         * rt/clock_settime.c: Likewise.
61798         * rt/lio_listio.c: Likewise.
61799         * rt/mq_close.c: Likewise.
61800         * rt/mq_getattr.c: Likewise.
61801         * rt/mq_notify.c: Likewise.
61802         * rt/mq_open.c: Likewise.
61803         * rt/mq_receive.c: Likewise.
61804         * rt/mq_send.c: Likewise.
61805         * rt/mq_setattr.c: Likewise.
61806         * rt/mq_timedreceive.c: Likewise.
61807         * rt/mq_timedsend.c: Likewise.
61808         * rt/mq_unlink.c: Likewise.
61809         * rt/shm_open.c: Likewise.
61810         * rt/shm_unlink.c: Likewise.
61811         * rt/timer_create.c: Likewise.
61812         * rt/timer_delete.c: Likewise.
61813         * rt/timer_getoverr.c: Likewise.
61814         * rt/timer_gettime.c: Likewise.
61815         * rt/timer_settime.c: Likewise.
61816         * setjmp/__longjmp.c: Likewise.
61817         * setjmp/setjmp.c: Likewise.
61818         * signal/kill.c: Likewise.
61819         * signal/killpg.c: Likewise.
61820         * signal/raise.c: Likewise.
61821         * signal/sigaction.c: Likewise.
61822         * signal/sigaltstack.c: Likewise.
61823         * signal/sigblock.c: Likewise.
61824         * signal/sigignore.c: Likewise.
61825         * signal/sigintr.c: Likewise.
61826         * signal/signal.c: Likewise.
61827         * signal/sigpause.c: Likewise.
61828         * signal/sigpending.c: Likewise.
61829         * signal/sigqueue.c: Likewise.
61830         * signal/sigreturn.c: Likewise.
61831         * signal/sigset.c: Likewise.
61832         * signal/sigsetmask.c: Likewise.
61833         * signal/sigstack.c: Likewise.
61834         * signal/sigsuspend.c: Likewise.
61835         * signal/sigtimedwait.c: Likewise.
61836         * signal/sigvec.c: Likewise.
61837         * signal/sigwait.c: Likewise.
61838         * signal/sigwaitinfo.c: Likewise.
61839         * signal/sysv_signal.c: Likewise.
61840         * socket/accept.c: Likewise.
61841         * socket/accept4.c: Likewise.
61842         * socket/bind.c: Likewise.
61843         * socket/connect.c: Likewise.
61844         * socket/getpeername.c: Likewise.
61845         * socket/getsockname.c: Likewise.
61846         * socket/getsockopt.c: Likewise.
61847         * socket/isfdtype.c: Likewise.
61848         * socket/listen.c: Likewise.
61849         * socket/recv.c: Likewise.
61850         * socket/recvfrom.c: Likewise.
61851         * socket/recvmsg.c: Likewise.
61852         * socket/send.c: Likewise.
61853         * socket/sendmsg.c: Likewise.
61854         * socket/sendto.c: Likewise.
61855         * socket/setsockopt.c: Likewise.
61856         * socket/shutdown.c: Likewise.
61857         * socket/sockatmark.c: Likewise.
61858         * socket/socket.c: Likewise.
61859         * socket/socketpair.c: Likewise.
61860         * stdio-common/ctermid.c: Likewise.
61861         * stdio-common/cuserid.c: Likewise.
61862         * stdio-common/remove.c: Likewise.
61863         * stdio-common/rename.c: Likewise.
61864         * stdio-common/renameat.c: Likewise.
61865         * stdio-common/tempname.c: Likewise.
61866         * stdlib/getcontext.c: Likewise.
61867         * stdlib/makecontext.c: Likewise.
61868         * stdlib/setcontext.c: Likewise.
61869         * stdlib/swapcontext.c: Likewise.
61870         * stdlib/system.c: Likewise.
61871         * streams/fattach.c: Likewise.
61872         * streams/fdetach.c: Likewise.
61873         * streams/getmsg.c: Likewise.
61874         * streams/getpmsg.c: Likewise.
61875         * streams/putmsg.c: Likewise.
61876         * streams/putpmsg.c: Likewise.
61877         * sysdeps/unix/bsd/getpt.c: Likewise.
61878         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
61879         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
61880         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
61881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
61882         Likewise.
61883         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
61884         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
61885         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
61886         * sysvipc/msgctl.c: Likewise.
61887         * sysvipc/msgget.c: Likewise.
61888         * sysvipc/msgrcv.c: Likewise.
61889         * sysvipc/msgsnd.c: Likewise.
61890         * sysvipc/semctl.c: Likewise.
61891         * sysvipc/semget.c: Likewise.
61892         * sysvipc/semop.c: Likewise.
61893         * sysvipc/semtimedop.c: Likewise.
61894         * sysvipc/shmat.c: Likewise.
61895         * sysvipc/shmctl.c: Likewise.
61896         * sysvipc/shmdt.c: Likewise.
61897         * sysvipc/shmget.c: Likewise.
61898         * termios/tcdrain.c: Likewise.
61899         * termios/tcflow.c: Likewise.
61900         * termios/tcflush.c: Likewise.
61901         * termios/tcgetattr.c: Likewise.
61902         * termios/tcgetpgrp.c: Likewise.
61903         * termios/tcsendbrk.c: Likewise.
61904         * termios/tcsetattr.c: Likewise.
61905         * termios/tcsetpgrp.c: Likewise.
61906         * time/adjtime.c: Likewise.
61907         * time/clock.c: Likewise.
61908         * time/getitimer.c: Likewise.
61909         * time/gettimeofday.c: Likewise.
61910         * time/setitimer.c: Likewise.
61911         * time/settimeofday.c: Likewise.
61912         * time/stime.c: Likewise.
61913         * time/time.c: Likewise.
61915 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
61917         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
61918         /usr/old/bin.
61920         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
61921         instead of spaces.
61922         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
61924 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
61926         [BZ #14796]
61927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
61928         FE_TONEAREST before applying Dekker multiplication and Knuth
61929         addition.  Clear inexact exceptions and check for exact zero
61930         results afterwards.
61931         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61932         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61933         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61934         * math/libm-test.inc (fma_test): Add more tests.
61935         (fma_test_towardzero): Likewise.
61936         (fma_test_downward): Likewise.
61937         (fma_test_upward): Likewise.
61938         * sysdeps/generic/math_private.h (default_libc_fesetround): New
61939         function.
61940         (libc_fesetround): New macro.
61941         (libc_fesetroundf): Likewise.
61942         (libc_fesetroundl): Likewise.
61943         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
61944         function.
61945         (libc_fesetround_387): Likewise.
61946         (libc_fesetroundf): New macro.
61947         (libc_fesetround): Likewise.
61948         (libc_fesetroundl): Likewise.
61949         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
61950         function.
61951         (libc_fesetroundf): New macro.
61952         (libc_fesetround): Likewise.
61953         (libc_fesetroundl): Likewise.
61954         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
61955         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
61956         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
61957         libm_hidden_ver.
61958         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
61959         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
61960         libm_hidden_def.
61961         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
61962         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
61963         libm_hidden_ver.
61964         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
61965         libm_hidden_def.
61967         [BZ #3439]
61968         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
61969         integer constant usable in #if and use that to give value to enum
61970         constant.
61971         (FE_DIVBYZERO): Likewise.
61972         (FE_UNDERFLOW): Likewise.
61973         (FE_OVERFLOW): Likewise.
61974         (FE_INVALID): Likewise.
61975         (FE_INVALID_SNAN): Likewise.
61976         (FE_INVALID_ISI): Likewise.
61977         (FE_INVALID_IDI): Likewise.
61978         (FE_INVALID_ZDZ): Likewise.
61979         (FE_INVALID_IMZ): Likewise.
61980         (FE_INVALID_COMPARE): Likewise.
61981         (FE_INVALID_SOFTWARE): Likewise.
61982         (FE_INVALID_SQRT): Likewise.
61983         (FE_INVALID_INTEGER_CONVERSION): Likewise.
61984         (FE_TONEAREST): Likewise.
61985         (FE_TOWARDZERO): Likewise.
61986         (FE_UPWARD): Likewise.
61987         (FE_DOWNWARD): Likewise.
61988         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
61989         (FE_DIVBYZERO): Likewise.
61990         (FE_OVERFLOW): Likewise.
61991         (FE_UNDERFLOW): Likewise.
61992         (FE_INEXACT): Likewise.
61993         (FE_TONEAREST): Likewise.
61994         (FE_DOWNWARD): Likewise.
61995         (FE_UPWARD): Likewise.
61996         (FE_TOWARDZERO): Likewise.
61997         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
61998         (FE_UNDERFLOW): Likewise.
61999         (FE_OVERFLOW): Likewise.
62000         (FE_DIVBYZERO): Likewise.
62001         (FE_INVALID): Likewise.
62002         (FE_TONEAREST): Likewise.
62003         (FE_TOWARDZERO): Likewise.
62004         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
62005         (FE_OVERFLOW): Likewise.
62006         (FE_UNDERFLOW): Likewise.
62007         (FE_DIVBYZERO): Likewise.
62008         (FE_INEXACT): Likewise.
62009         (FE_TONEAREST): Likewise.
62010         (FE_TOWARDZERO): Likewise.
62011         (FE_UPWARD): Likewise.
62012         (FE_DOWNWARD): Likewise.
62013         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
62014         (FE_DIVBYZERO): Likewise.
62015         (FE_OVERFLOW): Likewise.
62016         (FE_UNDERFLOW): Likewise.
62017         (FE_INEXACT): Likewise.
62018         (FE_TONEAREST): Likewise.
62019         (FE_DOWNWARD): Likewise.
62020         (FE_UPWARD): Likewise.
62021         (FE_TOWARDZERO): Likewise.
62023 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
62025         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
62027 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
62029         * scripts/cross-test-ssh.sh (command): Use newlines to separate
62030         commands.  Quote $PWD.
62031         (blacklist_exports): Don't use remove_newlines.  Replace "declare
62032         -x" by "export".
62033         (remove_newlines): Remove.
62035 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
62037         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
62038         * stdlib/stdlib.h (atof): Moved to ...
62039         * include/bits/stdlib-float.h: Here.  New file.
62040         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
62041         * stdlib/bits/stdlib-float.h: New file.
62042         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
62043         -mno-sse -mno-mmx.
62044         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
62045         <xmmintrin.h>.
62047 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62049         * conform/conformtest.pl (@headers): Add fenv.h.
62050         * conform/data/fenv.h-data: New file.
62051         * include/fenv.h [_ISOMAC]: Disable all contents of file except
62052         include of <math/fenv.h>.
62054         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
62055         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
62056         && !UNIX98].  Enables tests for XOPEN2K8.
62057         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
62058         POSIX2008]: Likewise.
62060         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
62061         (struct rusage): Do not expect type or its members.
62063         [BZ #3439]
62064         * math/math.h (FP_NAN): Define macro to integer constant usable in
62065         #if and use that to give value to enum constant.
62066         (FP_INFINITE): Likewise.
62067         (FP_ZERO): Likewise.
62068         (FP_SUBNORMAL): Likewise.
62069         (FP_NORMAL): Likewise.
62071 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
62073         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
62074         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
62075         arguments.
62077 2012-11-02  Roland McGrath  <roland@hack.frob.com>
62079         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
62080         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
62081         autoconf-time if not.
62082         * configure.in: Remove AC_PREREQ.
62084 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62086         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
62087         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
62088         of the internal implementation.
62090 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
62092         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
62093         except include of <misc/sys/syslog.h>.
62095 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
62098         function returns with a NULL context exit with zero.
62100 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62102         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
62104 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
62106         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
62107         (run_program_cmd): This.
62108         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
62109         (tst_langinfo): New variable.  Use it.
62111 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
62113         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
62114         floating point opcodes.
62116 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62118         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
62119         variable.
62121         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
62123         * sysdeps/mach/hurd/powerpc: Remove directory.
62124         * sysdeps/mach/powerpc: Likewise.
62126 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
62128         * scripts/check-local-headers.sh: Ignore c++ headers.
62130 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62132         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
62133         __libc_cleanup_region_start argument.
62135 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
62137         [BZ #14784]
62138         [BZ #14785]
62139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
62140         x * y using scaling, not as x * y + z.
62141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62142         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62143         * math/libm-test.inc (fma_test): Add more tests.
62144         (fma_test_towardzero): Likewise.
62145         (fma_test_downward): Likewise.
62146         (fma_test_upward): Likewise.
62148 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
62150         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
62152 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62154         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
62155         New variable.
62157 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
62159         * rt/tst-shm.c (worker): Correct checking for mmap failure.
62161 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62164         Fix sort order.
62165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62166         Likewise.
62168 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62171         Fix the order of the list for glibc 2.17.
62172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62173         Likewise.
62175 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
62177         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62179 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
62181         [BZ #14610]
62182         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
62183         for low part of x being zero before using __atanl (y).
62184         * math/libm-test.inc (atan2_test): Add another test.
62186         * manual/install.texi (Configuring and compiling): Document
62187         general use of test-wrapper and test-wrapper-env.
62188         * INSTALL: Regenerated.
62190         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
62191         (__fma): Do not extract and scale down low bits on after-rounding
62192         systems when result rounded to normal precision would have normal
62193         exponent.
62194         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
62195         (__fmal): Do not extract and scale down low bits on after-rounding
62196         systems when result rounded to normal precision would have normal
62197         exponent.
62198         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
62199         (__fmal): Do not extract and scale down low bits on after-rounding
62200         systems when result rounded to normal precision would have normal
62201         exponent.
62202         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
62203         macro.
62204         (fma_test): Add more tests.
62205         (fma_test_towardzero): Likewise.
62206         (fma_test_downward): Likewise.
62207         (fma_test_upward): Likewise.
62209 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
62211         * sysdeps/i386/tininess.h: Renamed to ...
62212         * sysdeps/x86/tininess.h: This.
62213         * sysdeps/x86_64/tininess.h: Removed.
62215 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62217         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
62218         input.  Use $(build-program-cmd).
62219         ($(objpfx)tst-array1-static.out): Likewise.
62220         ($(objpfx)tst-array2.out): Likewise.
62221         ($(objpfx)tst-array3.out): Likewise.
62222         ($(objpfx)tst-array4.out): Likewise.
62223         ($(objpfx)tst-array5.out): Likewise.
62224         ($(objpfx)tst-array5-static.out): Likewise.
62226 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
62228         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
62229         if defined.
62231         * nss/nsswitch.h (nss_interface_function): Provide new
62232         macro for use with NSS functions.
62233         * grp/initgroups.c: Use new macro.
62234         * nss/getXXbyYY.c: Likewise.
62235         * nss/getXXbyYY_r.c: Likewise.
62236         * nss/getXXent.c: Likewise.
62237         * nss/getXXent_r.c: Likewise.
62238         * sysdeps/posix/getaddrinfo.c: Likewise.
62240 2012-10-30  Andreas Jaeger  <aj@suse.de>
62242         * po/ru.po: Update Russion translation from translation project.
62244 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
62246         [BZ #14152]
62247         [BZ #14783]
62248         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
62249         result and shift together with sticky bit instead of replicating
62250         round-to-nearest rounding.
62251         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
62252         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
62253         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
62254         missing underflow exceptions.
62255         (fma_test_towardzero): Add more tests.
62256         (fma_test_downward): Likewise.
62257         (fma_test_upward): Likewise.
62259         [BZ #14047]
62260         * sysdeps/generic/tininess.h: New file.
62261         * sysdeps/i386/tininess.h: Likewise.
62262         * sysdeps/sh/tininess.h: Likewise.
62263         * sysdeps/x86_64/tininess.h: Likewise.
62264         * stdlib/tst-strtod-underflow.c: Likewise.
62265         * stdlib/tst-tininess.c: Likewise.
62266         * stdlib/strtod_l.c: Include <tininess.h>.
62267         (round_and_return): Do not set errno for exact underflow cases.
62268         Force an underflow exception when setting errno for underflow.
62269         Determine underflow based on rounding to normal precision if
62270         TININESS_AFTER_ROUNDING.
62271         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
62272         ERANGE for exact underflow cases.
62273         * stdlib/Makefile (tests): Add tst-tininess and
62274         tst-strtod-underflow.
62275         ($(objpfx)tst-tininess): Use $(link-libm).
62276         ($(objpfx)tst-strtod-underflow): Likewise.
62278 2012-10-30  Andreas Jaeger  <aj@suse.de>
62280         [BZ#14767]
62281         * elf/Makefile (tests): Remove conditional for have-initfini-array
62282         since this is now always required and the variable does not exist
62283         anymore.
62284         (tests-static): Likewise.
62285         (modules-names): Likewise.
62287         * po/eo.po: Add Esperanto translation from translation project.
62289         * elf/tst-array1.c (fini_array): Make writeable so that it can be
62290         merged with constructor/destructor.
62291         (init_array): Likewise.
62292         * elf/tst-array2dep.c (fini_array): Likewise.
62293         (init_array): Likewise.
62295 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
62297         * manual/message.texi: Delete @cartouche tags.
62299 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
62301         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
62302         EOPNOTSUPP.
62303         * sysdeps/mach/hurd/fsync.c: Likewise.
62305         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
62306         [_POSIX_REALTIME_SIGNALS]: Change condition to
62307         [_POSIX_REALTIME_SIGNALS > 0].
62309 2012-10-27  Andreas Jaeger  <aj@suse.de>
62311         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
62312         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
62313         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
62314         [__WORDSIZE != 64]: Likewise.
62316 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
62318         *  iconvdata/tst-table.sh: Remove ${SHELL}.
62319         *  iconvdata/tst-tables.sh: Likewise.
62321 2012-10-25  David S. Miller  <davem@davemloft.net>
62323         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62324         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
62325         of strtoull.
62327         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
62328         ifunc-impl-list.c
62329         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
62330         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
62331         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
62332         file.
62334 2012-10-25  Roland McGrath  <roland@hack.frob.com>
62336         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62337         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
62338         __getdirentries.
62340 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62341             Jim Blandy  <jimb@codesourcery.com>
62343         * scripts/cross-test-ssh.sh: New file.
62344         * manual/install.texi (Configuring and compiling): Document use of
62345         cross-test-ssh.sh.
62346         * INSTALL: Regenerated.
62348 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
62350         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
62351         EOPNOTSUPP.
62353 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
62355         * Makeconfig (run-program-prefix): Fix comment.
62357 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62358             Jim Blandy  <jimb@codesourcery.com>
62360         * Makeconfig (test-wrapper): New variable,
62361         (test-wrapper-env): Likewise.
62362         [$(cross-compiling) = yes && $(test-wrapper) != ""]
62363         (run-built-tests): Define to yes.
62364         (run-program-prefix): Use $(test-wrapper).
62365         (built-program-cmd): Likewise.
62366         * Rules (make-test-out): Use $(test-wrapper-env) and
62367         $(host-built-program-cmd).
62368         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
62369         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
62370         tst-pathopt.sh.
62371         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
62372         $(test-wrapper-env) to tst-rtld-load-self.sh.
62373         ($(objpfx)order2.out): Use $(test-wrapper).
62374         ($(objpfx)tst-initorder.out): Likewise.
62375         ($(objpfx)tst-initorder2.out): Likewise.
62376         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
62377         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
62378         (test_wrapper_env): New variable.  Use it to run ld.so.
62379         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
62380         Use it to run ld.so.
62381         (test_wrapper_env): Likewise.
62382         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
62383         $(test-wrapper) to run-iconv-test.sh.
62384         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
62385         (ICONV): Use $test_wrapper.
62386         * posix/Makefile ($(objpfx)globtest.out): Pass
62387         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
62388         globtest.sh, not $(run-program-prefix).
62389         * posix/globtest.sh (run_via_rtld_prefix): New variable.
62390         (test_wrapper): Likewise.
62391         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
62392         set together with run_via_rtld_prefix.
62393         (run_program_prefix): Define in terms of test_wrapper and
62394         run_via_rtld_prefix.
62396 2012-10-24  Roland McGrath  <roland@hack.frob.com>
62398         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
62399         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
62400         Targets removed.
62402         [BZ #14743]
62403         * include/time.h: Remove librt_hidden_proto (clock_gettime).
62404         Declare __clock_getres, __clock_gettime, __clock_settime,
62405         __clock_nanosleep, and __clock_getcpuclockid.
62406         * rt/clock_gettime.c: Define __clock_gettime as an alias.
62407         Remove librt_hidden_def (clock_gettime).
62408         * sysdeps/unix/clock_gettime.c: Likewise.
62409         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
62410         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
62411         * rt/clock_getres.c: Define __clock_getres as an alias.
62412         * sysdeps/posix/clock_getres.c: Likewise.
62413         * rt/clock_settime.c: Define __clock_settime as an alias.
62414         * sysdeps/unix/clock_settime.c: Likewise.
62415         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
62416         * sysdeps/unix/clock_nanosleep.c: Likewise.
62417         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
62418         * rt/clock-compat.c: New file.
62419         * rt/Makefile (librt-routines): Add clock-compat and move
62420         $(clock-routines) to ...
62421         (routines): ... here, new variable.
62422         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
62423         Don't add get_clockfreq here.
62424         * rt/Versions (libc: GLIBC_2.17): New version set.
62425         Add clock_* symbols here.
62426         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
62427         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
62428         (GLIBC_2.17): Add clock_* symbols.
62429         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62430         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62431         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62433         Likewise.
62434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62435         Likewise.
62436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62440         * NEWS: Mention the move.
62442         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
62443         Use __open, __read, __close rather than their public counterparts.
62444         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
62445         (__get_clockfreq_via_cpuinfo): Likewise.
62446         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
62447         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
62449         * config.h.in (HAVE_IFUNC): New #undef.
62450         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
62451         was successful.
62452         * configure: Regenerated.
62454 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62456         * configure.in: Move READELF check to start of file.
62457         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
62458         libc_cv_asm_gnu_indirect_function in the process.
62459         * configure: Regenerated.
62461 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
62463         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
62464         send the output to /dev/null.
62465         (libc_cv_cc_with_libunwind): Likewise.
62466         (libc_cv_as_noexecstack): Likewise.
62467         * configure: Regenerate.
62469 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
62471         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
62473         * posix/globtest.sh (TMPDIR): Do not set.
62474         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
62475         (testout): Likewise.
62477 2012-10-24  Andreas Jaeger  <aj@suse.de>
62479         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
62480         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
62481         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
62482         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
62483         posix_fadvise64, posix_fallocate64.
62485         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
62486         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
62487         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
62488         Likewise.
62489         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
62490         Likewise.
62491         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
62493         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
62494         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
62495         <bits/fcntl-linux.h>.
62496         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
62498         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
62499         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
62500         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
62501         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
62502         [__WORDSIZE != 64]: Likewise.
62504 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62506         * Makeconfig (run-built-tests): New variable.
62507         * Rules [$(cross-compiling) = yes]: Change condition to
62508         [$(run-built-tests) = no].
62509         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
62510         to [$(run-built-tests) = yes].
62511         * elf/Makefile [$(cross-compiling) = no]: Likewise.
62512         * grp/Makefile [$(cross-compiling) = no]: Likewise.
62513         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
62514         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
62515         * intl/Makefile [$(cross-compiling) = no]: Likewise.
62516         * io/Makefile [$(cross-compiling) = no]: Likewise.
62517         * libio/Makefile [$(cross-compiling) = no]: Likewise.
62518         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
62519         * misc/Makefile [$(cross-compiling) = no]: Likewise.
62520         * posix/Makefile [$(cross-compiling) = no]: Likewise.
62521         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
62522         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
62523         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
62524         * string/Makefile [$(cross-compiling) = no]: Likewise.
62526         * posix/Makefile ($(objpfx)globtest.out): Pass
62527         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
62528         $(rtld-installed-name).
62529         * posix/globtest.sh (elf_objpfx): Remove variable.
62530         (rtld_installed_name): Likewise.
62531         (library_path): Likewise.
62532         (run_program_prefix): New variable.  Use for running globtest
62533         binary.
62535 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
62536             Joseph Myers  <joseph@codesourcery.com>
62538         * Makeconfig (host-built-program-cmd): New variable.
62539         * elf/Makefile (tst-stackguard1-ARGS): Use
62540         $(host-built-program-cmd).
62541         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
62542         (tst-spawn-ARGS): Likewise.
62543         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
62545 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
62546             Jim Blandy  <jimb@codesourcery.com>
62548         * Makeconfig (run-via-rtld-prefix): New variable.
62549         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
62550         (built-program-cmd): Likewise.
62552 2012-10-22  Andreas Jaeger  <aj@suse.de>
62554         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
62555         __O_RSYNC if it exists, otherwise to O_SYNC.
62557 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
62558             Joseph Myers  <joseph@codesourcery.com>
62560         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
62561         /dev/null.
62562         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
62563         from /dev/null
62564         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
62565         /dev/null.
62567 2012-10-22  Andreas Jaeger  <aj@suse.de>
62569         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
62570         Define always.
62571         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
62573         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
62574         bits/fcntl-linux.h.
62576         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
62577         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
62579         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
62580         to __O_LARGEFILE.
62581         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
62582         to __O_LARGEFILE.
62584 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
62585             Joseph Myers  <joseph@codesourcery.com>
62587         * config.make.in (NM): New variable.
62589 2012-10-21  Andreas Jaeger  <aj@suse.de>
62591         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
62592         definitions and declarations that are provided by
62593         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
62595 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62597         [BZ #14683]
62598         * elf/Makefile (tests-static): Add tst-leaks1-static.
62599         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
62600         ($(objpfx)tst-leaks1-static): New rule.
62601         ($(objpfx)tst-leaks1-static-mem): Likewise.
62602         (tst-leaks1-static-ENV): New macro.
62603         * elf/dl-open.c (dl_open_worker): Check the main application
62604         only if SHARED is defined.
62605         * elf/tst-leaks1-static.c: New file.
62607 2012-10-20  Andreas Jaeger  <aj@suse.de>
62609         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
62610         generic values for Linux.
62611         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
62612         and declarations that are provided by <bits/fcntl-linux.h> and
62613         include <bits/fcntl-linux.h>.
62614         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
62615         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
62617 2012-10-20  Roland McGrath  <roland@hack.frob.com>
62619         * io/fcntl.h: Move include of <bits/types.h> to the top and
62620         include it unconditionally.
62622 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
62624         * wcsmbs/Makefile (tests-ifunc): New variable.
62625         (tests): Add $(tests-ifunc).
62626         * wcsmbs/test-wcschr-ifunc.c: New file.
62627         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
62628         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
62629         * wcsmbs/test-wcslen-ifunc.c: Likewise.
62630         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
62631         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
62633         * string/Makefile (tests-ifunc): New variable.
62634         (tests): Add $(tests-ifunc).
62635         * string/test-memccpy.c (TEST_NAME): New macro.
62636         * string/test-memchr.c (TEST_NAME): Likewise.
62637         * string/test-memcmp.c (TEST_NAME): Likewise.
62638         * string/test-memcpy.c (TEST_NAME): Likewise.
62639         * string/test-memmem.c (TEST_NAME): Likewise.
62640         * string/test-memmove.c (TEST_NAME): Likewise.
62641         * string/test-memset.c (TEST_NAME): Likewise.
62642         * string/test-rawmemchr.c (TEST_NAME): Likewise.
62643         * string/test-stpcpy.c (TEST_NAME): Likewise.
62644         * string/test-stpncpy.c (TEST_NAME): Likewise.
62645         * string/test-strcasecmp.c (TEST_NAME): Likewise.
62646         * string/test-strcasestr.c (TEST_NAME): Likewise.
62647         * string/test-strcat.c (TEST_NAME): Likewise.
62648         * string/test-strchr.c (TEST_NAME): Likewise.
62649         * string/test-strcmp.c(TEST_NAME): Likewise.
62650         * string/test-strcpy.c (TEST_NAME): Likewise.
62651         * string/test-strcspn.c (TEST_NAME): Likewise.
62652         * string/test-strlen.c (TEST_NAME): Likewise.
62653         * string/test-strncasecmp.c (TEST_NAME): Likewise.
62654         * string/test-strncmp.c (TEST_NAME): Likewise.
62655         * string/test-strncpy.c (TEST_NAME): Likewise.
62656         * string/test-strnlen.c (TEST_NAME): Likewise.
62657         * string/test-strpbrk.c (TEST_NAME): Likewise.
62658         * string/test-strrchr.c (TEST_NAME): Likewise.
62659         * string/test-strspn.c (TEST_NAME): Likewise.
62660         * string/test-strstr.c (TEST_NAME): Likewise.
62661         * string/test-bcopy-ifunc.c: New file.
62662         * string/test-bzero-ifunc.c: Likewise.
62663         * string/test-memccpy-ifunc.c: Likewise.
62664         * string/test-memchr-ifunc.c: Likewise.
62665         * string/test-memcmp-ifunc.c: Likewise.
62666         * string/test-memcpy-ifunc.c: Likewise.
62667         * string/test-memmem-ifunc.c: Likewise.
62668         * string/test-memmove-ifunc.c: Likewise.
62669         * string/test-mempcpy-ifunc.c: Likewise.
62670         * string/test-memset-ifunc.c: Likewise.
62671         * string/test-rawmemchr-ifunc.c: Likewise.
62672         * string/test-stpcpy-ifunc.c: Likewise.
62673         * string/test-stpncpy-ifunc.c: Likewise.
62674         * string/test-strcasecmp-ifunc.c: Likewise.
62675         * string/test-strcasestr-ifunc.c: Likewise.
62676         * string/test-strcat-ifunc.c: Likewise.
62677         * string/test-strchr-ifunc.c: Likewise.
62678         * string/test-strchrnul-ifunc.c: Likewise.
62679         * string/test-strcmp-ifunc.c: Likewise.
62680         * string/test-strcpy-ifunc.c: Likewise.
62681         * string/test-strcspn-ifunc.c: Likewise.
62682         * string/test-strlen-ifunc.c: Likewise.
62683         * string/test-strncasecmp-ifunc.c: Likewise.
62684         * string/test-strncat-ifunc.c: Likewise.
62685         * string/test-strncmp-ifunc.c: Likewise.
62686         * string/test-strncpy-ifunc.c: Likewise.
62687         * string/test-strnlen-ifunc.c: Likewise.
62688         * string/test-strpbrk-ifunc.c: Likewise.
62689         * string/test-strrchr-ifunc.c: Likewise.
62690         * string/test-strspn-ifunc.c: Likewise.
62691         * string/test-strstr-ifunc.c: Likewise.
62693         * debug/Makefile (tests-ifunc): New variable.
62694         (tests): Add $(tests-ifunc).
62695         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
62696         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
62697         * debug/test-stpcpy_chk-ifunc.c: New file.
62698         * debug/test-strcpy_chk-ifunc.c: Likewise.
62700 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
62702         [BZ #13601]
62703         * elf/dl-load.c (open_verify): Retry read if the entire ELF
62704         header is not read in.
62706 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
62708         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
62709         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
62710         directly.  Pass built executable to script as
62711         $(built-program-cmd).
62712         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
62713         $testprogram without using LD_LIBRARY_PATH and $ldso.
62715         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
62716         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
62717         $(rtld-installed-name).
62718         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
62719         (rtld_installed_name): Likewise.
62720         (library_path): Likewise.
62721         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
62722         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
62723         $(run-program-prefix) to tst-tables.sh.
62724         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
62725         it to run tst-table-from and tst-table-to.
62726         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
62727         Pass it to tst-table.sh.
62728         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
62729         $(run-program-prefix) to tst-gettext.sh.
62730         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
62731         tst-translit.sh.
62732         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
62733         tst-gettext2.sh.
62734         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
62735         to run tst-gettext.
62736         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
62737         to run tst-gettext2.
62738         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
62739         to run tst-translit.
62740         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
62741         $(run-program-prefix) to tst-mtrace.sh.
62742         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
62743         to run tst-mtrace.
62744         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
62745         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
62746         $(rtld-installed-name).
62747         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
62748         (rtld_installed_name): Likewise.
62749         (run_program_prefix): New variable.  Use it to run wordexp-test.
62751         * Makeconfig (ARCH): Remove all definitions.
62752         (machine): Likewise.
62753         [ARCH]: Remove conditional code.
62754         [!objdir]: Give error.
62755         [!objdir] (objpfx): Remove.
62756         [!objdir] (common-objpfx): Likewise.
62757         [!objdir] (common-objdir): Likewise.
62758         * configure.in (config_makefile): Remove.  Hardcode Makefile in
62759         AC_CONFIG_FILES call.
62760         * configure: Regenerated.
62762         [BZ #13888]
62763         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
62764         or TMPDIR.
62765         (testout): Likewise.
62767         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
62768         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
62769         $(rtld-installed-name).
62770         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
62771         (rtld_installed_name): Likwise.
62772         (runit): Remove function.
62773         (run_getconf): New variable,  Use it for running getconf binary.
62775 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
62777         [BZ #14716]
62778         * string/test-memmem.c (check_result): New function.
62779         (do_one_test): Use it.
62780         (check1): New function.
62781         (test_main): Use it.
62783 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
62785         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
62787 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
62789         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
62790         (_G_LSEEK64): Likewise.
62791         (_G_MMAP64): Likewise.
62792         (_G_FSTAT64): Likewise.
62793         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
62794         (_G_LSEEK64): Likewise.
62795         (_G_MMAP64): Likewise.
62796         (_G_FSTAT64): Likewise.
62797         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
62798         unconditional.  Call __mmap64 directly.
62799         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
62800         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
62801         __lseek64 directly.
62802         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
62803         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
62804         __mmap64 directly.
62805         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
62806         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62807         __lseek64 directly.
62808         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
62809         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
62810         __lseek64 directly.
62811         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
62812         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
62813         __lseek64 directly.
62814         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
62815         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
62816         __fxstat64 directly.
62817         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
62818         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
62819         unconditional.
62820         (freopen64) [!_G_OPEN64]: Remove conditional code.
62821         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
62822         unconditional.
62823         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
62824         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
62825         unconditional.
62826         (ftello64) [!_G_LSEEK64]: Remove conditional code.
62827         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
62828         unconditional.
62829         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62830         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
62831         unconditional.
62832         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
62833         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
62834         unconditional.
62835         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62836         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
62837         unconditional.
62838         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
62839         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
62840         unconditional.
62841         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
62843 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62845         [BZ #12140]
62846         * manual/memory.texi (Malloc Tunable Parameters): Add note
62847         about free list pointers overwriting some perturb bytes.
62848         Wording suggested by Roland McGrath.
62850 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
62852         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
62853         (lgamma_test): Likewise.
62854         (tgamma_test): Likewise.
62856 2012-10-16  Florian Weimer  <fweimer@redhat.com>
62858         [BZ #14700]
62859         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
62860         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
62862 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
62864         * NEWS: Mention BZ #14716.
62865         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
62866         when removing AVAILABLE1_USES_J macro.
62868 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
62870         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
62871         (__bswap_64): __uint64_t for unsigned 64-bit int.
62873 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
62875         * include/string.h (memmem): Declare libc hidden alias.
62876         * string/memmem.c (memmem): Define libc hidden alias.
62877         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
62878         __read, __close instead of open, read, close.
62880 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
62882         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
62883         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
62884         global and hidden.
62885         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
62886         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
62887         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
62888         Likewise.
62889         (__rawmemchr_sse2): Likewise.
62890         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
62891         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
62892         (__strchr_sse2): Likewise.
62893         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
62894         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
62895         (__strcasecmp_sse2): Likewise.
62896         (__strncasecmp_sse2): Likewise.
62897         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
62898         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
62899         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
62900         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
62901         (__strrchr_sse2): Likewise.
62902         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
62903         ifunc-impl-list.c.
62904         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
62905         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
62906         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
62907         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
62908         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
62909         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
62910         * sysdeps/x86_64/multiarch/memset.S: Likewise.
62911         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
62912         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
62913         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
62914         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
62915         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
62916         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
62917         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
62918         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
62919         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
62920         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
62921         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
62922         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
62923         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
62924         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
62925         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
62926         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
62927         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
62928         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
62929         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62930         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
62931         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
62932         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
62933         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
62935         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
62936         global and hidden.
62937         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
62938         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
62939         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
62940         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
62941         Likewise.
62942         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
62943         Likewise.
62944         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
62945         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
62946         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
62947         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
62948         ifunc-impl-list.c.
62949         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
62950         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
62951         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
62952         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
62953         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
62954         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
62955         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
62956         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
62957         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
62958         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
62959         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
62960         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
62961         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
62962         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
62963         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
62964         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
62965         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
62966         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
62967         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
62968         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
62969         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
62970         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
62971         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
62972         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
62973         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
62974         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
62975         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
62976         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
62977         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
62978         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
62979         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
62980         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
62981         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
62982         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
62983         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
62984         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
62985         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
62986         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
62987         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
62988         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
62989         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
62991         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
62992         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
62993         * include/ifunc-impl-list.h: New file.
62994         * misc/ifunc-impl-list.c: Likewise.
62995         * misc/Makefile (routines): Add ifunc-impl-list.
62996         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
62997         * string/test-string.h: Include <ifunc-impl-list.h>.
62998         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
62999         TEST_NAME]: New variables.
63000         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
63001         are defined.
63002         (test_init): Call __libc_ifunc_impl_list to initialize
63003         func_list if TEST_IFUNC and TEST_NAME are defined.
63005         * string/Makefile (strop-tests): Add bcopy and bzero.
63006         * string/test-bcopy.c: New file.
63007         * string/test-bzero.c: Likewise.
63008         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
63009         defined.
63010         * string/test-memset.c: Support bzero test if TEST_BZERO is
63011         defined.
63012         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
63013         __libc_memmove.
63014         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
63015         __libc_memset.
63016         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
63017         of memset.
63019 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
63021         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
63022         * configure: Regenerated.
63024         * Makeconfig (+link-static-before-libc): Don't include
63025         $(link-static-libc).
63027         * libio/libio.h (_IO_pos_t): Remove.
63029 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63031         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
63032         McGrath.
63034 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63036         * crypt/crypt-entry.c: Include fips-private.h.
63037         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
63038         * crypt/md5c-test.c (main): Tolerate disabled MD5.
63039         * sysdeps/unix/sysv/linux/fips-private.h: New file.
63040         * sysdeps/generic/fips-private.h: New file, dummy fallback.
63042 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
63044         * crypt/crypt-private.h: Include stdbool.h.
63045         (_ufc_setup_salt_r): Return bool.
63046         * crypt/crypt-entry.c: Include errno.h.
63047         (__crypt_r): Return NULL with EINVAL for bad salt.
63048         * crypt/crypt_util.c (bad_for_salt): New.
63049         (_ufc_setup_salt_r): Check that salt is long enough and within
63050         the specified alphabet.
63051         * crypt/badsalttest.c: New file.
63052         * crypt/Makefile (tests): Add it.
63053         ($(objpfx)badsalttest): New.
63055 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
63057         * NEWS: Add entry for BZ #14602.
63059 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63061         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
63062         type-generic.
63063         * math/libm-test.inc: Update comment listing what functions and
63064         macros are tested.
63065         (isgreater_test): New function.
63066         (isgreaterequal_test): Likewise.
63067         (isless_test): Likewise.
63068         (islessequal_test): Likewise.
63069         (islessgreater_test): Likewise.
63070         (isunordered_test): Likewise.
63071         (main): Call the new functions.
63073 2012-10-09  Roland McGrath  <roland@hack.frob.com>
63075         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
63076         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
63077         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
63078         * sysdeps/i386/configure: Regenerated.
63079         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
63080         * sysdeps/mach/configure: Regenerated.
63081         * sysdeps/mach/hurd/configure: Regenerated.
63082         * sysdeps/powerpc/configure: Regenerated.
63083         * sysdeps/powerpc/powerpc32/configure: Regenerated.
63084         * sysdeps/powerpc/powerpc64/configure: Regenerated.
63085         * sysdeps/s390/s390-32/configure: Regenerated.
63086         * sysdeps/s390/s390-64/configure: Regenerated.
63087         * sysdeps/sh/configure: Regenerated.
63088         * sysdeps/sparc/configure: Regenerated.
63089         * sysdeps/unix/sysv/linux/configure: Regenerated.
63090         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
63091         * sysdeps/x86_64/configure: Regenerated.
63093         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
63094         defined.  Don't check if MAP is NULL.
63096 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
63098         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
63099         (_G_stat64): Likewise.
63100         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
63101         (_G_stat64): Likewise.
63102         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
63103         instead of struct _G_stat64.
63104         * libio/fileops.c (mmap_remap_check): Likewise.
63105         (decide_maybe_mmap): Likewise.
63106         (_IO_new_file_seekoff): Likewise.
63107         (_IO_file_stat): Likewise.
63108         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
63109         _G_off64_t.
63110         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
63111         instead of struct _G_stat64.
63112         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63114 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
63116         [BZ #14602]
63117         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63118         Replace with ...
63119         (CHECK_EOL): New macro.
63120         (two_way_short_needle): Check beginning of haystack for EOL.  Use
63121         CHECK_EOL.
63122         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63123         Replace with CHECK_EOL.
63124         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
63125         Replace with CHECK_EOL.
63127 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
63129         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
63130         type-generic.
63131         * math/libm-test.inc: Update comment listing what functions and
63132         macros are tested.
63133         (finite_test): New function.
63134         (isinf_test): Likewise.
63135         (isnan_test): Likewise.
63136         (fpclassify_test): Test subnormal input.
63137         (isfinite_test): Likewise.
63138         (isnormal_test): Likewise.
63139         (main): Call the new functions.
63141 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
63143         [BZ #14660]
63144         * Makerules (%.dynsym): Force C locale when running
63145         $(OBJDUMP) --dynamic-syms.
63147 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
63149         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
63150         <stdint.h>.
63152 2012-10-06  David S. Miller  <davem@davemloft.net>
63154         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
63155         upper 32-bits of the length value in %o2 since we use branch-on-register
63156         tests which consider the entire 64-bit register.
63158 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
63160         * string/test-strstr.c (check2): Add a test for page boundary.
63162 2012-10-05  David S. Miller  <davem@davemloft.net>
63164         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
63165         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
63166         file.
63167         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63168         sysdep_routines.
63169         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63170         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
63171         and bzero when HWCAP_SPARC_CRYPTO is present.
63173 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
63175         [BZ #14602]
63176         * string/test-strstr.c (check2): New function.
63177         (test_main): Call check2.
63179         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
63180         and bug-strchr1.
63181         * string/bug-strcasestr1.c (do_test): Moved to ...
63182         * string/test-strcasestr.c (check1): Here.  New function.
63183         (do_one_test): Break out result checking code into ...
63184         (check_result): This.  New function.
63185         (do_one_test): Call check_result.
63186         (test_main): Call check1.
63187         * string/bug-strchr1.c (do_test): Moved to ...
63188         * string/test-strchr.c (check1): Here.  New function.
63189         (do_one_test): Break out result checking code into ...
63190         (check_result): This.  New function.
63191         (do_one_test): Call check_result.
63192         (test_main): Call check1.
63193         * string/bug-strstr1.c (main): Moved to ...
63194         * string/test-strstr.c (check1): Here.  New function.
63195         (do_one_test): Break out result checking code into ...
63196         (check_result): This.  New function.
63197         (do_one_test): Call check_result.
63198         (test_main): Call check1.
63199         * string/bug-strcasestr1.c: Removed.
63200         * string/bug-strchr1.c: Likewise.
63201         * string/bug-strstr1.c: Likewise.
63203         * elf/Makefile (dl-routines): Add hwcaps.
63204         * elf/dl-support.c (_dl_important_hwcaps): Removed.
63205         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
63206         (_dl_important_hwcaps): Moved to ...
63207         * elf/dl-hwcaps.c: Here.  New file.
63208         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
63210         [BZ #14557]
63211         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
63212         if IS_IN_rtld isn't defined.
63214         * elf/dl-support.c (_dl_sysinfo_map): New.
63215         Include "get-dynamic-info.h" and "setup-vdso.h".
63216         (_dl_non_dynamic_init): Call setup_vdso.
63217         * elf/dynamic-link.h: Don't include <assert.h>.
63218         (elf_get_dynamic_info): Moved to ...
63219         * elf/get-dynamic-info.h: Here.  New file.
63220         * elf/dynamic-link.h: Include "get-dynamic-info.h".
63221         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
63222         * elf/setup-vdso.h: Here.  New file.
63223         * elf/rtld.c: Include "setup-vdso.h".
63224         (dl_main): Call setup_vdso.
63226 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
63228         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
63229         creal in comment listing functions tested.  List finite, isinf,
63230         isnan, isless, islessequal, isgreater, isgreaterequal,
63231         islessgreater, isunordered, lgamma_r and pow10 as functions and
63232         macros not tested.  Mention which functions not tested are aliases
63233         for other functions.  Fix typo.  Note that signs of NaNs are not
63234         tested.
63236         * scripts/config.guess: Update from config.git.
63237         * scripts/config.sub: Likewise.
63239 2012-10-04  Roland McGrath  <roland@hack.frob.com>
63241         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
63242         * misc/madvise.c (madvise): Renamed to __madvise.
63243         Make madvise a weak alias.
63244         * include/sys/mman.h: Declare __madvise.
63245         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
63246         * sysdeps/unix/syscalls.list
63247         (madvise): Make __madvise the strong name, and madvise a weak alias.
63248         * sysdeps/unix/sysv/linux/syscalls.list
63249         (madvise, mmap): Remove redundant entries.
63250         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
63251         * malloc/malloc.c (mtrim): Likewise.
63252         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
63254 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63256         * sysdeps/mach/hurd/dl-cache.c: File removed.
63257         * config.h.in (USE_LDCONFIG): New #undef.
63258         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
63259         * configure: Regenerated.
63260         * elf/Makefile (dl-routines): Add dl-cache only under
63261         [$(use-ldconfig) = yes].
63262         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
63263         cache on [USE_LDCONFIG].
63264         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
63265         [USE_LDCONFIG].
63266         * elf/rtld.c (dl_main): Likewise.
63268 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
63270         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
63271         _SC_LEVEL4_CACHE_LINESIZE.
63273 2012-10-03  Roland McGrath  <roland@hack.frob.com>
63275         * sysdeps/unix/bsd/confstr.h: File removed.
63277 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
63279         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
63280         sys/sdt-config.h.
63282 2012-10-02  Roland McGrath  <roland@hack.frob.com>
63284         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
63285         Make 'mapoff' field ElfW(Off) rather than off_t.
63287 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
63289         * nscd/Makefile: Remove nscd-cflags and all its users.
63290         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
63291         (CFLAGS-nonlib): Add compiler flags for nscd modules.
63293         [BZ #10631]
63294         * malloc.c (malloc_printerr): Clarify error message.
63296 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
63298         [BZ #14648]
63299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63300         Set bit_FMA_Usable if FMA is supported.
63301         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
63302         macro.
63303         (bit_FMA4_Usable): Updated.
63304         (index_FMA_Usable): New macro.
63305         (CPUID_FMA): Likewise.
63306         (HAS_FMA): Defined with bit_FMA_Usable.
63308 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63310         * bits/types.h (__swblk_t): Type removed.
63311         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
63312         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
63313         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63314         (__SWBLK_T_TYPE): Likewise.
63315         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63316         (__SWBLK_T_TYPE): Likewise.
63317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63318         (__SWBLK_T_TYPE): Likewise.
63319         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
63320         (__SWBLK_T_TYPE): Likewise.
63322 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
63323             Honza Horak <hhorak@redhat.com>
63325         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
63326         (xdr_mapname): Use YPMAXMAP as maxsize.
63327         (xdr_peername): Use YPMAXPEER as maxsize.
63328         (xdr_keydat): Use YPAXRECORD as maxsize.
63329         (xdr_valdat): Use YPMAXRECORD as maxsize.
63331 2012-10-01  Roland McGrath  <roland@hack.frob.com>
63333         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
63335         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
63336         * csu/init-first.c: ... here.
63337         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
63338         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
63339         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
63340         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
63341         * sysdeps/i386/init-first.c: File removed.
63342         * sysdeps/sh/init-first.c: File removed.
63344 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
63346         [BZ #14645]
63347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
63348         if x * y might underflow to zero and z is zero.
63349         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
63350         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63351         * math/libm-test.inc (min_subnorm_value): New variable.
63352         (fma_test): Add more tests.
63353         (fma_test_towardzero): Likewise.
63354         (fma_test_downward): Likewise.
63355         (fma_test_upward): Likewise.
63356         (initialize): Set min_subnorm_value.
63358 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
63360         [BZ #14638]
63361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
63362         0 + 0.
63363         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
63364         mode for addition resulting in exact zero.
63365         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
63366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
63367         exact 0 + 0.
63368         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
63369         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
63370         * math/libm-test.inc (fma_test): Add more tests.
63371         (fma_test_towardzero): New function.
63372         (fma_test_downward): Likewise.
63373         (fma_test_upward): Likewise.
63374         (main): Call the new functions.
63376 2012-09-28  David S. Miller  <davem@davemloft.net>
63378         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
63380 2012-09-28  Roland McGrath  <roland@hack.frob.com>
63382         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
63383         instead of SIGALRM.
63385         * sysdeps/gnu/_G_config.h: Moved to ...
63386         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
63387         * sysdeps/mach/hurd/_G_config.h: Moved to ...
63388         * sysdeps/generic/_G_config.h: ... here.
63390         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
63392         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
63394         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
63395         Conditionalize target on [libnss_test1.so-version].
63397         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
63399         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
63400         (elfobjdir): Move out of conditionals.
63402         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
63403         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
63404         (__nss_lookup_function): Conditionalize label remove_from_tree on
63405         [!DO_STATIC_NSS || SHARED], matching its only use.
63407 2012-09-28  David S. Miller  <davem@davemloft.net>
63409         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
63410         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
63411         file.
63412         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
63413         sysdep_routines.
63414         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
63415         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
63416         when HWCAP_SPARC_CRYPTO is present.
63418 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63420         * io/tst-mknodat.c: Create a FIFO instead of a socket.
63422 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
63424         [BZ #6530]
63425         * stdio-common/vfprintf.c (process_string_arg): Revert
63426         2000-07-22 change.
63428 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
63430         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
63431         for testcase.
63432         * stdio-common/tst-sprintf.c: Include <locale.h>
63433         (main): Test sprintf's handling of incomplete multibyte
63434         characters.
63436 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
63438         * elf/dl-runtime.c (VERSYMIDX): Removed.
63439         * elf/dl-version.c (VERSYMIDX): Likewise.
63440         * elf/do-rel.h (VERSYMIDX): Likewise.
63441         (VALIDX): Likewise.
63442         * elf/dynamic-link.h (VERSYMIDX): Likewise.
63443         * elf/rtld.c (VALIDX): Likewise.
63444         (ADDRIDX): Likewise.
63445         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
63446         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
63447         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
63448         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
63449         (VALIDX): Likewise.
63450         (ADDRIDX): Likewise.
63452 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63454         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
63456 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
63458         [BZ #11438]
63459         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
63460         to global scope.
63461         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
63462         addresses are in the same scope as 192.0.2/24.
63463         * posix/gai.conf: Document new scope table defaults.
63465 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63467         [BZ #5298]
63468         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
63469         for ftell.  Compute offsets from write pointers instead.
63470         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
63472 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63474         [BZ #14543]
63475         * libio/Makefile (tests): New test case tst-fseek.
63476         * libio/tst-fseek.c: New test case to verify that fseek/ftell
63477         combination works in wide mode.
63478         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
63479         state when the external buffer state changes.
63481 2012-09-27  David S. Miller  <davem@davemloft.net>
63483         [BZ #14376]
63484         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
63485         pass reloc->r_addend in as the 'high' argument to
63486         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
63488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63490 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
63492         * rt/tst-aio2.c: Include <pthread.h>.
63493         * rt/tst-aio3.c: Likewise.
63495 2012-09-27  Steve Ellcey  <sellcey@mips.com>
63497         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
63499 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
63501         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
63502         contents on [SHARED].
63504 2012-09-26  Marek Polacek  <polacek@redhat.com>
63506         [BZ #14530]
63507         [BZ #13741]
63508         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
63509         for C++ and GCC <4.3 as well as for non GCC compilers.
63511 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
63513         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63515 2012-09-25  Roland McGrath  <roland@hack.frob.com>
63517         * Makefile.in (all, install): Declare with .PHONY.
63518         Reported by Michael Hope <michael.hope@linaro.org>.
63520 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63522         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
63523         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
63524         system header.
63525         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
63526         Likewise.
63527         (sydep_routines): Add the new and the internal functions.
63528         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
63529         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
63530         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
63531         (GLIBC_2.17): Add the new function.
63532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63533         (GLIBC_2.17): Likewise.
63534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
63535         (GLIBC_2.17): Likewise.
63536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
63537         (GLIBC_2.17): Likewise.
63538         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
63540 2012-09-25  Alan Modra  <amodra@gmail.com>
63542         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
63543         Add release barrier before setting once_control to say
63544         initialisation is done.  Add hints on lwarx.  Use macro in
63545         place of isync.
63546         (clear_once_control): Add release barrier.
63548 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63550         [BZ #13629]
63551         * math/s_clog.c (__clog): Handle more values close to |z| = 1
63552         specially.
63553         * math/s_clog10.c (__clog10): Likewise.
63554         * math/s_clog10f.c (__clog10f): Likewise.
63555         * math/s_clog10l.c (__clog10l): Likewise.
63556         * math/s_clogf.c (__clogf): Likewise.
63557         * math/s_clogl.c (__clogl): Likewise.
63558         * math/Makefile (libm-calls): Add x2y2m1.
63559         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
63560         (__x2y2m1): Likewise.
63561         (__x2y2m1l): Likewise.
63562         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
63563         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
63564         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
63565         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63566         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
63567         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
63568         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
63569         * sysdeps/i386/fpu/libm-test-ulps: Update.
63570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63572         [BZ #14621]
63573         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
63574         int as type of variable DEPTH.
63575         (glob): Use size_t instead of int as type of variables NEWCOUNT
63576         and OLD_PATHC.
63578 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63580         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
63581         Add s_sincosf-sse2.
63582         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
63583         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
63584         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
63585         macros for using routine as __sincosf_ia32.
63586         Use macro for function declaration and weak_alias.
63587         * sysdeps/i386/fpu/libm-test-ulps: Update.
63589         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
63590         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63592         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
63593         subnormal argument.
63594         * math/s_cexpf.c (__cexpf): Likewise.
63595         * math/s_csinf.c (__csinf): Likewise.
63596         * math/s_csinhf.c (__csinhf): Likewise.
63597         * math/s_ctanf.c (__ctanf): Likewise.
63598         * math/s_ctanhf.c (__ctanhf): Likewise.
63599         * math/s_ccosh.c (__ccoshf): Likewise.
63600         * math/s_cexp.c (__cexpl): Likewise.
63601         * math/s_csin.c (__csin): Likewise.
63602         * math/s_csinh.c (__csinh): Likewise.
63603         * math/s_ctan.c (__ctan): Likewise.
63604         * math/s_ctanh.c (ctanh): Likewise.
63605         * math/s_ccoshl.c (__ccoshl): Likewise.
63606         * math/s_cexpl.c (__cexpl): Likewise.
63607         * math/s_csinl.c (__csinl): Likewise.
63608         * math/s_csinhl.c (__csinhl): Likewise.
63609         * math/s_ctanl.c (__ctanl): Likewise.
63610         * math/s_ctanhl.c (__ctanhl): Likewise.
63612 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
63614         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
63615         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
63616         (_IO_off_t): Define to __off_t, not _G_off_t.
63617         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
63618         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
63619         (_IO_wint_t): Define to wint_t, not _G_wint_t.
63620         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
63621         type of __dummy and __dummy2 fields.
63622         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
63623         (_G_ssize_t): Likewise.
63624         (_G_off_t): Likewise.
63625         (_G_pid_t): Likewise.
63626         (_G_uid_t): Likewise.
63627         (_G_wchar_t): Likewise.
63628         (_G_wint_t): Likewise.
63629         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
63630         (_G_ssize_t): Likewise.
63631         (_G_off_t): Likewise.
63632         (_G_pid_t): Likewise.
63633         (_G_uid_t): Likewise.
63634         (_G_wchar_t): Likewise.
63635         (_G_wint_t): Likewise.
63636         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
63637         (_G_ssize_t): Likewise.
63638         (_G_off_t): Likewise.
63639         (_G_pid_t): Likewise.
63640         (_G_uid_t): Likewise.
63641         (_G_wchar_t): Likewise.
63642         (_G_wint_t): Likewise.
63644 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63646         * malloc/arena.c: Include malloc-sysdep.h.
63647         (shrink_heap): Use check_may_shrink_heap to decide if madvise
63648         is sufficient to shrink the heap or an unmap is needed.
63649         * sysdeps/generic/malloc-sysdep.h: New file.  Define
63650         new function check_may_shrink_heap.
63651         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
63652         new function check_may_shrink_heap.
63654 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
63656         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
63657         comments.
63659 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
63661         * catgets/test-gencat.sh: Add "set -e".
63662         * elf/tst-pathopt.sh: Likewise.
63663         * grp/tst_fgetgrent.sh: Likewise.
63664         * iconvdata/run-iconv-test.sh: Likewise.
63665         * intl/tst-gettext.sh: Likewise.
63666         * intl/tst-gettext2.sh: Likewise.
63667         * intl/tst-gettext4.sh: Likewise.
63668         * intl/tst-gettext6.sh: Likewise.
63669         * intl/tst-translit.sh: Likewise.
63670         * io/ftwtest-sh: Likewise.
63671         * libio/test-freopen.sh: Likewise.
63672         * malloc/tst-mtrace.sh: Likewise.
63673         * posix/globtest.sh: Likewise.
63674         * posix/tst-getconf.sh: Likewise.
63675         * posix/wordexp-tst.sh: Likewise.
63676         * stdio-common/tst-printf.sh: Likewise.
63677         * stdio-common/tst-unbputc.sh: Likewise.
63678         * stdlib/tst-fmtmsg.sh: Likewise.
63679         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63680         * catgets/Makefile: Do not specify -e option when running
63681         testsuite shell scripts.
63682         * elf/Makefile: Likewise.
63683         * grp/Makefile: Likewise.
63684         * iconvdata/Makefile: Likewise.
63685         * intl/Makefile: Likewise.
63686         * io/Makefile: Likewise.
63687         * libio/Makefile: Likewise.
63688         * malloc/Makefile: Likewise.
63689         * posix/Makefile: Likewise.
63690         * stdio-common/Makefile: Likewise.
63691         * stdlib/Makefile: Likewise.
63692         * sysdeps/x86_64/Makefile: Likewise.
63694         * io/ftwtest-sh: Add copyright header.
63695         * posix/globtest.sh: Likewise.
63696         * posix/tst-getconf.sh: Likewise.
63697         * posix/wordexp-tst.sh: Likewise.
63698         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
63700 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
63702         [BZ #13679]
63703         * Makeconfig (+link): Defined as $(+link-static) if
63704         $(build-shared) isn't yes.
63705         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
63706         isn't yes.
63707         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
63709         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
63711         [BZ #14562]
63712         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
63713         new chunk size with MALLOC_ALIGN_MASK.
63715 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
63717         [BZ #5044]
63718         * stdio-common/printf_fphex.c: Include <stdbool.h> and
63719         <rounding-mode.h>.
63720         (__printf_fphex): Determine rounding using get_rounding_mode and
63721         round_away.
63722         * stdio-common/tst-printf-round.c (struct hex_test): New
63723         structure.
63724         (hex_tests): New variable.
63725         (test_hex_in_one_mode): New function.
63726         (do_test): Also run tests for hex float output.
63728 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
63730         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63731         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63732         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
63733         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
63734         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
63735         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
63736         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63737         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
63739 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
63741         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
63742         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
63743         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
63744         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
63746 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
63748         [BZ #14579]
63749         * elf/rtld.c (dl_main): Limit the check for self loading to normal
63750         mode only.
63751         * elf/tst-rtld-load-self.sh: New test.
63752         * elf/Makefile: Run it.
63754 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
63756         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
63757         (tst-writev-ENV): Remove.
63758         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
63760 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
63762         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
63764 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
63766         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
63767         unconditional.
63768         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
63769         Likewise.
63770         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
63771         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
63772         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
63773         Likewise.
63775 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
63777         [BZ #14587]
63778         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
63779         * config.make.in (have-cpp-asm-debuginfo): Removed.
63780         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
63781         * configure: Regenerated.
63783 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
63785         [BZ #5044]
63786         * stdio-common/printf_fp.c: Include <stdbool.h> and
63787         <rounding-mode.h>.
63788         (___printf_fp): Determine rounding using get_rounding_mode and
63789         round_away.
63790         * stdio-common/tst-printf-round.c: New file.
63791         * stdio-common/Makefile (tests): Add tst-printf-round.
63792         (link-libm): New variable.
63793         ($(objpfx)tst-printf-round): Depend in $(link-libm).
63795 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
63797         [BZ #14576]
63798         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
63799         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
63800         Likewise.
63801         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
63802         Likewise.
63804 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
63806         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
63807         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63808         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63809         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
63811 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
63813         [BZ #14518]
63814         * include/rounding-mode.h: New file.
63815         * sysdeps/generic/get-rounding-mode.h: Likewise.
63816         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
63817         * stdlib/strtod_l.c: Include <rounding-mode.h>.
63818         (MAX_VALUE): New macro.
63819         (MIN_VALUE): Likewise.
63820         (overflow_value): New function.
63821         (underflow_value): Likewise.
63822         (round_and_return): Use overflow_value and underflow_value to
63823         determine return values in overflow and underflow cases.  Use
63824         round_away to determine rounding depending on rounding mode.
63825         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
63826         determine return values in overflow and underflow cases.
63827         * stdlib/tst-strtod-round.c: Include <fenv.h>.
63828         (struct test_results): New structure.
63829         (struct test): Use struct test_results to store expected results
63830         for all rounding modes.
63831         (TEST): Include expected results for all rounding modes.
63832         (test_in_one_mode): New function.
63833         (do_test): Use test_in_one_mode to compute and check results.
63834         Check results for all rounding modes.
63835         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
63836         $(link-libm).
63838 2012-12-09  Allan McRae  <allan@archlinux.org>
63840         * sysdeps/i386/fpu/libm-test-ulps: Update
63842 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
63844         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
63845         (_G_int32_t): Likewise.
63846         (_G_uint16_t): Likewise.
63847         (_G_uint32_t): Likewise.
63848         (_G_HAVE_BOOL): Likewise.
63849         (_G_HAVE_ATEXIT): Likewise.
63850         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63851         (_G_HAVE_IO_FILE_OPEN): Likewise.
63852         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
63853         (_G_int32_t): Likewise.
63854         (_G_uint16_t): Likewise.
63855         (_G_uint32_t): Likewise.
63856         (_G_HAVE_BOOL): Likewise.
63857         (_G_HAVE_ATEXIT): Likewise.
63858         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63859         (_G_HAVE_IO_FILE_OPEN): Likewise.
63860         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
63861         (_G_int32_t): Likewise.
63862         (_G_uint16_t): Likewise.
63863         (_G_uint32_t): Likewise.
63864         (_G_HAVE_BOOL): Likewise.
63865         (_G_HAVE_ATEXIT): Likewise.
63866         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
63867         (_G_HAVE_IO_FILE_OPEN): Likewise.
63869 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
63871         * csu/libc-tls.c: Update copyright years.
63873 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
63875         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
63876         [!_G_USING_THUNKS]: Remove conditional code.
63877         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
63878         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
63880         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
63881         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
63882         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63883         (_G_VTABLE_LABEL_PREFIX): Likewise.
63884         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63885         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63886         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63887         (_G_VTABLE_LABEL_PREFIX): Likewise.
63888         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63889         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
63890         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
63891         (_G_VTABLE_LABEL_PREFIX): Likewise.
63892         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
63894 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
63896         * libio/Makefile: Include ../Makeconfig before tests.
63897         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
63898         only if $(build-shared) is yes.
63900         * iconv/gconv_db.c: Update copyright years.
63902 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63904         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
63905         unwind info if defined PIC. Fix special cases description.
63906         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
63908         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
63909         DP_HI_MASK entry.
63910         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
63912 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
63914         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
63916         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
63917         is NULL.
63919         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
63920         (LDLIBS-tst-chk4): This.
63921         (LDFLAGS-tst-chk5): Renamed to ...
63922         (LDLIBS-tst-chk5): This.
63923         (LDFLAGS-tst-chk6): Renamed to ...
63924         (LDLIBS-tst-chk6): This.
63925         (LDFLAGS-tst-lfschk4): Renamed to ...
63926         (LDLIBS-tst-lfschk4): This.
63927         (LDFLAGS-tst-lfschk5): Renamed to ...
63928         (LDLIBS-tst-lfschk5): This.
63929         (LDFLAGS-tst-lfschk6): Renamed to ...
63930         (LDLIBS-tst-lfschk6): This.
63932         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
63933         on $(common-objpfx)soversions.mk.
63935 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
63937         [BZ #10014]
63938         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
63939         example host name.
63941 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
63943         * malloc/arena.c (arena_get_retry): New function that gets
63944         another arena for the caller to try its request on.
63945         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
63946         current arena cannot fulfill the request.
63947         (__libc_memalign): Likewise.
63948         (__libc_memalign): Likewise.
63949         (__libc_pvalloc): Likewise.
63950         (__libc_calloc): Likewise.
63952 2012-09-05  John Tobey  <john.tobey@gmail.com>
63954         [BZ #13542]
63955         * manual/arith.texi (Operations on Complex): Fix description
63956         of carg branch cut.
63958 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
63960         [BZ #10014]
63961         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
63962         host name.
63964         [BZ #10038]
63965         * manual/memory.texi (Memory): Make order of menu items match
63966         order of sections.
63968 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63970         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
63971         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
63972         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
63974 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63976         * csu/libc-tls.c (static_dtv): Renamed to ...
63977         (_dl_static_dtv): This.  Make it global.
63978         (_dl_initial_dtv): Removed.
63979         (__libc_setup_tls): Updated.
63980         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
63981         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
63982         DL_INITIAL_DTV.
63984 2012-09-06  Petr Machata  <pmachata@redhat.com>
63986         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
63987         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
63988         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
63989         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
63991 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
63993         [BZ #14545]
63994         * csu/libc-tls.c (_dl_initial_dtv): New variable.
63995         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
63996         freeing dtv[-1].
63998 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
64000         [BZ #14544]
64001         * Makeconfig (link-static-before-libc): Replace $(+prector)
64002         with $(+prectorT).
64003         (link-static-after-libc): Replace $(+postctor) with
64004         $(+postctorT).
64005         (link-bounded): Replace $(+prector)/$(+postctor) with
64006         $(+prectorT)/$(+postctorT).
64007         (+prectorT): New macro.
64008         (+postctorT): Likewise.
64010 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
64012         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
64013         (round_str): Handle values above the maximum for IBM long double
64014         as inexact.
64015         * stdlib/tst-strtod-round.c (tests): Regenerated.
64017 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64019         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
64020         assembler flag.
64021         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
64022         zarch_nohighgprs around the zarch optimized routines.
64023         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
64024         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
64025         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
64026         for zarch.
64028 2012-09-05  David S. Miller  <davem@davemloft.net>
64030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64032         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
64033         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
64034         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
64035         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
64036         entries.
64038 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64040         * malloc/arena.c: Fold copyright years.
64041         * malloc/mcheck.c, malloc/memusage.c: Likewise.
64043 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64045         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
64047 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64049         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
64051 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64053         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
64054         change internal state upon failure.
64056 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
64058         * malloc/mcheck.c (mcheck_check_all): Fix typo.
64059         * malloc/memusage.c (mmap): Likewise.
64060         (mmap64, mremap): Likewise.  Adjust name in comment.
64062 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64064         * libio/fileops.c: Fix typos in comments.
64065         * libio/oldfileops.c: Likewise.
64066         * libio/wfileops.c: Likewise.
64068 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
64070         [BZ #1349]
64071         * malloc/Makefile (tests): Add tst-malloc-usable test case.
64072         (tst-malloc-usable-ENV): Set environment for test case.
64073         * malloc/hooks.c (malloc_check_get_size): New function to get
64074         requested size.
64075         * malloc/malloc.c (musable): Use malloc_check_get_size.
64076         * malloc/tst-malloc-usable.c: New test case.
64078 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64080         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
64082 2012-09-05  Allan McRae  <allan@archlinux.org>
64084         [BZ #13966]
64085         * configure.in (CXX_SYSINCLUDES): Use compiler output to
64086         determine header location.
64087         * configure: Regenerated.
64089 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
64091         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
64092         float format.
64093         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
64094         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
64095         format.
64096         (test): Regenerate.
64098 2012-09-04  David S. Miller  <davem@davemloft.net>
64100         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
64101         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
64102         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
64104 2012-09-04  Florian Weimer  <fweimer@redhat.com>
64106         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
64107         failures.
64109         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
64111 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
64113         [BZ #9914]
64114         * libio/iogetdelim.c: Include <limits.h>.
64115         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
64116         + len + 1 would overflow.
64118 2012-09-03  Andreas Jaeger  <aj@suse.de>
64120         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64121         * sysdeps/i386/fpu/libm-test-ulps: Update.
64123 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64125         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
64126         Add s_sinf-sse2, s_conf-sse2.
64128         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
64129         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
64130         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
64131         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
64133         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
64134         for using routine as __sinf_ia32.
64135         Use macro for function declaration and weak_alias.
64136         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
64137         for using routine as __cosf_ia32.
64138         Use macro for function declaration and weak_alias.
64140         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
64141         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
64143         * sysdeps/x86_64/fpu/s_sinf.S: New file.
64144         * sysdeps/x86_64/fpu/s_cosf.S: New file.
64145         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64147         * math/libm-test.inc (cos_test): Add more test cases.
64148         (sin_test): Likewise.
64149         (sincos_test): Likewise.
64151 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64153         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
64154         (IFUNC_RESOLVE): Make pointers to the specialized implementations
64155         hidden.
64156         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
64158 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
64160         [BZ #14538]
64161         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
64162         first element of the GOT.
64163         (elf_machine_load_address): Return the difference between
64164         the runtime address of _DYNAMIC and elf_machine_dynamic ().
64166 2012-09-01  Allan McRae  <allan@archlinux.org>
64168         [BZ #13412]
64169         * configure.in (AWK): Require gawk version 3.0 or later.
64170         * configure: Regenerated.
64172 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
64174         * sysdeps/unix/sysv/linux/kernel-features.h
64175         (__ASSUME_POSIX_CPU_TIMERS): Remove.
64176         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64177         [__NR_clock_getres]: Make code unconditional.
64178         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
64179         (clock_getcpuclockid): Remove code left unreachable by removal of
64180         conditionals.
64181         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
64182         code unconditional.
64183         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64184         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64185         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
64186         Make code unconditional.
64187         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
64188         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64189         * sysdeps/unix/sysv/linux/clock_settime.c
64190         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
64191         conditional code.
64192         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
64193         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
64195 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
64197         [BZ #14476]
64198         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
64199         scripts/test-installation.pl.
64201         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
64202         and $ld_so_version if it is set.
64204 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
64206         [BZ #14516]
64207         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
64208         failure if reading from procfs failed.
64209         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
64211 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64213         * sysdeps/unix/sysv/linux/kernel-features.h
64214         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
64215         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64216         Remove conditional code.
64217         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64218         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
64219         Remove conditional code.
64220         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64221         * sysdeps/unix/sysv/linux/i386/fxstat.c
64222         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64223         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64224         * sysdeps/unix/sysv/linux/i386/fxstatat.c
64225         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64226         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64227         * sysdeps/unix/sysv/linux/i386/lxstat.c
64228         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
64229         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64230         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
64231         Remove conditional code.
64232         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64233         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
64234         Remove conditional code.
64235         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64236         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
64237         <kernel-features.h>.
64238         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
64239         Remove.
64240         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
64241         Remove conditional code.
64242         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
64243         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
64244         Remove conditional.
64246 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
64248         [BZ #5400]
64249         * NEWS: Add fixed bug number.
64251 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
64253         [BZ #14519]
64254         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
64255         underflowing exponent in case of negative sign.
64256         * stdlib/tst-strtod-round-data: Add more tests.
64257         * stdlib/tst-strtod-round.c (tests): Regenerated.
64259         [BZ #3479]
64260         * stdlib/strtod_l.c (NDIG): Remove.
64261         (HEXNDIG): Likewise.
64262         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
64263         smallest representable value.
64264         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
64265         lie within an exact representation of 1/2 ulp of the result.
64266         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
64267         unconditionally.
64268         (TENS_P9_IDX): Define unconditionally.
64269         (TENS_P9_SIZE): Likewise.
64270         (TENS_P10_IDX): Likewise.
64271         (TENS_P10_SIZE): Likewise.
64272         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
64273         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
64274         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
64275         entries for 10^2^13 and 10^2^14.
64276         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
64277         (TENS_P13_IDX): Define.
64278         (TENS_P13_SIZE): Likewise.
64279         (TENS_P14_IDX): Likewise.
64280         (TENS_P14_SIZE): Likewise.
64281         (_fpioconst_pow10): Change array size to
64282         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
64283         unconditional.
64284         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
64285         1024]: Add entries for 10^2^13 and 10^2^14.
64286         [LAST_POW10 > _LAST_POW10]: Remove #error.
64287         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
64288         (_fpioconst_pow10): Change array size to
64289         FPIOCONST_POW10_ARRAY_SIZE.
64290         * stdlib/gen-fpioconst.c: New file.
64291         * stdlib/gen-tst-strtod-round.c: Likewise.
64292         * stdlib/tst-strtod-round-data: Likewise.
64293         * stdlib/tst-strtod-round.c: Likewise.
64294         * stdlib/Makefile (tests): Add tst-strtod-round.
64296         [BZ #14459]
64297         * stdlib/strtod_l.c: Include <stdint.h>.
64298         (NDEBUG): Do not define.
64299         (round_and_return): Change EXPONENT parameter to type intmax_t.
64300         Rearrange calculations to avoid internal overflow possibilities.
64301         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
64302         Rearrange calculations to avoid internal overflow possibilities.
64303         Assert that number fits inside MPNSIZE limbs.
64304         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
64305         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
64306         calculations and add assertions to avoid internal overflow
64307         possibilities.  Add casts to avoid signed/unsigned operations.
64308         * stdlib/tst-strtod-overflow.c: New file.
64309         * stdlib/Makefile (tests): Add tst-strtod-overflow.
64311 2012-08-25  Marek Polacek  <polacek@redhat.com>
64313         * time/time.h: Fix some typos in comments.
64315 2012-08-23  Roland McGrath  <roland@hack.frob.com>
64317         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
64318         * posix/tst-rfc3484-2.c: Likewise.
64319         * posix/tst-rfc3484-3.c: Likewise.
64321 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
64323         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
64324         (EF_ARM_ABI_FLOAT_HARD): Likewise.
64326 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
64328         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
64329         #include of fxstatat64.c.
64331 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64333         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
64334         * shadow/getspent_r.c: Likewise.
64335         * shadow/getspnam.c: Likewise.
64336         * shadow/getspnam_r.c: Likewise.
64337         * gshadow/getsgent.c: Likewise.
64338         * gshadow/getsgent_r.c: Likewise.
64339         * gshadow/getsgnam.c: Likewise.
64340         * gshadow/getsgnam_r.c: Likewise.
64341         * inet/getnetbyad.c: Likewise.
64342         * inet/getnetbyad_r.c: Likewise.
64343         * inet/getnetbynm.c: Likewise.
64344         * inet/getnetbynm_r.c: Likewise.
64345         * inet/getnetent.c: Likewise.
64346         * inet/getnetent_r.c: Likewise.
64347         * inet/getproto.c: Likewise.
64348         * inet/getproto_r.c: Likewise.
64349         * inet/getprtent.c: Likewise.
64350         * inet/getprtent_r.c: Likewise.
64351         * inet/getprtname.c: Likewise.
64352         * inet/getprtname_r.c: Likewise.
64353         * inet/getrpcbyname.c: Likewise.
64354         * inet/getrpcbyname_r.c: Likewise.
64355         * inet/getrpcbynumber.c: Likewise.
64356         * inet/getrpcbynumber_r.c: Likewise.
64357         * inet/getrpcent.c: Likewise.
64358         * inet/getrpcent_r.c: Likewise.
64359         * inet/getaliasent.c: Likewise.
64360         * inet/getaliasent_r.c: Likewise.
64361         * inet/getaliasname.c: Likewise.
64362         * inet/getaliasname_r.c: Likewise.
64363         * nscd/getgrgid_r.c: Likewise.
64364         * nscd/getgrnam_r.c: Likewise.
64365         * nscd/gethstbyad_r.c: Likewise.
64366         * nscd/gethstbynm3_r.c: Likewise.
64367         * nscd/getpwnam_r.c: Likewise.
64368         * nscd/getpwuid_r.c: Likewise.
64369         * nscd/getsrvbynm_r.c: Likewise.
64370         * nscd/getsrvbypt_r.c: Likewise.
64371         * nscd/gai.c: Likewise.
64373         * configure.in (build_nscd): New substituted variable, set
64374         by --disable-build-nscd and defaults to $use_nscd.
64375         * configure: Regenerated.
64376         * config.make.in (build-nscd): New substituted variable.
64377         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
64378         Change conditional to require [$(build-nscd) = yes] as well.
64379         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
64381         [BZ# 13696]
64382         * configure.in (use_nscd): New substituted variable, set by
64383         --disable-nscd.  If enabled, define USE_NSCD.
64384         * configure: Regenerated.
64385         * config.h.in: Add USE_NSCD.
64386         * config.make.in (use-nscd): New substituted variable.
64387         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
64388         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
64389         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
64390         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
64391         (CFLAGS-getgrnam_r.c): Likewise.
64392         (CFLAGS-initgroups.c): Likewise.
64393         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
64394         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
64395         Variables removed.
64396         * inet/getnetgrent_r.c
64397         (nscd_setnetgrent): New function, broken out of ...
64398         (setnetgrent): ... here.  Call it.
64399         (innetgr): Conditionalize nscd bits on [USE_NSCD].
64400         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
64401         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
64402         * nscd/Makefile (routines, aux): Move definitions after include of
64403         Makeconfig.  Conditionalize on [$(use-nscd) != no].
64404         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
64405         Conditionalize on [USE_NSCD].
64406         (is_nscd, nscd_init_cb): Likewise.
64407         (nss_load_library): Conditionalize init callback on [USE_NSCD].
64408         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
64409         * nss/nss_db/db-init.c: Likewise.
64410         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
64411         [USE_NSCD].
64412         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
64413         (make_request): Use it.
64414         (cache_valid_p): New function.
64415         (__check_pf): Use it.
64416         * NEWS: Add item for --disable-nscd.
64418 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
64420         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
64421         to support sed >= 4.2.1-20-ga9bf076.
64422         * configure: Regenerated.
64424 2012-08-22  Roland McGrath  <roland@hack.frob.com>
64426         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
64427         Conditionalize whole body on [IREL].
64429 2012-08-22  Jeff Law <law@redhat.com>
64431         [BZ #14505]
64432         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
64433         if the family is PF_UNSPEC.
64435 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
64437         * Makerules (lib-version): Rename from V.
64438         (install-lib-nosubdir): Change V to lib-version.
64440 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
64442         [BZ #14252]
64443         * powerpc32/power6/wcschr.c: New file.
64444         * powerpc32/power6/wcscpy.c: New file.
64445         * powerpc32/power6/wcsrchr.c: New file.
64446         * powerpc64/power6/wcschr.c: New file.
64447         * powerpc64/power6/wcscpy.c: New file.
64448         * powerpc64/power6/wcsrchr.c: New file.
64450 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64452         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
64453         (two_way_short_needle): Use it.
64454         * string/strstr.c (AVAILABLE1_USES_J): Define.
64455         * string/strcasestr.c: Likewise.
64457         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
64458         array references.
64459         * string/strcasestr.c (TOLOWER): Make side-effect safe.
64461         [BZ #11607]
64462         * NEWS: Add an entry.
64463         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
64464         define their defaults.
64465         (two_way_short_needle): Detect end-of-string on-the-fly.
64466         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
64467         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
64468         * string/bug-strcasestr1.c: New test.
64469         * string/Makefile: Run it.
64471 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
64473         [BZ #11607]
64474         * string/str-two-way.h (two_way_short_needle): Optimize matching of
64475         the first character.
64477 2012-08-21  Roland McGrath  <roland@hack.frob.com>
64479         * csu/elf-init.c (__libc_csu_irel): Function removed.
64480         * csu/libc-start.c (apply_irel): New function.
64481         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
64483 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
64485         * sysdeps/unix/sysv/linux/kernel-features.h
64486         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
64487         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
64488         <kernel-features.h>.
64489         [__NR_fadvise64_64]: Make code unconditional.
64490         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
64491         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64492         !__NR_fadvise64_64)]: Likewise.
64493         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
64494         !__NR_fadvise64_64))]: Likewise.
64495         [__NR_fadvise64]: Make code unconditional.
64496         [!__NR_fadvise64]: Remove conditional code.
64497         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
64498         <kernel-features.h>.
64499         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64500         unconditional.
64501         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64502         conditional code.
64503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
64504         not include <kernel-features.h>.
64505         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64506         unconditional.
64507         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64508         conditional code.
64509         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
64510         include <kernel-features.h>.
64511         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
64512         unconditional.
64513         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
64514         conditional code.
64516 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
64518         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
64519         slight instruction rearrangements per scrollpipe analysis.
64520         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
64522 2012-08-20  Roland McGrath  <roland@hack.frob.com>
64524         * manual/syslog.texi (syslog; vsyslog, closelog):
64525         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
64526         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
64528         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
64529         DSOCAPS to match condition on defining it.
64531 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
64533         * sysdeps/unix/sysv/linux/kernel-features.h
64534         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
64535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
64536         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64537         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
64539         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64540         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
64542         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
64543         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
64545         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
64546         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
64548         * sysdeps/unix/sysv/linux/kernel-features.h
64549         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
64550         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
64551         unconditional.
64552         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64553         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
64554         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64555         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64556         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
64557         Make code unconditional.
64558         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64559         (__mmap64) [!__NR_mmap2]: Likewise.
64560         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
64561         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
64562         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64563         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
64564         [__NR_mmap2]: Make code unconditional.
64565         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
64566         (__mmap64) [!__NR_mmap2]: Likewise.
64568 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64570         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
64572 2012-08-18  Andreas Jaeger  <aj@suse.de>
64574         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
64576 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64578         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
64579         * include/unistd.h (__have_sock_cloexec): Likewise.
64580         (__have_pipe2): Likewise.
64581         (__have_dup3): Likewise.
64583 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
64585         [BZ #9685]
64586         * include/unistd.h (__have_pipe2): Change define into an extern int.
64587         (__have_dup3): Likewise.
64588         * socket/have_sock_cloexec.c: Include fcntl.h.
64589         (__have_pipe2): New variable.
64590         (__have_dup3): Likewise.
64592 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
64594         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
64596 2012-08-17  Marek Polacek  <polacek@redhat.com>
64598         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
64599         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
64601 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64603         * configure.in: Add AC_SUBST for sysheaders.
64604         * configure: Regenerated.
64605         * config.make.in (sysheaders): New substituted variable.
64607         * sysdeps/unix/mkfifo.c: Moved ...
64608         * sysdeps/posix/mkfifo.c: ... here.
64609         * sysdeps/unix/mkfifoat.c: Moved ...
64610         * sysdeps/posix/mkfifoat.c: ... here.
64612         * sysdeps/unix/utime.c: Moved ...
64613         * sysdeps/posix/utime.c: ... here.
64615         * sysdeps/unix/time.c: Moved ...
64616         * sysdeps/posix/time.c: ... here.
64617         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
64618         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
64620         * sysdeps/unix/nice.c: Moved ...
64621         * sysdeps/posix/nice.c: ... here.
64623         * sysdeps/unix/alarm.c: Moved ...
64624         * sysdeps/posix/alarm.c: ... here.
64626         * intl/Makefile ($(codeset_mo)): Depend on the input file.
64628 2012-08-17  Jeff Law <law@redhat.com>
64630         * intl/Makefile (codeset_mo): New variable.
64631         ($(codeset_mo)): New target.
64632         (tst-codeset.out): Depend on that.  Remove explicit rule.
64633         (tst-gettext3.out, tst-gettext5.out): Likewise.
64634         (LOCPATH-ENV, tst-codeset-ENV): New variables.
64635         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
64636         * intl/tst-codeset.sh: Remove.
64637         * intl/tst-gettext3.sh: Likewise.
64638         * intl/tst-gettext5.sh: Likewise.
64640 2012-08-17  Roland McGrath  <roland@hack.frob.com>
64642         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
64643         * sysdeps/unix/syscalls.list: ... here.
64645         * sysdeps/posix/getaddrinfo.c
64646         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
64647         (gaiconf_init, gaiconf_reload): Use them.
64648         [!_STATBUF_ST_NSEC]
64649         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
64650         Define using time_t rather than struct timespec.
64652         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
64653         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
64654         Macros removed.
64655         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
64656         [!NO_THREADS].
64657         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
64658         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
64659         Likewise.
64661         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
64662         __libc_cleanup_push argument.
64664         * bits/param.h: New file.
64665         * misc/sys/param.h: New file.
64666         * include/sys/param.h: New file.
64667         * misc/Makefile (headers): Add bits/param.h.
64668         * sysdeps/generic/sys/param.h: File removed.
64669         * sysdeps/unix/sysv/linux/bits/param.h: New file.
64670         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
64671         * sysdeps/mach/hurd/bits/param.h: New file.
64672         * sysdeps/mach/hurd/sys/param.h: File removed.
64674         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
64675         last change.
64677         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
64678         [_IO_MTSAFE_IO].
64679         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
64680         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
64681         New macros.
64683         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
64684         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
64685         rather than -D_IO_MTSAFE_IO conditionally.
64686         * stdio-common/Makefile (CPPFLAGS): Likewise.
64687         * wcsmbs/Makefile (CPPFLAGS): Likewise.
64688         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
64689         Use $(libio-mtsafe).
64690         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
64691         of -D_IO_MTSAFE_IO.
64692         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
64693         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
64694         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
64695         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
64696         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
64697         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
64698         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
64699         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
64700         (CFLAGS-fread_u_chk.c): Likewise.
64701         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
64702         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
64703         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
64704         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
64705         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
64706         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
64707         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
64708         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
64709         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
64711         * libio/Makefile: Test [$(libc-reentrant) = yes]
64712         instead of [$(filter %REENTRANT, $(defines)) nonempty].
64714         * Makeconfig
64715         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
64716         * sysdeps/pthread/configure: File removed.
64717         * sysdeps/pthread/Makeconfig: New file.
64718         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
64719         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
64721 2012-08-16  Gary Benson  <gbenson@redhat.com>
64723         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
64724         unmapping the first object in a namespace.
64726 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64728         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
64729         (__internal_setnetgrent): ... this.  Add internal_function to
64730         definition.  Add libc_hidden_def.
64731         (setnetgrent): Update caller.
64732         (internal_endnetgrent): Renamed to ...
64733         (__internal_endnetgrent): ... this.  Add internal_function to
64734         definition.  Add libc_hidden_def.
64735         (endnetgrent): Update caller.
64736         (internal_getnetgrent_r): Renamed to ...
64737         (__internal_getnetgrent_r): ... this.  Add internal_function to
64738         definition.  Add libc_hidden_def.
64739         (__getnetgrent_r): Update caller.
64740         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
64742 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64744         * stdlib/longlong.h: Update from GCC.
64746 2012-08-16  Roland McGrath  <roland@hack.frob.com>
64748         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
64749         on _QL, which is set by umul_ppmm but never used.
64750         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
64751         variables, which are set by GMP macros but never used.
64752         * stdio-common/_itowa.c (_itowa): Likewise.
64753         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
64754         * stdlib/mod_1.c (mpn_mod_1): Likewise.
64756 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
64758         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
64759         struct La_sh_regs is not constant.
64760         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
64761         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
64762         and struct La_sparc64_regs are not constant.
64764 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
64766         * sysdeps/unix/sysv/linux/kernel-features.h
64767         (__ASSUME_POSIX_TIMERS): Remove.
64768         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64769         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64770         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
64771         Make code unconditional.
64772         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64773         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
64774         Make code unconditional.
64775         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64776         * sysdeps/unix/sysv/linux/clock_nanosleep.c
64777         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
64778         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64779         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
64780         Make code unconditional.
64781         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
64782         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
64783         (__libc_missing_posix_timers): Remove.
64785 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64787         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
64788         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
64790         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
64792         * elf/dl-sym.c: Include <stdlib.h>.
64794         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
64795         constants, which avoids warnings in 32-bit builds.
64797         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
64798         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
64800         * misc/lseek.c: File moved to ...
64801         * io/lseek.c: ... here.
64803         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
64805         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
64806         shifting LEN more than 31 bits at once.
64808 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
64810         [BZ #14195]
64811         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
64812         segmentation fault for a case of two empty input strings.
64813         * string/test-strncasecmp.c (check1): Renamed to...
64814         (bz12205): ...this.
64815         (bz14195): Add new testcase for two empty input strings and N > 0.
64816         (test_main): Call new testcase, adapt for renamed function.
64818 2012-08-15  Andreas Jaeger  <aj@suse.de>
64820         [BZ #14090]
64821         * crypt/md5test2.c: New test, based on test supplied by Serge
64822         Belyshev <belyshev@depni.sinp.msu.ru>.
64823         * crypt/Makefile (xtests): Add md5test-giant..
64824         * crypt/Makefile ($(objpfx)md5test-giant): Add.
64826 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
64828         [BZ #14090]
64829         * crypt/md5.c (md5_process_block): Don't assume the buffer
64830         length is less than 2**32.
64831         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
64832         length is less than 2**64.
64834 2012-08-15  Roland McGrath  <roland@hack.frob.com>
64836         * string/str-two-way.h: Include <sys/param.h>.
64837         (MAX): Macro removed.
64839         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
64840         Move #define and #undef of memmove to just before and after
64841         including <string.h>.
64843         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
64844         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
64845         and after including <string.h>.  Move declarations of
64846         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
64847         to before #include "string/memmove.c".
64849         * include/dirent.h: Declare __getdirentries.
64851         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
64852         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
64854 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
64856         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
64857         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
64858         * sysdeps/i386/configure: Regenerated.
64859         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
64860         STABS_CURRENT_FILE, and STABS_FUN.
64861         (END): Remove call to STABS_FUN_END.
64862         (STABS_CURRENT_FILE1): Delete.
64863         (STABS_CURRENT_FILE): Likewise.
64864         (STABS_FUN): Likewise.
64865         (STABS_FUN_END): Likewise.
64866         (STABS_FUN2): Likewise.
64867         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
64868         * sysdeps/x86_64/configure: Regenerated.
64870 2012-08-14  Roland McGrath  <roland@hack.frob.com>
64872         * elf/dl-open.c: Include <atomic.h>.
64873         * elf/dl-lookup.c: Likewise.
64875 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
64877         * sysdeps/unix/sysv/linux/kernel-features.h
64878         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
64879         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
64880         unconditionally.
64881         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
64882         unconditionally.
64883         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
64884         condition on __ASSUME_CLONE_THREAD_FLAGS.
64886 2012-08-14  Andreas Jaeger  <aj@suse.de>
64888         * sysdeps/i386/fpu/libm-test-ulps: Update.
64890 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
64892         * include/atomic.h (atomic_exchange_and_add): Split into ...
64893         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
64894         New atomic macros.
64896 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
64898         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64900 2012-08-13  Jeff Law <law@redhat.com>
64902         * manual/stdio.texi (snprintf): Clarify handling of the trailing
64903         null byte in the output string.
64905 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
64907         * sysdeps/unix/sysv/linux/kernel-features.h
64908         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
64909         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
64910         (__ASSUME_ARG_MAX_STACK_BASED): Define.
64911         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
64912         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
64913         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
64914         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
64916 2012-08-09  Jeff Law <law@redhat.com>
64918         [BZ #13939]
64919         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
64920         When avoid_arena is set, don't retry in the that arena.  Pick the
64921         next one, whatever it might be.
64922         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
64923         (arena_lock): Pass in new parameter to arena_get2.
64924         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
64925         arena_get2.
64926         (__libc_malloc): Unify retrying after main arena failure with
64927         __libc_memalign version.
64928         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
64930 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
64932         [BZ #14166]
64933         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
64934         to __redirect_strstr.
64935         (__strstr_sse42): Use typeof __redirect_strstr.
64936         (__strstr_ia32): Likewise.
64937         (__libc_strstr): New prototype.
64938         (strstr): Renamed to ...
64939         (__libc_strstr): This.
64940         (strstr): New strong alias of __libc_strstr.
64941         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
64942         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
64943         __redirect_time.
64944         Include <time.h>.
64945         (__libc_time): New prototype.
64946         (time_ifunc): Replace time with __libc_time.
64947         (time): New strong alias and hidden definition of __libc_time.
64948         (__GI_time): Remove strong alias.
64949         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
64950         Include <stddef.h>.
64951         (memmove): Redefined to __redirect_memmove.
64952         (__memmove_sse2): Use typeof __redirect_memmove.
64953         (__memmove_ssse3): Likewise.
64954         (__memmove_ssse3_back): Likewise.
64955         (__libc_memmove): New prototype.
64956         (memmove): Renamed to ...
64957         (__libc_memmove): This.
64958         (memmove): New strong alias of __libc_memmove.
64960 2012-08-08  Mark Salter  <msalter@redhat.com>
64962         * elf/elf.h
64963         (R_MN10300_TLS_GD): Define.
64964         (R_MN10300_TLS_LD): Likewise.
64965         (R_MN10300_TLS_LDO): Likewise.
64966         (R_MN10300_TLS_GOTIE): Likewise.
64967         (R_MN10300_TLS_IE): Likewise.
64968         (R_MN10300_TLS_LE): Likewise.
64969         (R_MN10300_TLS_DTPMOD): Likewise.
64970         (R_MN10300_TLS_DTPOFF): Likewise.
64971         (R_MN10300_TLS_TPOFF): Likewise.
64972         (R_MN10300_SYM_DIFF): Likewise.
64973         (R_MN10300_ALIGN): Likewise.
64974         (R_MN10300_NUM): Update.
64976 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
64978         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
64979         Remove.
64981 2012-08-08  Roland McGrath  <roland@hack.frob.com>
64983         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
64985         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
64986         sysdeps/unix -> sysdeps/posix move.
64987         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64989 2012-08-07      Allan McRae     <allan@archlinux.org>
64991         [BZ #14303]
64992         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
64993         (SUNOS_CPP): Likewise.
64994         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
64995         not found.
64996         (open_input): Call CPP using execvp.
64998 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65000         * sysdeps/unix/sysv/linux/kernel-features.h
65001         (__ASSUME_PROT_GROWSUPDOWN): Remove.
65002         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65003         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65004         (__ASSUME_WAITID_SYSCALL): Likewise.
65005         * sysdeps/unix/sysv/linux/dl-execstack.c
65006         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
65007         code unconditional.
65008         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
65009         conditional code.
65010         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
65011         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
65012         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
65013         code.
65014         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
65015         unconditional.
65016         [__ASSUME_WAITID_SYSCALL]: Likewise.
65017         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
65019 2012-08-07  Roland McGrath  <roland@hack.frob.com>
65021         * sysdeps/unix/closedir.c: Renamed to ...
65022         * sysdeps/posix/closedir.c: ... here.
65023         * sysdeps/unix/dirfd.c: Renamed to ...
65024         * sysdeps/posix/dirfd.c: ... here.
65025         * sysdeps/unix/dirstream.h: Renamed to ...
65026         * sysdeps/posix/dirstream.h: ... here.
65027         * sysdeps/unix/fdopendir.c: Renamed to ...
65028         * sysdeps/posix/fdopendir.c: ... here.
65029         * sysdeps/unix/opendir.c: Renamed to ...
65030         * sysdeps/posix/opendir.c: ... here.
65031         * sysdeps/unix/readdir.c: Renamed to ...
65032         * sysdeps/posix/readdir.c: ... here.
65033         * sysdeps/unix/readdir_r.c: Renamed to ...
65034         * sysdeps/posix/readdir_r.c: ... here.
65035         * sysdeps/unix/rewinddir.c: Renamed to ...
65036         * sysdeps/posix/rewinddir.c: ... here.
65037         * sysdeps/unix/seekdir.c: Renamed to ...
65038         * sysdeps/posix/seekdir.c: ... here.
65039         * sysdeps/unix/telldir.c: Renamed to ...
65040         * sysdeps/posix/telldir.c: ... here.
65041         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
65042         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
65043         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
65044         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
65046         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
65047         * bits/fcntl.h: ... here.
65049         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
65050         not 0.
65051         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
65052         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
65053         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
65054         (struct flock): Move l_start, l_len to the beginning.
65055         Use __pid_t for l_pid.
65056         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
65057         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
65058         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
65059         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
65060         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
65061         [__USE_LARGEFILE64] (struct flock64): New type.
65062         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
65064         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
65065         * bits/dirent.h: ... here.
65067         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
65068         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
65070 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
65072         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65073         Change from 2.6.0 to 2.6.16.
65074         * sysdeps/unix/sysv/linux/configure: Regenerated.
65075         * sysdeps/unix/sysv/linux/kernel-features.h
65076         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
65077         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
65078         version.
65079         (__ASSUME_UTIMES): Likewise.
65080         (__ASSUME_CLONE_STOPPED): Remove.
65081         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
65082         architectures, not kernel version.
65083         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
65084         (__ASSUME_NO_CLONE_DETACHED): Likewise.
65085         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
65086         (__ASSUME_WAITID_SYSCALL): Likewise.
65087         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
65088         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
65089         * README: State 2.6.16 as minimum Linux kernel version.  Do not
65090         refer to older versions.
65092 2012-08-06  Roland McGrath  <roland@hack.frob.com>
65094         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
65095         Define alphasort64 as an alias.
65096         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
65097         Define versionsort64 as an alias.
65098         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
65099         Define scandir64 as an alias.
65100         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
65101         Define scandirat64 as an alias.
65102         * dirent/alphasort64.c (alphasort64):
65103         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
65104         * dirent/versionsort64.c: Likewise.
65105         * dirent/scandir64.c: Likewise.
65106         * dirent/scandirat64.c: Likewise.
65107         * sysdeps/wordsize-64/alphasort.c: File removed.
65108         * sysdeps/wordsize-64/alphasort64.c: File removed.
65109         * sysdeps/wordsize-64/scandir.c: File removed.
65110         * sysdeps/wordsize-64/scandir64.c: File removed.
65111         * sysdeps/wordsize-64/scandirat.c: File removed.
65112         * sysdeps/wordsize-64/scandirat64.c: File removed.
65113         * sysdeps/wordsize-64/versionsort.c: File removed.
65114         * sysdeps/wordsize-64/versionsort64.c: File removed.
65115         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
65116         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
65117         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
65118         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
65119         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
65120         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
65121         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
65122         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
65124         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
65125         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65126         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
65127         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65128         [defined __arch64__ || defined __sparcv9]
65129         (__INO_T_MATCHES_INO64_T): New macro.
65130         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65131         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
65132         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
65133         * sysdeps/unix/sysv/linux/bits/dirent.h
65134         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
65135         (_DIRENT_MATCHES_DIRENT64): New macro.
65137         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
65138         Define lockf64 as an alias.
65139         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
65140         Define fseeko64 as an alias.
65141         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
65142         Define ftello64 as an alias.
65143         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
65144         Define _IO_fgetpos64 and fgetpos64 as aliases.
65145         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
65146         Define _IO_fsetpos64 and fsetpos64 as aliases.
65147         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
65148         Conditionalize body on this.
65149         * libio/fseeko64.c: Likewise.
65150         * libio/ftello64.c: Likewise.
65151         * libio/iofgetpos64.c: Likewise.
65152         * libio/iofsetpos64.c: Likewise.
65153         * sysdeps/wordsize-64/lockf.c: File removed.
65154         * sysdeps/wordsize-64/lockf64.c: File removed.
65155         * sysdeps/wordsize-64/fseeko.c: File removed.
65156         * sysdeps/wordsize-64/fseeko64.c: File removed.
65157         * sysdeps/wordsize-64/ftello.c: File removed.
65158         * sysdeps/wordsize-64/ftello64.c: File removed.
65159         * sysdeps/wordsize-64/iofgetpos.c: File removed.
65160         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
65161         * sysdeps/wordsize-64/iofsetpos.c: File removed.
65162         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
65163         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
65164         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
65165         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
65166         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
65167         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
65168         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
65169         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
65170         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
65171         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
65172         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
65174         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65175         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
65176         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
65177         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65178         [defined __arch64__ || defined __sparcv9]
65179         (__OFF_T_MATCHES_OFF64_T): New macro.
65180         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
65181         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
65182         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65183         (__OFF_T_MATCHES_OFF64_T): New macro.
65185 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65187         * stdlib/secure-getenv.c (__secure_getenv): Replace
65188         GLIBC_2_16 with GLIBC_2_17.
65190 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
65192         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
65193         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65195 2012-08-03  David S. Miller  <davem@davemloft.net>
65197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65199 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
65202         Remove.
65203         (__ASSUME_CORRECT_SI_PID): Likewise.
65204         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
65205         (__ASSUME_TMPFS_NAME): Likewise.
65206         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
65207         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
65208         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
65209         (HAVE_AUX_SECURE): Make definition unconditional.
65210         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
65211         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
65213 2012-08-03  Roland McGrath  <roland@hack.frob.com>
65215         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
65216         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
65217         * sysdeps/mach/hurd/eloop-threshold.h: New file.
65218         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65219         __eloop_threshold instead of SYMLOOP_MAX.
65221         * sysdeps/generic/eloop-threshold.h: New file.
65222         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
65223         of MAXSYMLINKS.
65224         * elf/chroot_canon.c (chroot_canon): Likewise.
65226 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
65228         [BZ #13717]
65229         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65230         Change to 2.6.0 everywhere.
65231         * sysdeps/unix/sysv/linux/configure: Regenerated.
65232         * sysdeps/unix/sysv/linux/kernel-features.h
65233         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
65234         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
65235         kernel versions.
65236         (__ASSUME_POSIX_TIMERS): Define unconditionally.
65237         (__ASSUME_FUTEX_REQUEUE): Remove.
65238         (__ASSUME_STATFS64): Define unconditionally.
65239         (__ASSUME_AT_SECURE): Likewise.
65240         (__ASSUME_CORRECT_SI_PID): Likewise.
65241         (__ASSUME_TGKILL): Define without depending on kernel version for
65242         i386.
65243         (__ASSUME_UTIMES): Likewise.
65244         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
65245         kernel version.
65246         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
65247         (__ASSUME_TMPFS_NAME): Likewise.
65248         * README: Update reference to Linux kernel versions.
65250 2012-08-02  Marek Polacek  <polacek@redhat.com>
65252         [BZ# 14150]
65253         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
65254         libc_cv_asm_type_prefix with %.
65255         * configure: Regenerated.
65256         * include/libc-symbols.h: Remove comment about
65257         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65258         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
65259         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
65260         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
65261         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
65262         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
65263         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
65264         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
65265         * elf/tst-unique2mod1.c: Likewise.
65266         * elf/tst-unique1mod2.c: Likewise.
65267         * elf/tst-unique1mod1.c: Likewise.
65268         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
65269         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
65270         Replace ASM_TYPE_DIRECTIVE with .type.
65271         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65272         * sysdeps/i386/sysdep.h: Likewise.
65273         * sysdeps/x86_64/sysdep.h: Likewise.
65274         * sysdeps/sh/sysdep.h: Likewise.
65275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65276         Do not define ASM_TYPE_DIRECTIVE.
65277         * sysdeps/powerpc/sysdep.h: Likewise.
65278         * sysdeps/powerpc/powerpc32/sysdep.h:
65279         Replace ASM_TYPE_DIRECTIVE with .type.
65280         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
65281         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65282         * sysdeps/i386/fpu/e_powf.S: Likewise.
65283         * sysdeps/i386/fpu/e_expl.S: Likewise.
65284         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
65285         * sysdeps/i386/fpu/e_acosh.S: Likewise.
65286         * sysdeps/i386/fpu/e_pow.S: Likewise.
65287         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
65288         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
65289         * sysdeps/i386/fpu/s_expm1.S: Likewise.
65290         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
65291         * sysdeps/i386/fpu/e_log2.S: Likewise.
65292         * sysdeps/i386/fpu/e_log2l.S: Likewise.
65293         * sysdeps/i386/fpu/e_scalb.S: Likewise.
65294         * sysdeps/i386/fpu/e_powl.S: Likewise.
65295         * sysdeps/i386/fpu/e_log10f.S: Likewise.
65296         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
65297         * sysdeps/i386/fpu/e_logl.S: Likewise.
65298         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
65299         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
65300         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
65301         * sysdeps/i386/fpu/e_log2f.S: Likewise.
65302         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
65303         * sysdeps/i386/fpu/e_log.S: Likewise.
65304         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
65305         * sysdeps/i386/fpu/e_logf.S: Likewise.
65306         * sysdeps/i386/fpu/e_log10l.S: Likewise.
65307         * sysdeps/i386/fpu/e_atanh.S: Likewise.
65308         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
65309         * sysdeps/i386/fpu/e_log10.S: Likewise.
65310         * sysdeps/i386/fpu/s_frexp.S: Likewise.
65311         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
65312         * sysdeps/i386/fpu/s_asinh.S: Likewise.
65313         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
65314         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
65315         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
65316         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
65317         * sysdeps/i386/i686/strtok.S: Likewise.
65318         * sysdeps/i386/i386-mcount.S: Likewise.
65319         * sysdeps/i386/strtok.S: Likewise.
65320         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
65321         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
65322         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
65323         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
65324         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
65325         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
65326         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
65327         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
65328         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
65329         * sysdeps/x86_64/_mcount.S: Likewise.
65330         * sysdeps/x86_64/strtok.S: Likewise.
65331         * sysdeps/sh/_mcount.S: Likewise.
65333 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65335         * libio/iofopen.c: Include <fcntl.h>.
65336         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
65337         (_IO_fopen64, fopen64): Define as aliases.
65338         * libio/iofopen64.c: Include <fcntl.h>.
65339         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
65340         Conditionalize body on this.
65341         * sysdeps/wordsize-64/iofopen.c: File removed.
65342         * sysdeps/wordsize-64/iofopen64.c: File removed.
65344 2012-08-01  Marek Polacek  <polacek@redhat.com>
65346         * libc/Makeconfig: Use elf in place of binfmt-subdir.
65347         Use dlfcn directly instead of a variable.
65348         (binfmt-subdir): Do not define.
65349         (dlfcn): Likewise.
65351 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
65353         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
65354         Remove all definitions.
65355         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
65356         <kernel-features.h>.
65357         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65358         (miss_F_GETOWN_EX): Remove all definitions.
65359         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
65360         macro definition.
65361         [!__ASSUME_FCNTL64]: Remove conditional code.
65362         [__ASSUME_FCNTL64]: Make code unconditional.
65363         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
65364         <kernel-features.h>.
65365         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
65366         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
65367         (lockf64) [__NR_fcntl64]: Make code unconditional.
65368         (lockf64) [__ASSUME_FCNTL64]: Likewise.
65370         * sysdeps/unix/sysv/linux/kernel-features.h
65371         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
65372         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
65373         Make code unconditional.
65374         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65375         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
65377         [__NR_vfork]: Make code unconditional.
65378         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65379         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
65381         [__NR_vfork]: Make code unconditional.
65382         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
65383         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
65385 2012-08-01  Roland McGrath  <roland@hack.frob.com>
65387         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
65388         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
65390         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65391         Define mkstemp64 as an alias.
65392         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65393         Define mkstemps64 as an alias.
65394         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65395         Define mkostemp64 as an alias.
65396         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65397         Define mkostemps64 as an alias.
65398         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
65399         Conditionalize body on this.
65400         * misc/mkostemp64.c: Likewise.
65401         * misc/mkostemps64.c: Likewise.
65402         * misc/mkstemps64.c: Likewise.
65403         * sysdeps/wordsize-64/mkstemp64.c: File removed.
65404         * sysdeps/wordsize-64/mkostemp64.c: File removed.
65405         * sysdeps/wordsize-64/mkostemp.c: File removed.
65406         * sysdeps/wordsize-64/mkstemp.c: File removed.
65407         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
65408         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
65409         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
65410         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
65412         [BZ #14138]
65413         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
65414         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
65415         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
65416         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
65418         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
65419         compat_symbol macros from <shlib-compat.h> rather than the underlying
65420         default_symbol_version and symbol_version macros, so that DEFAULT
65421         lines in shlib-versions are respected.
65422         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
65424 2012-08-01  Florian Weimer  <fweimer@redhat.com>
65426         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
65427         Declare with warn_unused_result.
65428         (setgid, setregid, setegid, setresgid): Likewise.
65429         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
65430         Likewise.
65431         * WUR-REPORT: Remove set*id functions.
65433 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
65435         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
65437 2012-07-31  Roland McGrath  <roland@hack.frob.com>
65439         [BZ #10191]
65440         * include/sys/socket.h (__libc_accept, __libc_accept4):
65441         Add attribute_hidden.
65442         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
65444         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
65445         use of PTR_MANGLE.
65446         * inet/getnetgrent_r.c (setup): Likewise.
65448         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
65450 2012-07-31  David S. Miller  <davem@davemloft.net>
65452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65454 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
65456         [BZ #13629]
65457         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
65458         value between 1.0 and 2.0 and smaller part has absolute value less
65459         than 1.0.
65460         * math/s_clog10.c (__clog10): Likewise.
65461         * math/s_clog10f.c (__clog10f): Likewise.
65462         * math/s_clog10l.c (__clog10l): Likewise.
65463         * math/s_clogf.c (__clogf): Likewise.
65464         * math/s_clogl.c (__clogl): Likewise.
65465         * math/libm-test.inc (clog_test): Add more tests.
65466         (clog10_test): Likewise.
65467         * sysdeps/i386/fpu/libm-test-ulps: Update.
65468         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65470 2012-07-31  Florian Weimer  <fweimer@redhat.com>
65472         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
65473         Exit with zero in case no suitable GID is found, and write a
65474         message to standard error.
65476 2012-07-30  Roland McGrath  <roland@hack.frob.com>
65478         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
65479         rather than to 1.
65480         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
65481         (MAXPATHLEN): Removed.
65482         (NOGROUP, NODEV): New macros.
65483         (setbit, clrbit, isset, isclr): New macros.
65484         (howmany, roundup, powerof2): New macros.
65485         (DEV_BSIZE): New macro.
65487         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
65488         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
65490         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
65491         definition on [!__NO_LONG_DOUBLE_MATH].
65493         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
65494         PTR_MANGLE and PTR_DEMANGLE.
65496         * socket/accept4.c (accept4): Rename to __libc_accept4.
65497         Define accept4 as a weak alias.
65499         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
65500         on [_DIRENT_HAVE_D_TYPE].
65501         * io/ftw.c (ftw_dir): Likewise.
65503         * io/xmknod.c (__xmknod): Don't check PATH for being null.
65505         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
65507         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
65508         Use the BSD numbers rather than the arbitrary ones we had.
65509         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
65510         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
65511         (SIGXCPU, SIGXFSZ): New macros.
65512         (_NSIG): Now 32.
65514         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
65515         initializer on [_LIBC_REENTRANT].
65517         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
65518         definitions inside [_POSIX_MAPPED_FILES].
65520         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
65522         * dirent/opendir.c: Include <fcntl.h>.
65524         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
65525         (__libc_getspecific): Likewise.
65526         (__libc_key_create): Likewise.
65528         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
65529         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
65530         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
65531         (tmpfile64): Define as alias.
65532         * sysdeps/wordsize-64/tmpfile.c: File removed.
65533         * sysdeps/wordsize-64/tmpfile64.c: File removed.
65534         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
65535         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
65537         * stdio-common/vfscanf.c: Include <stdbool.h>.
65538         * nss/makedb.c: Likewise.
65539         * stdio-common/_i18n_number.h: Likewise.
65540         * argp/argp-help.c: Likewise.
65541         * posix/wordexp.c: Likewise.
65542         * sysdeps/posix/spawni.c: Likewise.
65543         * nss/nss_files/files-initgroups.c: Likewise.
65544         * stdio-common/reg-modifier.c: Include <stdlib.h>.
65545         * nss/nss_files/files-initgroups.c: Likewise.
65546         * nss/nss_db/db-netgrp.c: Likewise.
65547         * nss/nss_db/db-initgroups.c: Likewise.
65548         * io/fchmodat.c: Include <sys/stat.h>.
65550         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
65551         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
65553         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
65554         [HAVE_MMAP].
65556         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
65557         Add multiple inclusion protection.
65559 2012-07-27  David S. Miller  <davem@davemloft.net>
65561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65563 2012-07-27  Gary Benson  <gbenson@redhat.com>
65565         [BZ #14298]
65566         * elf/rtld.c: Include <stap-probe.h>.
65567         (dl_main): Added static probes "init_start" and "init_complete".
65568         * elf/dl-load.c: Include <stap-probe.h>.
65569         (lose): Take new parameter "nsid".
65570         Added static probe "map_failed".
65571         (_dl_map_object_from_fd): Pass namespace id to lose.
65572         Added static probe "map_start".
65573         (open_verify): Pass namespace id to lose.
65574         * elf/dl-open.c: Include <stap-probe.h>.
65575         (dl_open_worker) Added static probes "map_complete", "reloc_start"
65576         and "reloc_complete".
65577         * elf/dl-close.c: Include <stap-probe.h>.
65578         (_dl_close_worker): Added static probes "unmap_start" and
65579         "unmap_complete".
65580         * elf/rtld-debugger-interface.txt: New file documenting the above.
65582 2012-07-26  Roland McGrath  <roland@hack.frob.com>
65584         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
65585         rather than a string variable.
65586         * sunrpc/rpc_main.c (h_output): Likewise.
65587         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
65589 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
65591         * inet/check_native.c: New file.
65593 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
65595         [BZ #13629]
65596         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
65597         if larger part has absolute value 1.0.
65598         * math/s_clog10.c (__clog10): Likewise.
65599         * math/s_clog10f.c (__clog10f): Likewise.
65600         * math/s_clog10l.c (__clog10l): Likewise.
65601         * math/s_clogf.c (__clogf): Likewise.
65602         * math/s_clogl.c (__clogl): Likewise.
65603         * math/libm-test.inc (clog_test): Add more tests.
65604         (clog10_test): Likewise.
65605         * sysdeps/i386/fpu/libm-test-ulps: Update.
65606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65608         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
65609         (pltexit): Likewise.
65610         (La_regs): Likewise.
65611         (La_retval): Likewise.
65612         (int_retval): Likewise.
65613         Update #error for removed macros to refer only to definitions in
65614         tst-audit.h.
65615         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
65616         macro.
65617         (pltexit): Likewise.
65618         (La_regs): Likewise.
65619         (La_retval): Likewise.
65620         (int_retval): Likewise.
65621         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
65622         macro.
65623         (pltexit): Likewise.
65624         (La_regs): Likewise.
65625         (La_retval): Likewise.
65626         (int_retval): Likewise.
65627         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
65628         macro.
65629         (pltexit): Likewise.
65630         (La_regs): Likewise.
65631         (La_retval): Likewise.
65632         (int_retval): Likewise.
65633         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
65634         macro.
65635         (pltexit): Likewise.
65636         (La_regs): Likewise.
65637         (La_retval): Likewise.
65638         (int_retval): Likewise.
65639         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
65640         macro.
65641         (pltexit): Likewise.
65642         (La_regs): Likewise.
65643         (La_retval): Likewise.
65644         (int_retval): Likewise.
65645         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
65646         macro.
65647         (pltexit): Likewise.
65648         (La_regs): Likewise.
65649         (La_retval): Likewise.
65650         (int_retval): Likewise.
65651         * sysdeps/generic/tst-audit.h: Update comment to refer only to
65652         macro definitions in tst-audit.h.
65653         * sysdeps/i386/tst-audit.h: New file.
65654         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
65655         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
65656         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
65657         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
65658         * sysdeps/sh/tst-audit.h: Likewise.
65659         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
65660         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
65661         * sysdeps/x86_64/tst-audit.h: Likewise.
65663 2012-07-26  Andreas Jaeger  <aj@suse.de>
65665         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
65666         ptrace.
65668         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
65669         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
65670         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
65671         PTRACE_O_MASK.
65672         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
65673         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
65674         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
65676         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
65677         value.
65679         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
65680         _sigsys.
65681         (si_call_addr, si_syscall, si_arch): Define new macro.
65682         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
65683         _sigsys.
65684         (si_call_addr, si_syscall, si_arch): Define new marcro.
65685         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
65686         _sigsys.
65687         (si_call_addr, si_syscall, si_arch): Define new macro.
65688         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
65689         _sigsys.
65690         (si_call_addr, si_syscall, si_arch): Define new macro.
65692 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65694         [BZ #13717]
65695         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
65696         Change to 2.4.21 where previously 2.4.1.
65697         * sysdeps/unix/sysv/linux/configure: Regenerated.
65698         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
65699         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
65700         Linux kernel version.
65701         (__ASSUME_STD_AUXV): Remove.
65702         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
65703         kernel version.
65704         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
65705         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
65706         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
65707         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
65708         (__ASSUME_NETLINK_SUPPORT): Likewise.
65709         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
65710         (__no_netlink_support): Remove conditional definition.
65711         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
65712         Remove.
65713         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65714         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
65715         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
65716         (if_nameindex_ioctl): Remove.
65717         (if_nameindex_netlink): Do not handle __no_netlink_support.
65718         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65719         code.
65720         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
65721         Remove conditional code.
65722         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
65723         code.
65724         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
65725         unconditional.
65726         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
65727         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
65728         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
65729         Remove.
65730         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
65731         [!__ASSUME_STD_AUXV]: Remove conditional code.
65732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
65733         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
65734         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
65735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
65736         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
65737         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65738         code.
65739         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
65741         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
65742         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65743         conditional code.
65744         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
65745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
65746         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
65747         code.
65748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
65749         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
65750         conditional code.
65751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
65752         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65753         code unconditional.
65754         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65755         conditional code.
65756         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65757         unconditional.
65758         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65759         conditional code.
65760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
65761         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65762         unconditional.
65763         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65764         conditional code.
65765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
65766         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65767         code unconditional.
65768         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65769         conditional code.
65770         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65771         unconditional.
65772         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65773         conditional code.
65774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
65775         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
65776         code unconditional.
65777         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65778         conditional code.
65779         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
65780         unconditional.
65781         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
65782         conditional code.
65784 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
65786         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
65787         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
65788         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
65789         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
65790         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
65791         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
65792         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
65793         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
65794         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
65795         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
65796         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
65797         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
65798         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
65799         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
65800         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
65801         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
65802         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
65803         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
65804         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
65805         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
65806         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
65807         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
65808         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65810 2012-07-25  Florian Weimer  <fweimer@redhat.com>
65812         * Versions.def: Add GLIBC_2.17.
65813         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
65814         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
65815         Introduce __libc_secure_getenv.
65816         * stdlib/Versions (2.17): Add secure_getenv
65817         (GLIBC_PRIVATE): Add __libc_secure_getenv.
65818         * stdlib/secure-getenv.c: Rename __secure_getenv to
65819         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
65820         symbol __secure_getenv for GLIBC_2.0.
65821         * stdlib/tst-secure-getenv.c: New.
65822         * stdlib/Makefile (tests): Add testcase.
65823         * manual/startup.texi (Environment Access): Document
65824         secure_getenv.
65825         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
65826         __libc_secure_getenv.
65827         * inet/ruserpass.c (ruserpass): Likewise.
65828         * malloc/mtrace.c (mtrace): Likewise.
65829         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
65830         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
65831         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
65832         * sysdeps/posix/tempname.c: Likewise.  Evaluate
65833         HAVE_SECURE_GETENV.
65834         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
65835         __secure_getenv to __libc_secure_getenv.
65836         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
65837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65838         Likewise.
65839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65840         Likewise.
65841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65843         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65845         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65849 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
65851         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
65852         (struct La_i86_retval): Likewise.
65853         (struct La_x86_64_regs): Likewise.
65854         (struct La_x86_64_retval): Likewise.
65855         (struct La_x32_regs): Likewise.
65856         (struct La_x32_retval): Likewise.
65857         (struct La_ppc32_regs): Likewise.
65858         (struct La_ppc32_retval): Likewise.
65859         (struct La_ppc64_regs): Likewise.
65860         (struct La_ppc64_retval): Likewise.
65861         (struct La_sh_regs): Likewise.
65862         (struct La_sh_retval): Likewise.
65863         (struct La_s390_32_regs): Likewise.
65864         (struct La_s390_32_retval): Likewise.
65865         (struct La_s390_64_regs): Likewise.
65866         (struct La_s390_64_retval): Likewise.
65867         (struct La_sparc32_regs): Likewise.
65868         (struct La_sparc32_retval): Likewise.
65869         (struct La_sparc64_regs): Likewise.
65870         (struct La_sparc64_retval): Likewise.
65871         (struct audit_ifaces): Remove architecture-specific pltenter and
65872         pltexit members.
65873         * sysdeps/i386/ldsodefs.h: New file.
65874         * sysdeps/powerpc/ldsodefs.h: Likewise.
65875         * sysdeps/s390/ldsodefs.h: Likewise.
65876         * sysdeps/sh/ldsodefs.h: Likewise.
65877         * sysdeps/sparc/ldsodefs.h: Likewise.
65878         * sysdeps/x86_64/ldsodefs.h: Likewise.
65880 2012-07-25  Marek Polacek  <polacek@redhat.com>
65882         [BZ #6808]
65883         * math/libm-test.inc (yn_test): Add another test.
65884         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
65885         to ERANGE when the result is +-Inf.
65886         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
65887         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
65888         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
65889         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
65891 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
65893         * conform/data/time.h-data (NULL): Use macro-constant.  Require
65894         equal to 0.
65895         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
65896         clock_t.
65897         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
65899 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
65901         * configure.in <sysdeps resolving>: Correct printing
65902         Implies_before.
65903         * configure: Regenerate.
65905 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
65907         * math/w_ilogb.c: Include <limits.h>.
65908         * math/w_ilogbl.c: Likewise.
65910 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65912         * manual/lang.texi (__va_copy): Document primarily as ISO C99
65913         va_copy.  Document allowing for unavailable va_copy only as
65914         pre-C99 compatibility.
65915         * manual/string.texi (Copying and Concatenation): Use va_copy
65916         instead of __va_copy in concat example.
65918 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
65920         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
65921         (__sendto): Use create_address_port.  Initialize APORT and deallocate
65922         it if not null.
65924         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
65925         with O_NOLINK passed to __file_name_lookup.
65927         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
65928         with O_NOLINK passed to __file_name_lookup.
65930         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
65931         negative N or less than NGIDS.
65933         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
65934         type to string_t.  Set ERANGE as errno and return it if NAME is not big
65935         enough.  Use memcpy instead of strncpy.
65937 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
65939         * elf/Makefile (check-data): Remove.
65940         (localplt.data): New vpath directive.
65941         ($(objpfx)check-localplt.out): Use localplt.data from vpath
65942         instead of $(check-data).
65943         * scripts/data/localplt-generic.data: Move to ...
65944         * sysdeps/generic/localplt.data: ... here.
65945         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
65946         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
65947         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
65948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
65949         ... here.
65950         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
65951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
65952         ... here.
65953         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
65954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
65955         ... here.
65956         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
65957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
65958         ... here.
65959         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
65960         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
65961         ... here.
65962         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
65963         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
65964         ... here.
65966 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65968         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
65969         PPC32 and PPC64 files.
65970         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
65971         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
65973 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65975         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
65976         __makecontext_ret to ...
65977         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
65978         ... here and call exit if uc_link is NULL.  New file.
65979         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
65980         __makecontext_ret.S.
65981         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
65982         __makecontext_ret to ...
65983         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
65984         ... here and call exit if uc_link is NULL.  New file.
65985         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
65986         __makecontext_ret.S.
65988 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65990         * elf/elf.h (R_390_IRELATIVE): New definition.
65991         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
65992         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
65993         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
65994         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65995         (elf_machine_lazy_rel): Likewise.
65996         * sysdeps/s390/dl-irel.h: New file.
65997         * sysdeps/s390/s390-64/memcpy.S: New asm code.
65998         * sysdeps/s390/s390-64/memset.S: New asm code.
65999         * sysdeps/s390/s390-64/memcmp.S: New asm code.
66000         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
66001         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
66002         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
66003         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
66004         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
66005         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
66006         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
66007         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
66008         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
66009         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
66010         * sysdeps/s390/s390-32/memcpy.S: New asm code.
66011         * sysdeps/s390/s390-32/memset.S: New asm code.
66012         * sysdeps/s390/s390-32/memcmp.S: New asm code.
66014 2012-07-17  Marek Polacek  <polacek@redhat.com>
66016         [BZ #14349]
66017         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
66018         * sysdeps/s390/s390-64/configure.in: Likewise.
66019         * sysdeps/sparc/configure.in: Likewise.
66020         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
66021         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
66022         * sysdeps/i386/configure.in: Likewise.
66023         * sysdeps/x86_64/configure.in: Likewise.
66024         * sysdeps/sh/configure.in: Likewise.
66025         * sysdeps/s390/s390-32/configure: Regenerated.
66026         * sysdeps/s390/s390-64/configure: Likewise.
66027         * sysdeps/x86_64/configure: Likewise.
66028         * sysdeps/sh/configure: Likewise.
66029         * sysdeps/powerpc/powerpc64/configure: Likewise.
66030         * sysdeps/powerpc/powerpc32/configure: Likewise.
66031         * sysdeps/sparc/configure: Likwise.
66032         * sysdeps/i386/configure: Likewise.
66034         * elf/dl-open.c: Comment fixes.
66036 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
66038         * Makefile [CXX] (check-data): Remove.
66039         [CXX] (c++-types.data): New vpath directive.
66040         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
66041         vpath.  Do not allow for C++ type data being missing.
66042         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
66043         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
66044         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
66045         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
66046         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
66047         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
66048         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
66049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
66050         ... here.
66051         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
66052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
66053         ... here.
66054         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
66055         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
66056         ... here.
66057         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
66058         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
66059         ... here.
66060         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
66061         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
66062         ... here.
66063         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
66064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
66065         ... here.
66066         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
66067         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
66068         ... here.
66069         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
66070         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
66072         * elf/tls-macros.h (TLS_LE): Move architecture-specific
66073         definitions to architecture-specific files.
66074         (TLS_IE): Likewise.
66075         (TLS_LD): Likewise.
66076         (TLS_GD): Likewise.
66077         * sysdeps/i386/tls-macros.h: New file.
66078         * sysdeps/powerpc/tls-macros.h: Likewise.
66079         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
66080         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
66081         * sysdeps/sh/tls-macros.h: Likewise.
66082         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
66083         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
66084         * sysdeps/x86_64/tls-macros.h: Likewise.
66086 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66088         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
66089         zero value for regular exit case.
66091         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
66092         (__start_context): Preserve zero value for regular exit case.
66094 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
66095             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66097         * manual/setjmp.texi (setcontext): Clarify normal process
66098         termination when uc_link is the null pointer.
66099         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
66100         exit call.
66102 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
66104         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
66105         preprocessor.  Test for each exception mask separately.
66107 2012-07-16  Andreas Jaeger  <aj@suse.de>
66109         * po/ru.po: Update from translation team.
66111 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
66113         * conform/data/string.h-data (NULL): Use macro-constant.  Require
66114         equal to 0.
66115         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66116         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66117         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
66118         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
66119         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66121 2012-07-13  Andreas Jaeger  <aj@suse.de>
66123         * po/fr.po: Update from translation team.
66125 2012-07-12  Marek Polacek  <polacek@redhat.com>
66127         [BZ #14173]
66128         * math/libm-test.inc (yn_test): Add test for BZ #14173.
66129         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
66130         loop condition.
66132 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
66134         [BZ #13717]
66135         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
66136         Change to 2.4.1 where previously 2.4.0.
66137         * sysdeps/unix/sysv/linux/configure: Regenerated.
66138         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
66139         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
66140         version.
66141         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
66142         (__ASSUME_AT_CLKTCK): Remove.
66143         (__ASSUME_AT_PAGESIZE): Likewise.
66144         (__ASSUME_AT_XID): Likewise.
66145         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
66146         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
66147         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
66148         unconditionally.
66149         (HAVE_AUX_PAGESIZE): Likewise.
66150         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
66151         [__ASSUME_AT_CLKTCK]: Make code unconditional.
66152         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
66154 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
66156         [BZ #14307]
66157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
66158         the temporary buffer used to invoke __gethostbyname2_r,
66159         __gethostbyaddr_r and gethostbyname4_r to make room for struct
66160         host_data / struct gaih_addrtuple.
66161         * resolv/nss_dns/dns-host.c (global scope): Move definition of
66162         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
66163         header file nss/nsswitch.h.
66164         * nss/nsswitch.h (global scope): Add definition of implementation
66165         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
66166         resolv/nss_dns/dns-host.c).
66168 2012-07-11  Andreas Jaeger  <aj@suse.de>
66170         * po/fr.po: Update from translation team.
66172         * po/sv.po: Update from translation team
66173         * po/fr.po: Another update from translation team.
66175 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66177         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
66178         for subnormals or multiply small sinh result by itself.
66179         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
66180         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66182 2012-07-11  David S. Miller  <davem@davemloft.net>
66184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66186 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
66188         [BZ #14347]
66189         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
66190         (INTERNAL_MARK): Shift it here.
66192 2012-07-10  Marek Polacek  <polacek@redhat.com>
66194         [BZ #14151]
66195         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
66196         libc_cv_asm_global_directive with .globl.
66197         * configure: Regenerated.
66198         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
66199         with .globl.
66200         * sysdeps/i386/configure: Regenerated.
66201         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
66202         with .globl.
66203         * sysdeps/x86_64/configure: Regenerated.
66204         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
66205         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
66206         * elf/tst-unique2mod2.c: Likewise.
66207         * elf/tst-unique2mod1.c: Likewise.
66208         * elf/tst-unique1mod2.c: Likewise.
66209         * elf/tst-unique1mod1.c: Likewise.
66210         * sysdeps/s390/s390-32/sysdep.h: Likewise.
66211         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
66212         * sysdeps/s390/s390-64/sysdep.h: Likewise.
66213         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66214         * sysdeps/mach/sysdep.h: Likewise.
66215         * sysdeps/i386/sysdep.h: Likewise.
66216         * sysdeps/i386/i386-mcount.S: Likewise.
66217         * sysdeps/x86_64/_mcount.S: Likewise.
66218         * sysdeps/x86_64/sysdep.h: Likewise.
66219         * sysdeps/sh/_mcount.S: Likewise.
66220         * sysdeps/sh/sysdep.h: Likewise.
66221         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
66222         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
66223         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
66224         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
66225         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
66226         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
66227         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
66228         * locale/localeinfo.h: Likewise.
66229         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
66230         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
66232 2012-07-09  Roland McGrath  <roland@hack.frob.com>
66234         [BZ #14336]
66235         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
66236         system".
66237         * manual/message.texi (The Uniforum approach): Likewise.
66238         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
66239         (glibc iconv Implementation): Likewise.
66241 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
66243         [BZ #14337]
66244         * math/s_clog.c (__clog): Avoid scaling a value down where that
66245         could result in underflow.
66246         * math/s_clog10.c (__clog10): Likewise.
66247         * math/s_clog10f.c (__clog10f): Likewise.
66248         * math/s_clog10l.c (__clog10l): Likewise.
66249         * math/s_clogf.c (__clogf): Likewise.
66250         * math/s_clogl.c (__clogl): Likewise.
66251         * math/libm-test.inc (clog_test): Add more tests.
66252         (clog10_test): Likewise.
66253         * sysdeps/i386/fpu/libm-test-ulps: Update.
66254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66256 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
66258         [BZ #14283]
66259         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
66260         by 7 not 8 to examine high bit of fractional part.
66262         [BZ #14042]
66263         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
66264         for call to __mcount_internal.
66265         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
66266         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
66267         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
66269 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
66271         [BZ #14154]
66272         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
66273         approximation for values within 0x1p-13f of an odd multiple of
66274         pi/4.
66275         * math/libm-test.inc (tan_test): Do not allow spurious underflow
66276         exception.  Add more tests.
66277         * sysdeps/i386/fpu/libm-test-ulps: Update.
66279         [BZ #6778]
66280         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
66281         inputs and return -1 for them.  Do not check for +Inf in case not
66282         reachable for +Inf.
66283         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
66284         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
66285         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66286         and return -1 for them.  Do not check for +Inf in case not
66287         reachable for +Inf.
66288         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
66289         define.
66290         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
66291         and return -1 for them.  Do not check for +Inf in case not
66292         reachable for +Inf.
66293         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
66294         spurious underflow.
66295         * sysdeps/i386/fpu/libm-test-ulps: Update.
66296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66298 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
66300         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
66302 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
66304         [BZ #14157]
66305         [BZ #14331]
66306         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
66307         could result in spurious underflow.  Scale down values above
66308         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
66309         * math/s_csqrtf.c (__csqrtf): Likewise.
66310         * math/s_csqrtl.c (__csqrtl): Likewise.
66311         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
66312         spurious underflow.
66313         * sysdeps/i386/fpu/libm-test-ulps: Update.
66314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66316 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
66318         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
66319         xopen-msg.sed.
66320         * catgets/xopen-msg.awk: New file.
66321         * catgets/xopen-msg.sed: Removed.
66323         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
66324         po2text.sed.
66325         * intl/po2test.awk: New file.
66326         * intl/po2test.sed: Removed.
66328 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
66330         [BZ #14328]
66331         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
66332         or multiply small sinh result by itself.
66333         * math/s_ctanf.c (__ctanf): Likewise.
66334         * math/s_ctanh.c (__ctanh): Likewise.
66335         * math/s_ctanhf.c (__ctanhf): Likewise.
66336         * math/s_ctanhl.c (__ctanhl): Likewise.
66337         * math/s_ctanl.c (__ctanl): Likewise.
66338         * math/libm-test.inc (ctan_test_tonearest): New function.
66339         (ctan_test_towardzero): Likewise.
66340         (ctan_test_downward): Likewise.
66341         (ctan_test_upward): Likewise.
66342         (ctanh_test_tonearest): Likewise.
66343         (ctanh_test_towardzero): Likewise.
66344         (ctanh_test_downward): Likewise.
66345         (ctanh_test_upward): Likewise.
66346         (main): Call these new functions.
66347         * sysdeps/i386/fpu/libm-test-ulps: Update.
66348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66350 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
66352         * .gitignore: Delete /ports entry.
66354 2012-07-03  Andreas Jaeger  <aj@suse.de>
66356         * po/bg.po: Update from translation team.
66357         * po/cs.po: Likewise.
66358         * po/de.po: Likewise.
66359         * po/hr.po: Likewise.
66360         * po/nl.pl: Likewise.
66361         * po/pl.po: Likewise.
66362         * po/vi.po: Likewise.
66364 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
66366         * Makeconfig [!+link] (+link-before-libc): New variable.
66367         [!+link] (+link-after-libc): Likewise.
66368         [!+link] (+link-tests): Likewise.
66369         [!+link] (+link): Define in terms of $(+link-before-libc) and
66370         $(+link-after-libc).
66371         [!+link-static] (+link-static-before-libc): New variable.
66372         [!+link-static] (+link-static-after-libc): Likewise.
66373         [!+link-static] (+link-static-tests): Likewise.
66374         [!+link-static] (+link-static): Define in terms of
66375         $(+link-static-before-libc) and $(+link-static-after-libc).
66376         [build-shared] (link-libc-before-gnulib): New variable.
66377         [build-shared] (link-libc-tests): Likewise.
66378         [build-shared] (link-libc): Define in terms of
66379         $(link-libc-before-gnulib).
66380         [!build-shared] (link-libc-tests): New variable.
66381         (link-libc-static-tests): New variable.
66382         [!gnulib] (gnulib-arch): New variable.
66383         [!gnulib] (gnulib-tests): Likewise.
66384         [!gnulib] (static-gnulib-arch): Likewise.
66385         [!gnulib] (static-gnulib-tests): Likewise.
66386         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
66387         Define with "=" instead of ":=".
66388         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
66389         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
66390         * Rules (binaries-all-notests): New variable.
66391         (binaries-all-tests): Likewise.
66392         (binaries-static-notests): Likewise.
66393         (binaries-static-tests): Likewise.
66394         (binaries-all): Define using $(binaries-all-notests) and
66395         $(binaries-all-tests).
66396         (binaries-static): Define using $(binaries-static-notests) and
66397         $(binaries-static-tests).
66398         (binaries-shared-tests): New variable.
66399         (binaries-shared-notests): Likewise.
66400         (binaries-shared): Remove variable.
66401         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
66402         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
66403         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
66404         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
66405         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
66406         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
66407         * elf/Makefile (sln-modules): New variable.
66408         (extra-objs): Add $(sln-modules:=.o).
66409         (ldconfig-modules): Add static-stubs.
66410         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
66411         * elf/static-stubs.c: New file.
66413         [BZ #14283]
66414         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
66415         by 7 not 8 to examine high bit of fractional part.  Use volatile
66416         variables when splitting into final array of floats if
66417         __FLT_EVAL_METHOD__ != 0.
66418         * math/libm-test.inc (cos_test): Add another test.
66419         (sin_test): Likewise.
66420         * sysdeps/i386/fpu/libm-test-ulps: Update.
66422         [BZ #14273]
66423         * math/libm-test.inc (cosh_test): Add more tests.
66425         * version.h (RELEASE): Set to "development".
66426         (VERSION): Set to "2.16.90".
66428 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
66430         * NEWS: Update copyright. Remove last-updated date.
66431         Mention math library bug fixes and timezone data changes.
66432         * README: Mention GNU/Hurd, x32, and HPPA support status.
66434 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
66436         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
66438 2012-06-27  Andreas Jaeger  <aj@suse.de>
66440         * manual/contrib.texi (Contributors): Add Samuel Thibault.
66442 2012-06-25  Andreas Jaeger  <aj@suse.de>
66444         * sysdeps/s390/fpu/libm-test-ulps: Update.
66446 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
66447             Thomas Schwinge  <thomas@codesourcery.com>
66449         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
66450         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
66451         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
66452         fanotify_mark.
66454 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
66456         * sysdeps/mach/start.c: Remove file.
66457         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
66458         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
66459         * sysdeps/sh/init-first.c: Likewise.
66461         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
66462         registers for frame unwinding purposes, add CFI directives.
66463         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66464         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
66465         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
66466         Likewise.
66468         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
66469         __fortify_fail returning.
66470         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
66472         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
66473         sysdeps/sh/____longjmp_chk.S.
66474         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
66475         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
66476         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
66477         (gen-as-const-headers): Append sigaltstack-offsets.sym.
66479         * sysdeps/sh/abort-instr.h: New file.
66480         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
66481         process in case exit returns.
66483         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
66484         initialize the GOT register before use.
66486         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
66487         calculation of ARGC > 4.
66489         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
66490         meaningful names to some local labels.
66492 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
66493             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66495         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
66496         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
66497         (__arch_compare_and_exchange_val_16_acq): Likewise.
66498         (__arch_compare_and_exchange_val_32_acq): Likewise.
66499         (atomic_exchange_and_add): Fix gUSA sequence.
66500         (atomic_add): Likewise.
66501         (atomic_add_negative): Likewise.
66502         (atomic_add_zero): Likewise.
66503         (atomic_bit_test_set): Likewise.
66505 2012-06-22  Andreas Schwab  <schwab@redhat.com>
66507         [BZ #13579]
66508         * include/link.h (struct link_map): Add l_free_initfini.
66509         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
66510         l_initfini.
66511         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
66512         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
66513         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
66514         set.
66516 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
66518         * configure.in: Use AC_LANG_SOURCE.
66519         * configure: Regenerate.
66521 2012-06-22  Roland McGrath  <roland@hack.frob.com>
66523         * configure.in (libc_cv_localstatedir): New substituted variable.
66524         * configure: Regenerated.
66525         * config.make.in (localstatedir): New variable, substituted from
66526         libc_cv_localstatedir.
66527         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
66528         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
66529         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
66530         * sysdeps/gnu/configure: Regenerated.
66532 2012-06-21  Jeff Law  <law@redhat.com>
66534         [BZ #14277]
66535         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
66536         free.  Simplify list management for _LIBC case.
66538 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
66540         [BZ #14273]
66541         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
66542         Clear sign bit of 64-bit integer value before comparing against
66543         overflow value.
66545         * sysdeps/mach/configure: Regenerated.
66547 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
66549         [BZ #14278]
66550         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
66552 2012-06-21  Jeff Law  <law@redhat.com>
66554         [BZ #13882]
66555         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
66556         uint16_t for elements in the "seen" array to avoid char overflows.
66557         * elf/dl-fini.c (_dl_sort_fini): Likewise.
66558         * elf/dl-open.c (dl_open_worker): Likewise.
66560 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
66562         * scripts/list-sources.sh: Scan PORTS for translations.
66563         * po/libc.pot: Regenerated.
66565 2012-06-21  Andreas Jaeger  <aj@suse.de>
66567         [BZ #12194]
66568         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
66569         warning.
66570         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
66571         * bits/byteswap-16.h (__bswap_16): Likewise.
66572         * bits/byteswap.h (__bswap_constant_16): Likewise.
66574 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
66576         [BZ #14117]
66577         * sysdeps/i386/fpu_control.h: Removed.
66578         * sysdeps/x86_64/fpu_control.h: Moved to ...
66579         * sysdeps/x86/fpu_control.h: Here.
66581         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
66582         (_FPU_SETCW): Likewise.
66584 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
66586         [BZ #14117]
66587         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
66588         * sysdeps/x86/fpu/bits/mathinline.h: This.
66589         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
66591         [BZ #14050]
66592         [BZ #14117]
66593         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
66594         functions if __x86_64__ is defined.
66596 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
66598         * string/endian.h: Add !__ASSEMBLER__ condition for including
66599         conversion interfaces.
66601 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
66603         [BZ #14241]
66604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
66605         of ABS(x) in calculating zero to negative powers other than odd
66606         integers.
66607         * math/libm-test.inc (pow_test): Add more tests.
66609 2012-06-15  Andreas Jaeger  <aj@suse.de>
66611         * manual/contrib.texi (Contributors): Update entry of Liubov
66612         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
66613         Machado Filho.
66615 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
66617         * string/string.h: Add __wur to GNU version of strerror_r.
66619 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
66621         [BZ #14229]
66622         * string/Makefile (tests): Add tst-strtok_r.
66623         * string/tst-strtok_r.c: New file.
66624         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
66625         RAX_LP/RDX_LP on SAVE_PTR.
66627 2012-06-14  Roland McGrath  <roland@hack.frob.com>
66629         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
66631 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
66633         * libm_test.inc (csqrt_test): Allow more spurious underflow
66634         exceptions.
66635         (j0_test): Likewise.
66636         (j1_test): Likewise.
66637         (y0_test): Likewise.
66638         (y1_test): Likewise.
66640 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
66642         * po/Makefile (libc.pot): Use UTF-8 charset.
66644 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
66646         [BZ #14210]
66647         Suppress sign-conversion warning from FD_SET.
66648         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
66649         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
66650         not unsigned long int.
66651         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
66653 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
66655         [BZ #14050]
66656         [BZ #14117]
66657         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
66658         __extern_always_inline instead of __extern_inline.
66659         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
66660         (__signbit): Likewise.
66661         (__signbitl): Support C++ namespace.
66662         (lrintf): New inline function.
66663         (lrint): Likewise.
66664         (llrintf): Likewise.
66665         (llrint): Likewise.
66666         (fmaxf): Likewise.
66667         (fmax): Likewise.
66668         (fminf): Likewise.
66669         (fmin): Likewise.
66670         (rint): Likewise.
66671         (rintf): Likewise.
66672         (ceil): Likewise.
66673         (ceilf): Likewise.
66674         (floor): Likewise.
66675         (floorf): Likewise.
66676         (nearbyint): Likewise.
66677         (nearbyintf): Likewise.
66679 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
66681         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
66682         non-default versions.
66684 2012-06-11  Roland McGrath  <roland@hack.frob.com>
66686         [BZ #14218]
66687         * manual/argp.texi (Argp): Reword argp_parse description slightly.
66689 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
66691         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
66692         (FE_UPWARD, FE_DOWNWARD): Don't define.
66693         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
66694         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
66696         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
66697         reading it.
66698         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
66699         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66701 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
66703         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
66704         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
66705         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
66706         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
66708 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
66710         [BZ #14117]
66711         * sysdeps/i386/fpu/bits/fenv.h: Removed.
66712         * sysdeps/i386/fpu/Implies: New file.
66713         * sysdeps/x86_64/fpu/Implies: Likewise.
66714         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
66715         * sysdeps/x86/fpu/bits/fenv.h: This.
66717         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
66718         __SSE_MATH__.
66720 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
66722         [BZ #14134]
66723         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
66724         character 0xffff that matches the last element of the
66725         conversion table.
66727 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66729         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
66730         fmodl commit.
66732 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66734         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
66735         values higher than 25.6283.
66737 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66739         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
66740         subnormal exponent extraction and add some __builtin_expect.
66741         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
66742         Fix for subnormal mantissa calculation.
66744 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
66746         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
66747         cpu2 is -1 and errno is not ENOSYS.
66749 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
66751         [BZ #14117]
66752         * sysdeps/i386/i486/bits/string.h: Renamed to ...
66753         * sysdeps/x86/bits/string.h: This.
66754         * sysdeps/x86_64/bits/string.h: Removed.
66756         * sysdeps/i386/i486/bits/string.h: Define inline functions only
66757         if not compiling for x86-64, but compiling for >= i486.
66759         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
66760         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
66762         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
66763         New macro from Linux kernel 3.4.0.
66764         (FP_XSTATE_MAGIC2): Likewise.
66765         (FP_XSTATE_MAGIC2_SIZE): Likewise.
66766         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
66767         (struct _fpx_sw_bytes): New struct.
66768         (struct _xsave_hdr): Likewise.
66769         (struct _ymmh_state): Likewise.
66770         (struct _xstate): Likewise.
66772         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
66773         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
66774         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
66775         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
66776         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
66777         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
66779         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
66780         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
66781         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
66782         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
66783         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
66784         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
66786 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66788         [BZ #13743]
66789         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
66790         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
66791         (sysdep_headers): Include sys/platform/ppc.h.
66792         * sysdeps/powerpc/test-gettimebase.c: Test for
66793         __ppc_get_timebase() to catch future ISA opcode/insn changes.
66794         * manual/Makefile (appendices): Include platform.texi.
66795         * manual/contrib.texi (Contributors): Update @node pointers.
66796         * manual/maint.texi (Maintenance): Likewise.
66797         (Platform): New node.
66798         * manual/platform.texi: New file.  Document the new features.
66800 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
66801             Jakub Jelinek  <jakub@redhat.com>
66803         [BZ #14188]
66804         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
66805         where __builtin_expect is unavailable.
66807 2012-06-03  David S. Miller  <davem@davemloft.net>
66809         * stdlib/longlong.h: Updated from GCC.
66811 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
66813         [BZ #14042]
66814         * sysdeps/powerpc/powerpc32/mcount.c: New file.
66815         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
66816         __mcount_internal.
66817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66818         (GLIBC_2.16): Likewise.
66820 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66822         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
66824 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
66827         (default-abi): New variable.
66828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
66829         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
66830         variable.
66831         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
66832         Likewise.
66833         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
66834         Likewise.
66835         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
66836         Likewise.
66838         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
66839         definition.  Document in comment.
66841 2012-06-01  David S. Miller  <davem@davemloft.net>
66843         * stdlib/longlong.h: Updated from GCC.
66845 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66847         [BZ #14117]
66848         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
66849         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
66850         sys/debugreg.h sys/io.h here.
66851         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
66852         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
66853         sys/io.h.
66854         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
66855         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
66856         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
66857         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
66858         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
66859         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
66861         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
66862         Define only if __x86_64__ is defined.
66864 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
66866         [BZ #14048]
66867         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
66868         Use int64_t for variable i.
66869         * math/libm-test.inc (fmod_test): Add more tests.
66871         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
66872         z computation is not scheduled after fetestexcept.
66873         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
66874         Use math_force_eval instead of asm to ensure calculation scheduled
66875         before exception test.
66876         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
66877         Ensure a1 + u.d computation is not scheduled after fetestexcept.
66879 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
66881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
66882         computation is not scheduled after fetestexcept.
66884 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
66886         [BZ #14117]
66887         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
66888         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
66890 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66892         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
66893         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
66895 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66897         [BZ #14117]
66898         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
66899         <bits/wordsize.h>.
66900         (__WCHAR_MIN): Support __WORDSIZE == 64.
66901         (__WCHAR_MAX): Likewise.
66903         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
66904         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
66906         [BZ #14183]
66907         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
66908         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
66910         [BZ #14117]
66911         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
66912         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
66914         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
66915         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
66917         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
66918         Defined to 1 if __x86_64__ isn't defined.
66919         (_STAT_VER_LINUX_OLD): New.
66920         (st_atime): Remove duplicate.
66921         (st_mtime): Likewise.
66922         (st_ctime): Likewise.
66924 2012-05-31  David S. Miller  <davem@davemloft.net>
66926         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
66927         entries.
66929 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
66931         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
66932         gen-libm-test.pl.
66934         [BZ #14132]
66935         * elf/dl-reloc.c: Include <_itoa.h>.
66936         (_dl_reloc_bad_type): Remove use of INTUSE.
66937         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
66938         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
66939         * stdio-common/psiginfo.c (psiginfo): Likewise.
66940         * stdio-common/psignal.c (psignal): Likewise.
66941         * string/strsignal.c (strsignal): Likewise.
66942         * include/signal.h (_sys_siglist): Declare hidden proto.
66943         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
66944         INTVARDEF with libc_hidden_data_def.
66945         * stdio-common/itoa-udigits.c: Likewise.
66946         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
66947         (_itoa_lower_digits_internal): Remove declaration.
66948         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
66949         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
66950         (_sys_sigabbrev_internal): Remove aliases.
66951         (_sys_siglist): Define hidden alias.
66953 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
66955         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66956         bits/sysctl.h.
66958 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
66960         [BZ #14117]
66961         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
66962         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
66964         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
66965         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
66966         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
66967         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
66968         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
66969         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
66971         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
66972         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
66973         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
66975         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
66976         with __addr.
66977         (insw): Likewise.
66978         (insl): Likewise.
66979         (outsb): Likewise.
66980         (outsw): Likewise.
66981         (outsl): Likewise.
66983         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
66984         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
66985         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
66987         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
66988         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
66989         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
66990         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
66991         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
66992         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
66994         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
66995         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
66997         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
66998         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
67000         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
67001         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
67002         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
67004         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
67005         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
67006         to ...
67007         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
67009         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
67010         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
67011         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
67013         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
67014         for x86-64.
67015         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
67017 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
67019         * math/math.h (M_El): Use two more decimal places.
67020         (M_LOG2El): Likewise.
67021         (M_LOG10El): Likewise.
67022         (M_LN2l): Likewise.
67023         (M_LN10l): Likewise.
67024         (M_PIl): Likewise.
67025         (M_PI_2l): Likewise.
67026         (M_PI_4l): Likewise.
67027         (M_1_PIl): Likewise.
67028         (M_2_PIl): Likewise.
67029         (M_2_SQRTPIl): Likewise.
67030         (M_SQRT2l): Likewise.
67031         (M_SQRT1_2l): Likewise.
67033 2012-05-31  David S. Miller  <davem@davemloft.net>
67035         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
67036         values between float registers.
67037         * sysdeps/sparc/sparc64/memset.S: Likewise.
67038         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
67040 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
67042         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
67043         -D_FORTIFY_SOURCE=1.
67044         (CPPFLAGS-tst-longjmp_chk.c): Define.
67045         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
67046         (CPPFLAGS-tst-longjmp_chk2.c): Define.
67047         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
67048         CFLAGS-tst-wchar-h.c.
67050 2012-05-31  Marek Polacek  <polacek@redhat.com>
67052         [BZ #14132]
67053         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
67054         __endmntent_internal): Remove declaration.
67055         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
67056         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
67057         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
67059 2012-05-30  David S. Miller  <davem@davemloft.net>
67061         * sysdeps/sparc/sparc32/soft-fp/q_util.c
67062         (___Q_simulate_exceptions): Use real FP ops rather than writing
67063         into the %fsr.
67064         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
67065         Likewise.
67067 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67069         [BZ #14117]
67070         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
67071         * sysdeps/x86/bits/xtitypes.h: This.
67073         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
67074         * sysdeps/x86/bits/wordsize.h: This.
67076         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
67077         * sysdeps/x86/bits/huge_vall.h: This.
67079         * sysdeps/i386/bits/select.h: Removed.
67080         * sysdeps/x86_64/bits/select.h: Renamed to ...
67081         * sysdeps/x86/bits/select.h: This.
67083         * sysdeps/i386/bits/setjmp.h: Removed.
67084         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
67085         * sysdeps/x86/bits/setjmp.h: This.
67087         * sysdeps/i386/bits/mathdef.h: Removed.
67088         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
67089         * sysdeps/x86/bits/mathdef.h: This.
67091 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
67093         [BZ #14132]
67094         * include/sys/socket.h (__connect_internal)
67095         (__libc_sa_len_internal): Remove declaration.
67096         (__connect, __libc_sa_len): Declare hidden_proto.
67097         (SA_LEN): Remove use of INTUSE.
67098         * socket/connect.c: Add libc_hidden_def.
67099         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
67100         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
67101         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
67102         alias.
67103         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
67104         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
67105         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
67106         of adding _internal alias.
67108 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67110         [BZ #14117]
67111         * sysdeps/i386/bits/link.h: Removed.
67112         * sysdeps/i386/bits/linkmap.h: Likewise.
67113         * sysdeps/x86_64/bits/link.h: Renamed to ...
67114         * sysdeps/x86/bits/link.h: This.
67115         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
67116         * sysdeps/x86/bits/linkmap.h: This.
67118         * sysdeps/i386/bits/endian.h: Removed.
67119         * sysdeps/x86_64/bits/endian.h: Renamed to ...
67120         * sysdeps/x86/bits/endian.h: This.
67122         * sysdeps/i386/bits/byteswap.h: Removed.
67123         * sysdeps/i386/bits/byteswap-16.h: Likewise.
67124         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
67125         * sysdeps/x86/bits/byteswap.h: This.
67126         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
67127         * sysdeps/x86/bits/byteswap-16.h: This.
67128         * sysdeps/i386/Implies: Add x86.
67129         * sysdeps/x86_64/Implies: Likewise.
67131 2012-05-30  David S. Miller  <davem@davemloft.net>
67133         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
67134         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
67135         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
67136         (FP_TRAPPING_EXCEPTIONS): Define.
67137         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
67138         (FP_TRAPPING_EXCEPTIONS): Define.
67139         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
67140         subnormals only when inexact has been signalled or underflow
67141         exceptions are enabled.
67142         (_FP_PACK_CANONICAL): Likewise.
67144 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67146         [BZ #14183]
67147         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
67148         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
67150 2012-05-30  Richard Henderson  <rth@twiddle.net>
67152         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
67153         with #ifndef NOT_IN_libc.
67155         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
67156         marked to avoid plt entry.
67158 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
67160         [BZ #14112]
67161         * Makeconfig (default-abi): New macro.
67162         (abi-includes): Likewise.
67163         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
67164         $(abi-$(default-abi)-lib-soname) for soname if defined.
67165         ($(common-objpfx)gnu/lib-names.stmp): Generate from
67166         abi-variants.
67167         * Makefile (installed-stubs): Likewise.
67168         * include/stubs-biarch.h: Removed.
67169         * scripts/lib-names.awk: Only handle one library at a time.
67170         * scripts/soversions.awk: Remove WORDSIZE support.
67171         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
67172         entries.
67173         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
67174         Removed.
67175         (syscall-list-default-condition): Likewise.
67176         (syscall-list-default-condition): Likewise.
67177         (syscall-list-includes): Likewise.
67178         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
67179         syscall-list-* with abi-*.  Handle undefined abi-variants.
67180         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
67181         * sysdeps/unix/sysv/linux/i386/Implies: New file.
67182         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
67183         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
67184         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
67185         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
67186         Removed.
67187         (syscall-list-32-options): Likewise.
67188         (syscall-list-32-condition): Likewise.
67189         (syscall-list-64-options): Likewise.
67190         (syscall-list-64-condition): Likewise.
67191         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
67192         macro.
67193         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
67194         Renamed to ...
67195         (abi-*): This.
67196         (abi-64-ld-soname): New macro.
67197         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
67198         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
67199         Renamed to ...
67200         (abi-*): This.
67201         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
67202         * sysdeps/x86_64/x32/shlib-versions: Likewise.
67204 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
67206         * sysdeps/unix/sysv/linux/kernel-features.h
67207         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
67208         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
67209         include <kernel-features.h>.
67210         [!__NR_ftruncate64]: Remove conditional code.
67211         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67212         [__NR_ftruncate64]: Make code unconditional.
67213         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67214         * sysdeps/unix/sysv/linux/truncate64.c: Do not
67215         include <kernel-features.h>.
67216         [!__NR_ftruncate64]: Remove conditional code.
67217         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67218         [__NR_ftruncate64]: Make code unconditional.
67219         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
67221         include <kernel-features.h>.
67222         [!__NR_ftruncate64]: Remove conditional code.
67223         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67224         [__NR_ftruncate64]: Make code unconditional.
67225         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
67227         include <kernel-features.h>.
67228         [!__NR_ftruncate64]: Remove conditional code.
67229         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67230         [__NR_ftruncate64]: Make code unconditional.
67231         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
67233         * configure.in (libc_cv_fpie): Weaken to a compile test using
67234         LIBC_TRY_CC_OPTION.
67235         * configure: Regenerated.
67237 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67239         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
67240         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
67241         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
67242         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67243         Refreshed.
67244         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
67245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
67246         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
67247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
67248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
67249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67250         Refreshed.
67252 2012-05-27  David S. Miller  <davem@davemloft.net>
67254         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
67255         (___Q_zero): New.
67256         (__Q_simulate_exceptions): Return void.  Change to simulate
67257         exceptions by writing into the %fsr.
67258         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
67259         (__Qp_handle_exceptions): Likewise.
67260         (numbers): Delete.
67261         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
67262         __Qp_handle_exceptions.
67263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
67264         __Qp_handle_exceptions.
67265         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67266         as unused and give dummy FP_RND_NEAREST initializer.
67267         (FP_INHIBIT_RESULTS): Define.
67268         (___Q_simulate_exceptions): Update declaration.
67269         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
67270         formatting.
67271         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
67272         as unused and give dummy FP_RND_NEAREST initializer.
67273         (__Qp_handle_exceptions): Update declaration.
67274         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
67275         formatting.
67277 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
67279         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
67280         the temporary FPU control word.
67281         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
67282         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
67283         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
67284         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
67285         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
67286         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
67287         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
67288         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
67289         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
67290         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
67291         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
67293 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
67295         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
67296         fields.
67298 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
67300         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
67301         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
67302         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
67303         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
67304         Likewise.
67305         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
67306         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
67307         Likewise.
67309 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
67311         * po/h.po: Update from translation team.
67313 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
67315         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
67317         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
67318         handling of denormals.
67319         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
67320         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
67321         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
67322         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
67323         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
67324         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
67325         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
67326         Likewise.
67328 2012-05-26  Marek Polacek  <polacek@redhat.com>
67330         [BZ #14152]
67331         * math/libm-test.inc (fma_test): Don't always expect underflow
67332         exception.
67334 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67336         [BZ #12416]
67337         * elf/tst-execstack.c: Include stackinfo.h.
67338         (do_test): Adjust test case to ensure that pthread_getattr_np
67339         behaviour remains the same after marking stack executable.
67341 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67343         * sysdeps/unix/sysv/linux/kernel-features.h
67344         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
67345         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
67346         kernel-features.h.
67347         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67348         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67349         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
67350         kernel-features.h.
67351         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
67352         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
67354 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
67356         * configure.in: Define the default includes to being none.
67357         * configure: Regenerated.
67359 2012-05-25  Roland McGrath  <roland@hack.frob.com>
67361         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
67362         * sysdeps/x86_64/setjmp.S: Likewise.
67363         * sysdeps/i386/bsd-setjmp.S: Likewise.
67364         * sysdeps/i386/bsd-_setjmp.S: Likewise.
67365         * sysdeps/i386/setjmp.S: Likewise.
67366         * sysdeps/i386/__longjmp.S: Likewise.
67367         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
67368         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
67370         * include/stap-probe.h: New file.
67371         * configure.in: Handle --enable-systemtap.
67372         * configure: Regenerated.
67373         * config.h.in (USE_STAP_PROBE): New #undef.
67374         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
67375         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
67376         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
67378 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
67380         [BZ #13717]
67381         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67382         to 2.4.0 where earlier.
67383         * sysdeps/unix/sysv/linux/configure: Regenerated.
67384         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
67385         <kernel-features.h>.
67386         [__ASSUME_32BITUIDS]: Make code unconditional.
67387         [!__ASSUME_32BITUIDS]: Remove conditional code.
67388         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
67389         <kernel-features.h>.
67390         [__ASSUME_32BITUIDS]: Make code unconditional.
67391         [!__ASSUME_32BITUIDS]: Remove conditional code.
67392         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
67393         [__ASSUME_32BITUIDS]: Make code unconditional.
67394         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
67395         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
67396         <kernel-features.h>.
67397         [__ASSUME_32BITUIDS]: Make code unconditional.
67398         [!__ASSUME_32BITUIDS]: Remove conditional code.
67399         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
67400         <kernel-features.h>.
67401         [__ASSUME_32BITUIDS]: Make code unconditional.
67402         [!__ASSUME_32BITUIDS]: Remove conditional code.
67403         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
67404         <kernel-features.h>.
67405         [__ASSUME_32BITUIDS]: Make code unconditional.
67406         [!__ASSUME_32BITUIDS]: Remove conditional code.
67407         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
67408         <kernel-features.h>.
67409         [__ASSUME_32BITUIDS]: Make code unconditional.
67410         [!__ASSUME_32BITUIDS]: Remove conditional code.
67411         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
67412         <kernel-features.h>.
67413         [__ASSUME_32BITUIDS]: Make code unconditional.
67414         [!__ASSUME_32BITUIDS]: Remove conditional code.
67415         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
67416         <kernel-features.h>.
67417         [__ASSUME_32BITUIDS]: Make code unconditional.
67418         [!__ASSUME_32BITUIDS]: Remove conditional code.
67419         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
67420         <kernel-features.h>.
67421         [__ASSUME_32BITUIDS]: Make code unconditional.
67422         [!__ASSUME_32BITUIDS]: Remove conditional code.
67423         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
67424         <kernel-features.h>.
67425         [__ASSUME_32BITUIDS]: Make code unconditional.
67426         [!__ASSUME_32BITUIDS]: Remove conditional code.
67427         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
67428         <kernel-features.h>.
67429         [__ASSUME_32BITUIDS]: Make code unconditional.
67430         [!__ASSUME_32BITUIDS]: Remove conditional code.
67431         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
67432         <kernel-features.h>.
67433         [__ASSUME_32BITUIDS]: Make code unconditional.
67434         [!__ASSUME_32BITUIDS]: Remove conditional code.
67435         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
67436         <kernel-features.h>.
67437         [__NR_setresgid] (__setresgid): Do not declare.
67438         [__ASSUME_32BITUIDS]: Make code unconditional.
67439         [!__ASSUME_32BITUIDS]: Remove conditional code.
67440         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
67441         <kernel-features.h>.
67442         [__NR_setresuid] (__setresuid): Do not declare.
67443         [__ASSUME_32BITUIDS]: Make code unconditional.
67444         [!__ASSUME_32BITUIDS]: Remove conditional code.
67445         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
67446         <kernel-features.h>.
67447         [__ASSUME_32BITUIDS]: Make code unconditional.
67448         [!__ASSUME_32BITUIDS]: Remove conditional code.
67449         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
67450         <kernel-features.h>.
67451         [__ASSUME_32BITUIDS]: Make code unconditional.
67452         [!__ASSUME_32BITUIDS]: Remove conditional code.
67453         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
67454         <kernel-features.h>.
67455         [__ASSUME_32BITUIDS]: Make code unconditional.
67456         [!__ASSUME_32BITUIDS]: Remove conditional code.
67457         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
67458         <kernel-features.h>.
67459         [__ASSUME_32BITUIDS]: Make code unconditional.
67460         [!__ASSUME_32BITUIDS]: Remove conditional code.
67461         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
67462         <kernel-features.h>.
67463         [__ASSUME_32BITUIDS]: Make code unconditional.
67464         [!__ASSUME_32BITUIDS]: Remove conditional code.
67465         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
67466         <kernel-features.h>.
67467         [__ASSUME_32BITUIDS]: Make code unconditional.
67468         [!__ASSUME_32BITUIDS]: Remove conditional code.
67469         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
67470         <kernel-features.h>.
67471         [__ASSUME_32BITUIDS]: Make code unconditional.
67472         [!__ASSUME_32BITUIDS]: Remove conditional code.
67473         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
67474         <kernel-features.h>.
67475         [__ASSUME_32BITUIDS]: Make code unconditional.
67476         [!__ASSUME_32BITUIDS]: Remove conditional code.
67477         * sysdeps/unix/sysv/linux/i386/setuid.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/shmctl.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/kernel-features.h
67486         (__ASSUME_SETRESUID_SYSCALL): Remove.
67487         (__ASSUME_SETRESGID_SYSCALL): Likewise.
67488         (__ASSUME_32BITUIDS): Likewise.
67489         (__ASSUME_LDT_WORKS): Likewise.
67490         (__ASSUME_O_DIRECTORY): Likewise.
67491         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
67492         architecture but not kernel version.
67493         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
67494         (__ASSUME_MMAP2_SYSCALL): Likewise.
67495         (__ASSUME_STAT64_SYSCALL): Likewise.
67496         (__ASSUME_IPC64): Likewise.
67497         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
67498         <kernel-features.h>.
67499         [__ASSUME_32BITUIDS]: Make code unconditional.
67500         [!__ASSUME_32BITUIDS]: Remove conditional code.
67501         * sysdeps/unix/sysv/linux/opendir.c: Do not include
67502         <kernel-features.h>.
67503         [__ASSUME_O_DIRECTORY]: Make code unconditional.
67504         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
67505         132096]: Remove conditional code.
67506         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
67507         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
67508         <kernel-features.h>.
67509         [__ASSUME_32BITUIDS]: Make code unconditional.
67510         [!__ASSUME_32BITUIDS]: Remove conditional code.
67511         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
67512         <kernel-features.h>.
67513         [__ASSUME_32BITUIDS]: Make code unconditional.
67514         [!__ASSUME_32BITUIDS]: Remove conditional code.
67515         * sysdeps/unix/sysv/linux/setegid.c: Do not include
67516         <kernel-features.h>.
67517         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
67518         unconditional.
67519         (__setresgid): Do not declare.
67520         [__ASSUME_32BITUIDS]: Make code unconditional.
67521         [!__ASSUME_32BITUIDS]: Remove conditional code.
67522         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
67523         <kernel-features.h>.
67524         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
67525         unconditional.
67526         (__setresuid): Do not declare.
67527         [__ASSUME_32BITUIDS]: Make code unconditional.
67528         [!__ASSUME_32BITUIDS]: Remove conditional code.
67529         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
67530         <kernel-features.h>.
67531         [__ASSUME_32BITUIDS]: Make code unconditional.
67532         [!__ASSUME_32BITUIDS]: Remove conditional code.
67533         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
67534         <kernel-features.h>.
67535         [__ASSUME_32BITUIDS]: Make code unconditional.
67536         [!__ASSUME_32BITUIDS]: Remove conditional code.
67538 2012-05-25  Richard Henderson  <rth@twiddle.net>
67540         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
67541         dl_hwcap to ifunc resolver.
67542         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
67543         elf_ifunc_invoke.
67544         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
67545         dl_hwcap to ifunc resolver.
67546         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
67548 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67550         [BZ #14153]
67551         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
67552         for |x| <= 2**-26, not 2**-57.
67553         * math/libm-test.inc (acos_test): Do not allow spurious underflow
67554         exception.
67556 2012-05-24  Jeff Law  <law@redhat.com>
67558         * stdio-common/Makefile (tests): Add bug25.
67559         * stdio-common/bug25.c: New test.
67561 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67563         [BZ #13576]
67564         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
67565         multiple of MALLOC_ALIGNMENT in size.
67566         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
67568 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67570         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
67571         Require >= 256.
67572         (FILENAME_MAX): Use macro-int-constant.
67573         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
67574         (_IOFBF): Use macro-int-constant.
67575         (_IOLBF): Likewise.
67576         (_IONBF): Likewise.
67577         (SEEK_CUR): Likewise.
67578         (SEEK_END): Likewise.
67579         (SEEK_SET): Likewise.
67580         (TMP_MAX): Likewise.
67581         (EOF): Use macro-int-constant.  Require < 0.
67582         (NULL): Use macro-constant.  Require == 0.
67583         (stdin): Require type to be FILE *.
67584         (stdout): Likewise.
67585         (stderr): Likewise.
67586         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
67587         macro-int-constant.
67588         (EXIT_SUCCESS): Likewise.
67589         (NULL): Use macro-constant.  Require == 0.
67590         (RAND_MAX): Use macro-int-constant.
67591         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
67592         [C99-based standards] (strtof): Require function.
67593         [C99-based standards] (strtold): Likewise.
67594         [C99-based standards] (strtoll): Likewise.
67595         [C99-based standards] (strtoull): Likewise.
67596         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
67597         [ISO || ISO99 || ISO11] (limits.h): Likewise.
67598         [ISO || ISO99 || ISO11] (math.h): Likewise.
67599         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
67600         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
67601         [ISO || ISO99 || ISO11] (*_t): Do not allow.
67603 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
67605         [BZ #14132]
67606         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
67607         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
67608         * intl/dgettext.c (DCGETTEXT): Likewise.
67609         * intl/gettext.c (DCGETTEXT): Likewise.
67610         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
67611         * posix/regex_internal.h (gettext): Likewise.
67612         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
67613         Remove declaration.
67614         * include/argz.h (__argz_count_internal)
67615         (__argz_stringify_internal): Remove declaration.
67616         (__argz_count, __argz_stringify): Declare hidden proto.
67617         * intl/dcgettext.c: Remove use of INTDEF.
67618         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
67619         * string/argz-stringify.c: Likewise.
67620         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67621         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67622         Declare hidden proto.
67623         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
67624         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
67625         Declare hidden proto.
67626         * include/stdio.h (__asprintf_internal): Don't declare.
67627         (__asprintf): Don't define as macro.  Declare hidden proto.
67628         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
67629         (__fsetlocking): Declare hidden proto.
67630         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
67631         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
67632         hidden proto.
67633         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
67634         (_IO_setlinebuf): Remove use of INTUSE.
67635         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
67636         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
67637         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
67638         Remove declaration.
67639         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
67640         (_IO_do_flush): Remove use of INTUSE.
67641         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
67642         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
67643         (_IO_adjust_column, _IO_least_wmarker)
67644         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
67645         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
67646         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
67647         (_IO_default_doallocate, _IO_wdefault_doallocate)
67648         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
67649         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
67650         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
67651         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
67652         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
67653         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
67654         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
67655         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
67656         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
67657         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
67658         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
67659         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
67660         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
67661         proto.
67662         (_IO_flush_all_internal, _IO_adjust_column_internal)
67663         (_IO_default_uflow_internal, _IO_default_finish_internal)
67664         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
67665         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
67666         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
67667         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
67668         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
67669         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
67670         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
67671         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
67672         (_IO_file_close_internal, _IO_file_close_it_internal)
67673         (_IO_file_underflow_internal, _IO_file_overflow_internal)
67674         (_IO_file_init_internal, _IO_file_attach_internal)
67675         (_IO_file_fopen_internal, _IO_file_read_internal)
67676         (_IO_file_sync_internal, _IO_file_seek_internal)
67677         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
67678         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
67679         (_IO_str_underflow_internal, _IO_str_overflow_internal)
67680         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
67681         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
67682         (_IO_list_all_internal, _IO_link_in_internal)
67683         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
67684         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
67685         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
67686         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
67687         (_IO_do_write_internal, _IO_padn_internal)
67688         (_IO_getline_info_internal, _IO_getline_internal)
67689         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
67690         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
67691         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
67692         (_IO_vfscanf_internal, _IO_vfprintf_internal)
67693         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
67694         (_IO_init_internal, _IO_un_link_internal): Don't declare.
67695         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
67696         with libc_hidden_ver, remove use of INTUSE.
67697         * libio/genops.c: Likewise.
67698         * libio/freopen.c: Likewise.
67699         * libio/freopen64.c: Likewise.
67700         * libio/iofclose.c: Likewise.
67701         * libio/iofdopen.c: Likewise.
67702         * libio/iofflush.c: Likewise.
67703         * libio/iofflush_u.c: Likewise.
67704         * libio/iofgets.c: Likewise.
67705         * libio/iofgets_u.c: Likewise.
67706         * libio/iofopen.c: Likewise.
67707         * libio/iofopncook.c: Likewise.
67708         * libio/iofread.c: Likewise.
67709         * libio/iofread_u.c: Likewise.
67710         * libio/ioftell.c: Likewise.
67711         * libio/iofwrite.c: Likewise.
67712         * libio/iogetline.c: Likewise.
67713         * libio/iogets.c: Likewise.
67714         * libio/iogetwline.c: Likewise.
67715         * libio/iopadn.c: Likewise.
67716         * libio/iopopen.c: Likewise.
67717         * libio/ioseekoff.c: Likewise.
67718         * libio/ioseekpos.c: Likewise.
67719         * libio/iosetbuffer.c: Likewise.
67720         * libio/iosetvbuf.c: Likewise.
67721         * libio/ioungetc.c: Likewise.
67722         * libio/ioungetwc.c: Likewise.
67723         * libio/iovdprintf.c: Likewise.
67724         * libio/iovsprintf.c: Likewise.
67725         * libio/iovsscanf.c: Likewise.
67726         * libio/memstream.c: Likewise.
67727         * libio/obprintf.c: Likewise.
67728         * libio/oldfileops.c: Likewise.
67729         * libio/oldiofclose.c: Likewise.
67730         * libio/oldiofdopen.c: Likewise.
67731         * libio/oldiofopen.c: Likewise.
67732         * libio/oldiopopen.c: Likewise.
67733         * libio/oldstdfiles.c: Likewise.
67734         * libio/putc.c: Likewise.
67735         * libio/setbuf.c: Likewise.
67736         * libio/setlinebuf.c: Likewise.
67737         * libio/stdfiles.c: Likewise.
67738         * libio/strops.c: Likewise.
67739         * libio/vasprintf.c: Likewise.
67740         * libio/vscanf.c: Likewise.
67741         * libio/vsnprintf.c: Likewise.
67742         * libio/vswprintf.c: Likewise.
67743         * libio/wfiledoalloc.c: Likewise.
67744         * libio/wfileops.c: Likewise.
67745         * libio/wgenops.c: Likewise.
67746         * libio/wmemstream.c: Likewise.
67747         * libio/wstrops.c: Likewise.
67748         * libio/__fpurge.c: Likewise.
67749         * libio/__fsetlocking.c: Likewise.
67750         * assert/assert.c: Likewise.
67751         * debug/fgets_chk.c: Likewise.
67752         * debug/fgets_u_chk.c: Likewise.
67753         * debug/fread_chk.c: Likewise.
67754         * debug/fread_u_chk.c: Likewise.
67755         * debug/gets_chk.c: Likewise.
67756         * debug/obprintf_chk.c: Likewise.
67757         * debug/vasprintf_chk.c: Likewise.
67758         * debug/vdprintf_chk.c: Likewise.
67759         * debug/vsnprintf_chk.c: Likewise.
67760         * debug/vsprintf_chk.c: Likewise.
67761         * malloc/mtrace.c: Likewise.
67762         * misc/error.c: Likewise.
67763         * misc/syslog.c: Likewise.
67764         * stdio-common/asprintf.c: Likewise.
67765         * stdio-common/fxprintf.c: Likewise.
67766         * stdio-common/getw.c: Likewise.
67767         * stdio-common/isoc99_fscanf.c: Likewise.
67768         * stdio-common/isoc99_scanf.c: Likewise.
67769         * stdio-common/isoc99_vfscanf.c: Likewise.
67770         * stdio-common/isoc99_vscanf.c: Likewise.
67771         * stdio-common/isoc99_vsscanf.c: Likewise.
67772         * stdio-common/printf-prs.c: Likewise.
67773         * stdio-common/printf_fp.c: Likewise.
67774         * stdio-common/printf_fphex.c: Likewise.
67775         * stdio-common/printf_size.c: Likewise.
67776         * stdio-common/putw.c: Likewise.
67777         * stdio-common/scanf.c: Likewise.
67778         * stdio-common/sprintf.c: Likewise.
67779         * stdio-common/tmpfile.c: Likewise.
67780         * stdio-common/vfprintf.c: Likewise.
67781         * stdio-common/vfscanf.c: Likewise.
67782         * stdlib/strfmon_l.c: Likewise.
67783         * sunrpc/openchild.c: Likewise.
67784         * sunrpc/xdr_stdio.c: Likewise.
67785         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
67786         * sysdeps/mach/hurd/tmpfile.c: Likewise.
67788 2012-05-24  Roland McGrath  <roland@hack.frob.com>
67790         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
67792         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
67793         in the third column, to generate for the shared library an IFUNC
67794         that uses _dl_vdso_vsym.
67795         * Makerules (COMPILE.c, compile-stdin.c): New variables.
67796         * Makeconfig (object-suffixes-noshared): New variable.
67798         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
67799         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
67800         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
67801         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
67803         [BZ #14132]
67804         * include/sys/time.h (__gettimeofday): Remove macro.
67805         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
67806         * time/gettimeofday.c (__gettimeofday): Remove #undef.
67807         Remove INTDEF.
67808         (__gettimeofday): Add libc_hidden_def.
67809         (gettimeofday): Add libc_hidden_weak.
67810         * sysdeps/mach/gettimeofday.c: Likewise.
67811         * sysdeps/posix/gettimeofday.c: Likewise.
67812         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
67813         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
67814         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
67815         (__gettimeofday_internal): Remove strong_alias.
67816         (__gettimeofday): Add libc_hidden_def.
67817         (gettimeofday): Add libc_hidden_weak.
67818         * sysdeps/unix/syscalls.list (gettimeofday):
67819         Remove __gettimeofday_internal alias.
67821 2012-05-24  Daniel Jacobowitz  <drow@false.org>
67822             H.J. Lu  <hongjiu.lu@intel.com>
67824         [BZ #12495]
67825         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
67826         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
67827         (largebin_index_32_big): New.
67828         (largebin_index): Use it for 16-byte alignment.
67829         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
67830         correction with front_misalign.
67832 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
67834         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
67835         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
67836         Likewise.
67837         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
67838         Likewise.
67839         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67840         Likewise.
67841         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
67842         Likewise.
67843         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
67844         Likewise.
67845         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
67846         Likewise.
67847         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
67848         Likewise.
67849         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
67850         Likewise.
67851         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
67852         Likewise.
67853         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
67854         Likewise.
67855         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
67856         Likewise.
67857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
67858         Likewise.
67860         * scripts/data/c++-types-x32-linux-gnu.data: New file.
67861         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
67863 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
67865         [BZ #10846]
67866         [BZ #14036]
67867         * math/libm-test.inc (exp_test): Add test from bug 14036.
67868         (pow_test): Add test from bug 10846.
67870         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
67871         and other flags.
67872         (special_function): Do not include flags in test name.
67873         (parse_args): Likewise.
67874         * sysdeps/i386/fpu/libm-test-ulps: Update.
67875         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
67876         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
67877         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
67878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67880         * math/gen-libm-test.pl (%beautify): Add entries for underflow
67881         exceptions.
67882         * math/libm-test.inc ("Philosophy"): Update comment about
67883         exception testing.
67884         (UNDERFLOW_EXCEPTION): New macro.
67885         (UNDERFLOW_EXCEPTION_OK): Likewise.
67886         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
67887         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
67888         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
67889         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
67890         (INVALID_EXCEPTION_OK): Update value.
67891         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67892         (OVERFLOW_EXCEPTION_OK): Likewise.
67893         (IGNORE_ZERO_INF_SIGN): Likewise.
67894         (test_exceptions): Handle underflow exceptions.
67895         (acos_test): Update for underflow exception expectations.
67896         (cexp_test): Likewise.
67897         (clog_test): Likewise.
67898         (clog10_test): Likewise.
67899         (csqrt_test): Likewise.
67900         (ctan_test): Likewise.
67901         (ctanh_test): Likewise.
67902         (exp_test): Likewise.
67903         (exp10_test): Likewise.
67904         (exp2_test): Likewise.
67905         (expm1_test): Likewise.
67906         (fma_test): Likewise.
67907         (j0_test): Likewise.
67908         (jn_test): Likewise.
67909         (nexttoward_test): Likewise.
67910         (pow_test): Likewise.
67911         (scalbn_test): Likewise.
67912         (scalbln_test): Likewise.
67913         (tan_test): Likewise.
67914         (y1_test): Likewise.
67915         * sysdeps/i386/fpu/libm-test-ulps: Update.
67916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67918 2012-05-23  David S. Miller  <davem@davemloft.net>
67920         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67921         (__libc_sigaction): Remove unused local variables.
67923 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67925         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
67927 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
67929         mktime: avoid signed integer overflow
67930         * time/mktime.c (__mktime_internal): Do not mishandle the case
67931         where diff == INT_MIN.
67933         mktime: simplify computation of average
67934         * time/mktime.c (ranged_convert): Use new time_t_avg function
67935         instead of rolling our own (probably-slower) code.
67937         mktime: do not assume signed right shift propagates sign bit
67938         * time/mktime.c (isdst_differ): New static function.
67939         (__mktime_internal): No need to normalize tm_isdst now.
67940         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
67941         tm_isdst values.
67943         mktime: merge another wrapv change from gnulib
67944         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
67945         from some compilers.
67947         mktime: remove incorrect attempt at unusual arithmetics
67948         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
67949         The code didn't really work on such machines anyway.
67950         (TYPE_MINIMUM): Assume two's complement.
67951         (twos_complement_arithmetic): Verify that long_int and time_t
67952         are two's complement (or unsigned, in the latter case).
67954         mktime: check signed shifts on long_int and time_t, too
67955         * time/mktime.c (SHR): Check that shifts work as desired
67956         on the types long_int and time_t too, as SHR is used on
67957         such types.
67959         mktime: do not assume 'long' is wide enough
67960         * time/mktime.c (verify): Move decl up.
67961         (long_int): New type.
67962         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
67963         to remove assumption in the code that 'long' is wide enough to
67964         store year values.  This assumption is not true on x32 and on
67965         some non-glibc platforms.
67967         mktime: merge wrapv change from gnulib
67968         * time/mktime.c (WRAPV): New macro.
67969         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
67970         (guess_time_tm, __mktime_internal): Do not assume that signed
67971         integer overflow wraps around; modern compilers generate code
67972         where this assumption is no longer valid.
67974 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67976         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
67977         Replace "jmp L(pseudo_end)" with "ret".
67978         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
67979         Likewise.
67981 2012-05-23  Andreas Jaeger  <aj@suse.de>
67983         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
67984         * sysdeps/unix/sysv/linux/poll.c: Remove file.
67986 2012-05-23  Andreas Jaeger  <aj@suse.de>
67987             Maximilian Attems  <max@stro.at>
67989         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
67990         New macros.
67992 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
67994         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
67995         code so that pseudo_end is just ret and the stack pointer is
67996         correct also for static library in error case.
67998 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
68000         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
68001         move to syscalls.list.
68002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
68003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
68004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
68005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
68007         * manual/install.texi (Running make install): Do not mention Linux
68008         kernel version for which pt_chown is not needed.
68009         (Linux): Do not mention problems with nscd with 2.0 kernels.
68010         * INSTALL: Regenerated.
68012 2012-05-23  Andreas Jaeger  <aj@suse.de>
68014         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
68015         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
68016         macro.
68017         * sysdeps/unix/sysv/linux/s390/bits/mman.h
68018         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68019         * sysdeps/unix/sysv/linux/sh/bits/mman.h
68020         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68021         * sysdeps/unix/sysv/linux/i386/bits/mman.h
68022         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68023         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
68024         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68025         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
68026         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
68027         * sysdeps/unix/sysv/linux/bits/in.h
68028         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
68030 2012-05-22  Roland McGrath  <roland@hack.frob.com>
68032         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
68033         (PREPARE_VERSION): Just use assert instead, it will be elided
68034         under [NDEBUG] anyway.
68036 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68038         * sysdeps/unix/sysv/linux/Makefile: Include
68039         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
68040         (sysdep_routines): Remove sysctl.
68041         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
68042         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
68043         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
68044         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
68045         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
68047 2012-05-22  Andreas Jaeger  <aj@suse.de>
68049         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
68050         that pseudo_end is just ret and the stack pointer is correct also
68051         for static library in error case.
68053 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
68055         [BZ #14122]
68056         * nss/nsswitch.c (defconfig_entries): New variable.
68057         (__nss_database_lookup): Don't leak defconfig entries.
68058         (nss_parse_service_list): Don't leak on error paths.
68059         (free_database_entries): New function.
68060         (free_defconfig): New function.
68061         (free_mem): Move common code to free_database_entries.
68063 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68065         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
68066         Add arch_prctl.
68067         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
68069         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
68070         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
68071         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
68072         New macro.
68073         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
68074         (INTERNAL_SYSCALL_TYPES): Likewise.
68075         (LOAD_ARGS_TYPES_[1-6]): Likewise.
68076         (LOAD_REGS_TYPES_[1-6]): Likewise.
68077         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
68078         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
68080 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68082         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
68083         copysignl for GLIBC_2_0.
68084         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
68085         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
68086         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
68087         logbl for GLIBC_2_0.
68088         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
68089         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
68091 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68093         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
68094         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68096         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
68097         Use "neg %eax".
68099         * time/mktime.c: Update copyright years.
68101 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
68103         mktime: merge comment-quoting-style change from gnulib
68104         * time/mktime.c: Quote 'like this' in comments.
68105         The GNU coding standards suggest that we no longer quote `like this',
68106         as "`" and "'" are typically rendered asymmetrically nowadays.
68107         The typical gnulib style is to quote 'like this' when quoting
68108         code, and "like this" when quoting English.
68110         * time/mktime.c (compile-command): Add "-I.".
68112         mktime: merge mktime-internal.h change from gnulib
68113         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
68115         mktime: merge time_r change from gnulib
68116         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
68118         mktime: merge DEBUG change from gnulib
68119         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
68120         case system <time.h> has a #define.
68122         mktime: merge <sys/types.h> change from gnulib
68123         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
68124         since <time.t> is now guaranteed to define time_t.
68126         mktime: merge HAVE_CONFIG_H change from gnulib
68127         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
68129 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
68131         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68132         Use "neg %eax".
68134         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
68135         __rlim_t cast.
68136         (struct rusage): Use anonymous union to pad each field to
68137         __syscall_slong_t.
68139 2012-05-21  David S. Miller  <davem@davemloft.net>
68141         * Makefules (o-iterator): Remove .s cases.
68142         (compile-command.s): Delete.
68143         (COMPILE.s): Delete.
68144         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
68146 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
68148         * configure.in (libc_cv_predef_stack_protector): Only consider
68149         "foobar" and "__stack_chk_fail" lines in libc_undefs.
68150         * configure: Regenerated.
68152 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
68155         New macro.  Use R*LP on int and pointer.
68156         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
68157         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
68158         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
68159         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
68161         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
68162         [__WORDSIZE_TIME64_COMPAT32] instead of
68163         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
68164         (struct utmp): Likewise.
68165         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
68166         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
68167         Renamed to ...
68168         (__WORDSIZE_TIME64_COMPAT32): This.
68169         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
68170         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
68171         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
68172         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
68173         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
68174         (__WORDSIZE_TIME64_COMPAT32): New macro.
68176 2012-05-21  Andreas Jaeger  <aj@suse.de>
68178         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
68179         only if [SHARED]. Add prototype for __wcschr_ia32.
68181 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68183         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
68184         of %rbp unmolested in the jmp_buf while mangling the low bits.
68185         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
68186         unmolested high bits of %rbp while demangling the low bits.
68187         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
68189 2012-05-21  Andreas Jaeger  <aj@suse.de>
68191         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
68192         * sunrpc/svc_simple.c: Use it for registerrpc.
68193         * sunrpc/xcrypt.c: Use it for passwd2des.
68195         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
68197 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68199         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
68200         Don't define if [__SYSCALL_WORDSIZE != 32].
68201         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
68202         New macro.
68204 2012-05-21  Bruno Haible  <bruno@clisp.org>
68205             Andreas Jaeger  <aj@suse.de>
68207         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
68208         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
68209         inptr and inend for must_buffer_ch.
68210         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
68211         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
68212         * stdio-common/Makefile (tests): Remove bug15.
68213         (bug15-ENV): Remove macro.
68214         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
68215         anymore.
68217 2012-05-19  Andreas Jaeger  <aj@suse.de>
68218             Roland McGrath  <roland@hack.frob.com>
68220         * manual/contrib.texi: Completely rewritten. It contains now an
68221         alphabetical list of contributors and their contributions.
68223 2012-05-21  Richard Henderson  <rth@twiddle.net>
68225         * misc/getauxval.c (__getauxval): Use unsigned long int.
68226         * misc/sys/auxv.h: Include <sys/cdefs.h>.
68227         (getauxval): Use unsigned long int.
68229 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
68231         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
68233 2012-05-21  Roland McGrath  <roland@hack.frob.com>
68235         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
68236         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
68237         __alignof__ (long double).
68239 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68241         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68243 2012-05-20  Richard Henderson  <rth@twiddle.net>
68245         * misc/getauxval.c: New file.
68246         * misc/sys/auxv.h: New file.
68247         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
68248         (routines): Add getauxval.
68249         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
68250         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
68251         * elf/dl-sysdep.c (_dl_auxv): Remove.
68252         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
68253         * elf/dl-support.c (_dl_auxv): New variable.
68254         (_dl_aux_init): Initialize it.
68255         * manual/startup.texi (Auxiliary Vector): New node.
68256         * sysdeps/generic/bits/hwcap.h: New file.
68257         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
68258         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
68259         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
68260         * sysdeps/sparc/sysdep.h: ... here.  Include it.
68261         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
68262         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
68263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68264         Update.
68265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
68266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
68267         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
68268         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
68269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68270         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
68271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
68272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
68274 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68276         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68278 2012-05-19  David S. Miller  <davem@davemloft.net>
68280         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68282 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68284         [BZ #14123]
68285         * math/s_ccosh.c: Include <float.h>
68286         (__ccosh): Avoid internal overflow calculating sinh and cosh
68287         values before multiplying by sin and cos values.
68288         * math/s_ccoshf.c: Likewise.
68289         * math/s_ccoshl.c: Likewise.
68290         * math/s_csin.c: Likewise.
68291         * math/s_csinf.c: Likewise.
68292         * math/s_csinl.c: Likewise.
68293         * math/s_csinh.c: Likewise.
68294         * math/s_csinhf.c: Likewise.
68295         * math/s_csinhl.c: Likewise.
68296         * math/libm-test.inc (ccos_test): Add more tests.
68297         (ccosh_test): Likewise.
68298         (csin_test): Likewise.
68299         (csinh_test): Likewise.
68300         * sysdeps/i386/fpu/libm-test-ulps: Update.
68301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68303 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
68305         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
68306         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
68308         * sysdeps/x86_64/x32/_itoa.h: Add comment.
68310 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
68312         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
68313         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
68314         * sysdeps/powerpc/soft-fp/Versions: Likewise.
68315         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
68316         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
68317         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
68318         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
68319         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
68320         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
68321         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
68322         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
68323         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
68324         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
68325         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
68326         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
68327         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
68328         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
68329         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
68330         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
68331         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
68332         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
68333         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
68334         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
68335         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
68336         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
68337         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
68338         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
68339         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
68340         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
68341         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
68342         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
68344 2012-05-18  Andreas Jaeger  <aj@suse.de>
68346         * csu/.gitignore: Delete.
68348 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68350         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
68351         (timex): Use __syscall_slong_t.
68353 2012-05-18  Andreas Jaeger  <aj@suse.de>
68354             Carlos O'Donell  <carlos_odonell@mentor.com>
68356         * manual/install.texi (Configuring and compiling): Update
68357         description about files modified in the source directory.
68358         * INSTALL: Regenerated.
68360 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68362         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
68363         value.  Use "or" to set return value to -1.
68364         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
68365         negate return value.
68367 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68369         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
68370         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
68371         failure if the compiler has Graphite support disabled.
68372         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
68373         Likewise.
68374         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
68375         (CFLAGS-memmove.c): Likewise.
68376         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
68377         Likewise.
68379 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
68381         * sysdeps/x86_64/x32/_itoa.h: New file.
68383         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
68384         getdents system call only if kernel and user dirents have the
68385         same d_ino and d_off.
68387         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68388         LLONG_MAX != LONG_MAX.
68389         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68390         (_fitoa_word): Likewise.
68392         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
68393         years.
68394         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
68395         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
68396         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
68398         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
68399         include <bits/wordsize.h>.  Check __x86_64__ instead of
68400         __WORDSIZE.
68401         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
68402         if __x86_64__ is defined.  Use anonymous union on fpstate.
68404         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
68405         anonymous union.
68407 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
68409         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
68410         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
68411         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
68412         Refer to _rtld_local_ro instead of _rtld_global_ro.
68413         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
68414         Likewise.
68415         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
68416         Likewise.
68417         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
68418         Likewise.
68419         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
68420         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
68421         of _rtld_global, and rtld_progname instead of _dl_argv[0].
68423         [BZ #10882]
68424         * sysdeps/powerpc/powerpc32/dl-machine.c
68425         (__elf_machine_runtime_setup) [PROF]: Don't reference
68426         _dl_prof_resolve.
68428 2012-05-18  Andreas Jaeger  <aj@suse.de>
68430         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
68431         function only available for GCCs before 3.4 since GCC 3.4
68432         introduced a builtin.
68433         (lrint): Likewise.
68434         (llrintf): Likewise.
68435         (llrint): Likewise.
68436         (fmaxf): Likewise.
68437         (fmax): Likewise.
68438         (fminf): Likewise.
68439         (fmin): Likewise.
68440         (rint): Likewise.
68441         (rintf): Likewise.
68442         (nearbyint): Likewise.
68443         (nearbyintf): Likewise.
68444         (ceil): Likewise.
68445         (ceilf): Likewise.
68446         (floor): Likewise.
68447         (floorf): Likewise.
68449 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68451         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
68452         on both fields and cast pointer to __syscall_ulong_t.
68454         * bits/types.h (__fsword_t): New type.
68455         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
68456         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
68457         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68458         (__FSWORD_T_TYPE): Likewise.
68459         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68460         (__FSWORD_T_TYPE): Likewise.
68461         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68462         (__FSWORD_T_TYPE): Likewise.
68463         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
68464         (__FSWORD_T_TYPE): Likewise.
68465         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
68466         __SWORD_TYPE with __fsword_t.
68467         (statfs64): Likewise.
68469 2012-05-17  David S. Miller  <davem@davemloft.net>
68471         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
68473 2012-05-17  Andreas Jaeger  <aj@suse.de>
68475         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
68476         warning.
68478 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68480         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
68482 2012-05-17  Andreas Jaeger  <aj@suse.de>
68484         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
68485         when it is used.
68487 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68489         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
68491 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
68493         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
68494         * sysdeps/x86_64/tst-mallocalign1.c: New file.
68496 2012-05-17  Andreas Jaeger  <aj@suse.de>
68497             Carlos O'Donell  <carlos_odonell@mentor.com>
68499         [BZ #14059]
68500         * sysdeps/x86_64/multiarch/init-arch.h
68501         (bit_YMM_Usable): Rename to...
68502         (bit_AVX_Usable): ... this.
68503         (bit_FMA4_Usable): New macro.
68504         (bit_XMM_state): New macro.
68505         (bit_YMM_state): New macro.
68506         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
68507         [__ASSEMBLER__] (index_AVX_Usable): ... this.
68508         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
68509         (CPUID_OSXSAVE): New macro.
68510         (CPUID_AVX): New macro.
68511         (CPUID_FMA4): New macro.
68512         (index_YMM_Usable): Rename to...
68513         (index_AVX_Usable): ... this.
68514         (HAS_AVX): Use HAS_ARCH_FEATURE.
68515         (HAS_FMA4): Likewise.
68516         (HAS_YMM_USABLE): Remove.
68517         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68518         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
68519         are present.
68520         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
68521         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
68522         * sysdeps/x86_64/multiarch/Makefile: Likewise.
68523         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
68524         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
68526 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
68528         * math/libm-test.c: Support platforms without multiple rounding modes.
68529         * math/bug-nextafter.c: Support platforms without FP exceptions.
68530         * math/bug-nexttoward.c: Likewise.
68531         * math/test-fenv.c: Likewise.
68532         * math/test-misc.c: Likewise.
68533         * stdlib/bug-getcontext.c: Likewise.
68535 2012-05-17  Andreas Jaeger  <aj@suse.de>
68537         * manual/examples/search.c (critter_cmp): Change signature to
68538         avoid warnings.
68539         * manual/string.texi (Collation Functions): Likewise.
68541 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68543         * bits/types.h: Fold copyright years.
68544         * bits/typesizes.h: Likewise.
68545         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
68546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
68547         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
68548         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
68549         * time/time.h: Likewise.
68551 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
68553         [BZ #208]
68554         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
68555         in instead of returning them.  Return void.
68556         (__libc_mallinfo): Accumulate over all arenas.
68557         (__malloc_stats): Adjust for change in int_mallinfo interface.
68559 2012-05-16  Roland McGrath  <roland@hack.frob.com>
68561         [BZ #10375]
68562         * configure.in (NM): Add AC_CHECK_TOOL for it.
68563         (libc_extra_cflags): New substituted variable.
68564         Check for -fstack-protector being used implicitly.
68565         * configure: Regenerated.
68566         * config.make.in (config-extra-cflags): New variable,
68567         gets @libc_extra_cflags@.
68568         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
68570         [BZ #10375]
68571         * configure.in: Check for _FORTIFY_SOURCE being predefined.
68572         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
68573         * configure: Regenerated.
68574         * config.make.in (CPPUNDEFS): New substituted variable.
68575         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
68576         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
68577         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
68579 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68581         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
68582         (mq_attr): Use __syscall_slong_t.
68584 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68586         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
68587         Check __x86_64__ instead of __WORDSIZE.
68588         (_STAT_VER_LINUX): Likewise.
68589         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
68590         __syscall_ulong_t and __syscall_slong_t.
68591         (stat64): Likewise.
68593 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68595         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
68597 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68599         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
68601 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68603         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
68604         __syscall_ulong_t.
68606         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
68607         include <bits/wordsize.h>.  Check __x86_64__ instead of
68608         __WORDSIZE.
68609         (greg_t): Use "__extension__ long long int" if __x86_64__ is
68610         defined.
68611         (mcontext_t): Replace "unsigned long" with "unsigned long long".
68613         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
68614         include <bits/wordsize.h>.  Check __x86_64__ instead of
68615         __WORDSIZE.
68616         (user_regs_struct): Use "__extension__ unsigned long long"
68617         instead of "unsigned long" if __x86_64__ is defined.
68618         (user): Likewise.  Pad after pointer field if __ILP32__ is
68619         defined.
68621 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
68623         * configure.in (makeinfo): Require version 4.5 or later.  Allow
68624         versions 5 to 9.
68625         * configure: Regenerated.
68626         * manual/install.texi (texinfo): Increase version requirement to
68627         4.5 or later.
68628         * INSTALL: Regenerated.
68630         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
68632 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
68634         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
68636         * sysdeps/x86_64/x32/ffs.c: New file.
68638         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
68639         __syscall_ulong_t.
68640         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
68641         defined.  Use __syscall_ulong_t.
68642         (shminfo): Use __syscall_ulong_t.
68643         (shm_info): Likewise.
68645         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
68646         __syscall_ulong_t.
68648         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
68649         <bits/wordsize.h>.
68650         (msgqnum_t): Use __syscall_ulong_t.
68651         (msglen_t): Likewise.
68652         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
68653         __syscall_ulong_t.
68655         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
68656         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68658         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
68660         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
68661         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
68663         * sysvipc/sys/msg.h (msgbuf): Replace long int with
68664         __syscall_slong_t.
68666         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
68667         include <bits/wordsize.h>.  Check __x86_64__ instead of
68668         __WORDSIZE.
68670         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
68671         "unsigned long long int" if __x86_64__ is defined.
68672         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
68674         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
68675         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
68676         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
68678         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
68679         <stdint.h>.
68680         (GET_PC): Cast to uintptr_t first.
68681         (GET_FRAME): Likewise.
68682         (GET_STACK): Likewise.
68684         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
68685         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
68686         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
68687         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
68688         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
68689         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
68690         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
68691         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
68692         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
68693         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
68694         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
68695         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
68696         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68697         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
68698         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
68699         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
68700         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
68701         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
68702         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
68703         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
68704         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
68705         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
68706         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
68707         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
68708         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
68709         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
68710         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
68711         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
68712         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
68714 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
68716         * Makerules (+depfiles): Also collect depfiles from .oS in
68717         $(extra-objs).
68718         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
68719         .oS, $(libnldbl-routines)).
68721         * Makerules (native-compile-mkdep-flags): Define.
68722         * sunrpc/Makefile (extra-objs): Add $(addprefix
68723         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
68724         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
68725         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
68726         calling $(make-target-directory).
68728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68730         * bits/types.h (__snseconds_t): Removed.
68731         * time/time.h (struct timespec): Replace __snseconds_t with
68732         __syscall_slong_t.
68733         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
68734         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
68735         Likewise.
68736         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68737         (__SNSECONDS_T_TYPE): Likewise.
68738         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68739         (__SNSECONDS_T_TYPE): Likewise.
68740         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68741         (__SNSECONDS_T_TYPE): Likewise.
68743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68745         * sysdeps/mach/hurd/bits/typesizes.h
68746         (__SYSCALL_SLONG_TYPE): New macro.
68747         (__SYSCALL_ULONG_TYPE): Likewise.
68749 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68751         * bits/types.h (__syscall_slong_t): New type.
68752         (__syscall_ulong_t): Likewise.
68754         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
68755         (__SYSCALL_ULONG_TYPE): Likewise.
68756         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68757         (__SYSCALL_SLONG_TYPE): Likewise.
68758         (__SYSCALL_ULONG_TYPE): Likewise.
68759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68760         (__SYSCALL_SLONG_TYPE): Likewise.
68761         (__SYSCALL_ULONG_TYPE): Likewise.
68762         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68763         (__SYSCALL_SLONG_TYPE): Likewise.
68764         (__SYSCALL_ULONG_TYPE): Likewise.
68766 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68768         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
68769         Add sigaltstack-offsets.sym.
68770         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
68771         <sigaltstack-offsets.h>.
68772         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
68773         longjmp_msg pointer.
68774         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
68775         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
68776         signal stack.
68777         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
68779 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68781         * elf/stackguard-macros.h: Remove file.
68782         * sysdeps/generic/stackguard-macros.h: New file.
68783         * sysdeps/i386/stackguard-macros.h: Likewise.
68784         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
68785         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
68786         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
68787         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
68788         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
68789         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
68790         * sysdeps/x86_64/stackguard-macros.h: Likewise.
68791         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
68792         <elf/stackguard-macros.h>.
68794         [BZ #14109]
68795         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
68796         __aligned__ in attribute.
68797         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
68798         (gregset_t): Likewise.
68800 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68802         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
68803         * sysdeps/x86_64/64/Implies-after: Here.  New file.
68804         * sysdeps/x86_64/x32/Implies-after: New file.
68806 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68808         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
68809         and access return value for _dl_profile_fixup.  Use R10_LP to
68810         load frame size.
68812 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68814         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
68816 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68818         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
68819         * sysdeps/x86_64/x32/sysdep.h: New file.
68821 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68823         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
68824         * sysdeps/x86_64/setjmp.S: Likewise.
68826 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68828         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
68829         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
68830         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
68831         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
68832         remove unused global constant.
68834 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
68836         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
68837         include of <not-cancel.h>.
68839 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68841         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
68843 2012-05-15  Jeff Law  <law@redhat.com>
68844             Andreas Jaeger  <aj@suse.de>
68846         [BZ #13594]
68847         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
68848         out from...
68849         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
68850         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
68851         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
68852         code changing __hst_map_handle.map.
68854 2012-05-15  Roland McGrath  <roland@hack.frob.com>
68856         * configure.in (sysnames): Look for Implies-before and Implies-after
68857         files.
68858         * configure: Regenerated.
68860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68862         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
68863         8-byte data alignment with LP_SIZE alignment.
68865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68867         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
68868         into R10_LP.
68870 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68872         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
68874 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68876         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
68877         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
68878         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
68879         Likewise.
68880         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68882 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68884         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
68885         (stackinfo_sub_sp): Likewise.
68887 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68889         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
68890         RAX_LP.
68892 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68894         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
68895         into R*_LP.
68897 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68899         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
68900         sizes into R*_LP.
68902 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68904         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
68906 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68908         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
68909         into R11_LP and load __x86_64_shared_cache_size_half into
68910         R8_LP.
68912 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
68914         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
68915         R8_LP.
68917 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68919         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
68920         logb for POWER7.
68921         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
68922         logbf for POWER7.
68923         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
68924         logbl for POWER7.
68925         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
68926         powerpc32/power7/fpu/s_logb.c via #include.
68927         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
68928         powerpc32/power7/fpu/s_logbf.c via #include.
68929         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
68930         powerpc32/power7/fpu/s_logbl.c via #include.
68932 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
68934         * README.libm: Remove file.
68936 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68938         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
68939         count for x32.  Use R*_LP and omit operand-size suffix.
68941 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68943         * shlib-versions: Move x86_64-.*-linux.* entries to ...
68944         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
68945         * sysdeps/x86_64/x32/shlib-versions: New file.
68947 2012-05-14  Roland McGrath  <roland@hack.frob.com>
68949         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
68950         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
68951         Use _dl_fatal_printf instead.
68953 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
68955         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
68956         set if not set by the user.  Do not allow for being unset.
68957         * sysdeps/unix/sysv/linux/configure: Regenerated.
68959 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68961         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
68962         the `q' suffix from lea and replace .quad with ASM_ADDR.
68964 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68966         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
68967         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
68968         instead of $17.
68969         (PTR_DEMANGLE): Likewise.
68971 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68973         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
68974         (LP_OP): Likewise.
68975         (ASM_ADDR): Likewise.
68976         (RAX_LP): Likewise.
68977         (RBP_LP): Likewise.
68978         (RBX_LP): Likewise.
68979         (RCX_LP): Likewise.
68980         (RDI_LP): Likewise.
68981         (RSI_LP): Likewise.
68982         (RSP_LP): Likewise.
68983         (R8_LP): Likewise.
68984         (R9_LP): Likewise.
68985         (R10_LP): Likewise.
68986         (R10_LP): Likewise.
68987         (R11_LP): Likewise.
68988         (R12_LP): Likewise.
68989         (R13_LP): Likewise.
68990         (R14_LP): Likewise.
68991         (R15_LP): Likewise.
68993 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
68995         * sysdeps/x86_64/x32/dl-machine.h: New file.
68997 2012-05-14  Andreas Jaeger  <aj@suse.de>
68999         * manual/Makefile (subdir): Remove export of subdir.
69000         (all): Remove target.
69001         (.PHONY): Remove all from list.
69002         (mkinstalldirs): Remove.
69003         (.PHONY): Remove installdirs from list.
69004         ($(inst_infodir)/libc.info): Use make-target-directory.
69005         (installdirs): Remove.
69006         (subdir_%): Remove.
69007         (glibc-targets): Remove.
69008         (lib): Remove.
69009         (stubs): Remove.
69010         ($(objpfx)stubs ../po/manual.pot): Remove.
69011         ($(objpfx)stamp%): Remove.
69012         (make-target-directory): Remove.
69013         (subdir_install): Remove.
69014         (routines): Remove.
69015         (aux): Remove.
69016         (sources): Remove.
69017         (objects): Remove.
69018         (headers): Remove.
69020         [BZ #13750]
69021         * manual/.gitignore: Remove, it's not needed anymore.
69022         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
69023         all files in it.
69024         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
69025         directory.
69026         (texis): Renamed to $(objpfx)texis.
69027         (texis-path): New, contains path to generated files.
69028         (chapters.%): Use texis-path for complete path, add extra argument
69029         libc-texinfo.sh.
69030         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
69031         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69032         (summary,texi, stamp-summary): Use complete path of
69033         files. Generate files in build dir.
69034         (dir-add.texi): Build in build dir.
69035         (libm-err.texi,stamp-libm-err): Likewise.
69036         (version.texi, stamp-version): Likewise.
69037         (.%c.texi): Likewise.
69038         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69039         (mostlyclean): Remove target.
69040         (realclean): Remove target.
69041         (generated): Add new variable with contents from mostlyclean and
69042         realclean, remove entries duplicated in common-mostlyclean, add
69043         stamp-libm-err and stamp-version.
69044         (generated-dirs): Add libc directory.
69045         ($(inst_infodir)/libc.info): Install files from build dir.
69047         * manual/install.texi (Configuring and compiling): Adjust since
69048         the info files are not part of the tar ball anymore.
69050 2012-05-14  Andreas Jaeger  <aj@suse.de>
69052         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
69053         variable.
69055 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
69057         [BZ #13717]
69058         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
69059         to 2.2.0 where earlier.
69060         * sysdeps/unix/sysv/linux/configure: Regenerated.
69061         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
69062         Remove conditional code.
69063         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
69064         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69065         Remove conditional code.
69066         [!__NR_lchown]: Likewise.
69067         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69068         [__NR_lchown]: Likewise.
69069         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
69070         comment referencing __ASSUME_LCHOWN_SYSCALL.
69071         * sysdeps/unix/sysv/linux/i386/sigaction.c
69072         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69073         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69074         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
69075         Remove conditional code.
69076         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
69077         (__protocol_available): Remove #if 0 code.
69078         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
69079         conditional code.
69080         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
69081         * sysdeps/unix/sysv/linux/kernel-features.h
69082         (__ASSUME_GETCWD_SYSCALL): Don't define.
69083         (__ASSUME_REALTIME_SIGNALS): Likewise.
69084         (__ASSUME_PREAD_SYSCALL): Likewise.
69085         (__ASSUME_PWRITE_SYSCALL): Likewise.
69086         (__ASSUME_POLL_SYSCALL): Likewise.
69087         (__ASSUME_LCHOWN_SYSCALL): Likewise.
69088         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
69089         non-SPARC.
69090         (__ASSUME_SIOCGIFNAME): Don't define.
69091         (__ASSUME_MSG_NOSIGNAL): Likewise.
69092         (__ASSUME_SENDFILE): Define unconditionally.
69093         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
69094         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
69095         conditional code.
69096         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
69097         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
69098         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69099         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69100         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
69101         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
69102         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
69103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
69104         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69105         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
69107         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69108         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
69110         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69111         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
69113         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69114         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
69116         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69117         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
69119         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
69120         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
69122         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69123         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
69125         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69126         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69127         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
69128         Remove conditional code.
69129         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69130         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69131         Remove conditional code.
69132         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69133         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
69134         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
69135         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69136         Remove conditional code.
69137         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69138         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
69139         Remove conditional code.
69140         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69141         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
69142         Remove conditional code.
69143         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69144         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
69145         Remove conditional code.
69146         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
69147         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
69148         Remove conditional code.
69149         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69150         * sysdeps/unix/sysv/linux/sh/pwrite64.c
69151         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
69152         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
69153         * sysdeps/unix/sysv/linux/sigaction.c
69154         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69155         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69156         * sysdeps/unix/sysv/linux/sigpending.c
69157         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69158         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69159         * sysdeps/unix/sysv/linux/sigprocmask.c
69160         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69161         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69162         * sysdeps/unix/sysv/linux/sigsuspend.c
69163         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
69164         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
69165         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
69166         (__libc_missing_rt_sigs): Remove.
69167         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
69168         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
69169         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
69170         Remove conditional code.
69171         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
69172         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
69173         return 1.
69174         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
69175         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
69176         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
69177         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
69179 2012-05-14  Andreas Jaeger  <aj@suse.de>
69181         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
69182         it's not used in glibc.
69183         (__coshm1): Likewise.
69184         (__acosh1p): Likewise.
69185         (__sgn): Likewise.
69187         * manual/string.texi (Copying and Concatenation): Add missing
69188         variable in concat example.
69189         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
69191 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69193         [BZ #14103]
69194         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
69195         __builtin_clzl with __builtin_clzll.
69197 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
69199         [BZ #14104]
69200         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
69201         libc_freeres_ptr.
69203 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
69205         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
69206         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
69207         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
69208         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
69210 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
69212         * NEWS: Update ia64 info.
69214 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
69216         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
69217         used as bcopy.
69219 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
69221         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
69222         * sysdeps/unix/syscalls.list (dup3): Likewise.
69223         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
69224         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
69226 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69228         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
69229         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
69231 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
69233         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
69234         thread pointer.
69235         (TLS_IE): Use mov/add instead of movq/addq to load thread
69236         pointer.
69237         (TLS_GD_PREFIX): New.
69238         (TLS_GD): Use it.
69240 2012-05-11  David S. Miller  <davem@davemloft.net>
69242         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
69243         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
69244         (_FPU_SETCW): Likewise.
69246 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69248         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
69249         is 32-byte aligned.
69251 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
69253         [BZ #11837]
69254         * iconvdata/gb18030.c: Update tables.
69255         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
69256         characters specially.
69257         (BODY for TO_LOOP): Add encoding of missing ranges.
69259 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
69261         [BZ #13673]
69262         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
69263         * sysdeps/mach/hurd/dup3.c: Likewise.
69264         * sysdeps/mach/hurd/readlinkat.c: Likewise.
69265         * sysdeps/powerpc/memmove.c:: Likewise.
69267 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69269         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
69270         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
69272 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69274         * elf/elf.h (R_X86_64_RELATIVE64): New.
69275         (R_X86_64_NUM): Updated.
69276         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69277         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
69278         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
69279         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
69280         tst-quad1pie tst-quad2pie
69281         (modules-names): Add tst-quadmod1 tst-quadmod2.
69282         ($(objpfx)tst-quad1): New dependency.
69283         ($(objpfx)tst-quad2): Likewise.
69284         ($(objpfx)tst-quad1pie): Likewise.
69285         ($(objpfx)tst-quad2pie): Likewise.
69286         * sysdeps/x86_64/tst-quad1.c: New file.
69287         * sysdeps/x86_64/tst-quad1pie.c: New file.
69288         * sysdeps/x86_64/tst-quad2.c: Likewise.
69289         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
69290         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
69291         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
69292         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
69293         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
69295 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69297         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
69298         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
69299         * streams/stropts.h (t_scalar_t): Define type.
69301         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
69302         (_PATH_PRESERVE): Set to "/var/lib".
69303         (_PATH_RWHODIR): Set to "/var/spool/rwho".
69305         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
69306         instead of int.
69308         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
69309         if __dir_mkfile succeeded.
69311         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
69312         checking for _hurd_dtablesize.  Unlock it right after having
69313         finished _hurd_dtable allocation.
69315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69317         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
69318         * sysdeps/mach/hurd/configure: Regenerated.
69319         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
69320         special-casing to...
69321         * sysdeps/gnu/configure.in: ... this new file.
69322         * sysdeps/unix/sysv/linux/configure: Regenerated.
69323         * sysdeps/gnu/configure: New generated file.
69325         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
69326         for Linux: use nsec instead of usec, as well as:
69327         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
69328         members of type struct timespec.
69329         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
69330         New macros.
69331         (struct stat64): Likewise.
69332         (_STATBUF_ST_NSEC): New macro.
69333         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
69335         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
69336         __strtoul_internal rather than strtoul.
69338 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69340         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
69341         and reject them.
69343 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69345         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
69346         which preserves existing values.
69347         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
69349 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69351         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
69352         TIMEOUT values.  Return EINVAL for NFDS values either negative or
69353         greater than FD_SETSIZE.
69355 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69357         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
69358         allocated, call __vm_protect to finish enabling the existing space, and
69359         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
69360         allocate the remainder.
69362 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69364         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
69365         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
69367 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69369         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
69370         sysdeps/mach/hurd/readlink.c.
69372         * posix/tst-sysconf.c (posix_options): Only use
69373         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
69374         _POSIX_SYNCHRONIZED_IO when they are defined
69375         * sysdeps/mach/hurd/bits/posix_opt.h:
69376         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
69377         (_XOPEN_REALTIME): Undefine macro.
69378         (_XOPEN_REALTIME_THREADS): Undefine macro.
69379         (_XOPEN_SHM): Undefine macro.
69380         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
69381         macro to -1.
69382         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
69383         macro to -1.
69384         (_POSIX_ASYNC_IO): Undefine macro.
69385         (_POSIX_PRIORITIZED_IO): Undefine macro.
69386         (_POSIX_SPIN_LOCKS): Define macro to -1.
69388         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
69389         SA_NODEFER, SA_RESETHAND.
69390         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
69391         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
69392         F_DUPFD_CLOEXEC.
69394 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69396         * elf/Makefile (pldd-modules): Define unconditionally.
69398 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69400         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
69402 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69404         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
69405         Return ENOENT when name is empty.
69406         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
69408 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69410         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
69412         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
69414 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69416         Fix mlock in all cases except non-readable pages.
69417         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
69418         instead of VM_PROT_ALL as parameter to __vm_wire function.
69420         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
69421         (__mkdir): When path is `/', just fail with EEXIST.
69422         * sysdeps/mach/hurd/mkdirat.c: Likewise.
69424 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69426         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
69427         <sys/uio.h> (for writev).
69428         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
69429         and <sys/param.h> (for MIN).
69431 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
69433         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
69434         REQUESTED_TIME.  Properly set the remaining time and return EINTR
69435         if interrupted.
69437 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69439         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
69440         Depend on against $(link-rpcuserlibs).
69442 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69444         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
69445         (__libc_stack_end): Do not use attribute_relro.
69446         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
69447         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
69448         to libthread-provided value.
69449         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
69450         attribute_relro.
69452 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69454         [BZ #3748]
69455         * bits/libc-lock.h (__libc_once_get): New macro.
69456         * sysdeps/mach/bits/libc-lock.h: Likewise.
69457         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
69458         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
69459         instead of using implementation details.
69461         * libio/fileops.c: Unconditionally include <kernel-features.h>.
69462         * libio/freopen.c: Likewise.
69463         * libio/freopen64.c: Likewise.
69464         * misc/syslog.c: Likewise.
69465         * nscd/connections.c: Likewise.
69466         * nscd/netgroupcache.c: Likewise.
69467         * sysdeps/posix/getcwd.c: Likewise.
69469 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69471         * math/w_ilogbf.c: Add #include <limits.h>.
69473 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69475         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
69476         path instead of returning without unlocking.
69478         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
69479         immediate-write ioctls.
69480         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
69482 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69484         * sysdeps/mach/hurd/i386/init-first.c (init): Use
69485         __builtin_frame_address instead of making assumptions about the
69486         location of the return address relative to DATA.  Force early load of
69487         the return address.
69488         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
69489         __builtin_frame_address.
69491         dup3 for GNU Hurd.
69492         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
69493         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
69494         implement dup3 and do some further code clean-ups.
69495         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
69496         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
69498 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69500         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
69502         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
69503         HURD_CRITICAL_END around holding _hurd_dtable_lock.
69504         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
69505         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
69506         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
69507         d->port.lock.
69509         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
69510         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
69511         when handler == SIG_ERR, not when handler != SIG_ERR.
69513 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69515         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
69516         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
69517         definitions.
69519         accept4 for GNU Hurd.
69520         * include/sys/socket.h (__libc_accept4): New prototype.
69521         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
69522         to implement __libc_accept4.
69523         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
69524         __libc_accept4.
69525         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
69527         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
69528         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
69529         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
69530         signal-defines.sym.
69532 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69534         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
69536 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
69538         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
69539         assertion on O_CLOEXEC flag.
69540         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
69541         * hurd/intern-fd.c: Likewise.
69542         * hurd/port2fd.c: Likewise.
69544 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
69546         [BZ #3906]
69547         * bits/in.h (IPV6_PKTINFO): Define new macro.
69548         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
69550 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69552         [BZ #13954]
69553         [BZ #13955]
69554         [BZ #13956]
69555         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
69556         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
69557         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
69558         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
69559         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
69560         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
69561         * math/libm-test.inc (logb_test) : Additional logb tests.
69563 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
69564             Andreas Jaeger  <aj@suse.de>
69566         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
69567         * configure: Regenerated.
69568         * config.h.in (LINK_OBSOLETE_RPC): New macro.
69569         * config.make.in (link-obsolete-rpc): New substituted variable.
69570         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
69571         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
69572         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69573         (shared-only-routines): Don't set it under [link-obsolete-rpc],
69574         so that libc.a contains the symbols.
69575         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
69576         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
69577         * sunrpc/auth_none.c: Likewise.
69578         * sunrpc/auth_unix.c: Likewise.
69579         * sunrpc/authdes_prot.c: Likewise.
69580         * sunrpc/authuxprot.c: Likewise.
69581         * sunrpc/clnt_gen.c: Likewise.
69582         * sunrpc/clnt_perr.c: Likewise.
69583         * sunrpc/clnt_raw.c: Likewise.
69584         * sunrpc/clnt_simp.c: Likewise.
69585         * sunrpc/clnt_tcp.c: Likewise.
69586         * sunrpc/clnt_udp.c: Likewise.
69587         * sunrpc/clnt_unix.c: Likewise.
69588         * sunrpc/des_crypt.c: Likewise.
69589         * sunrpc/des_soft.c: Likewise.
69590         * sunrpc/get_myaddr.c: Likewise.
69591         * sunrpc/key_call.c: Likewise.
69592         * sunrpc/key_prot.c: Likewise.
69593         * sunrpc/netname.c: Likewise.
69594         * sunrpc/pm_getmaps.c: Likewise.
69595         * sunrpc/pm_getport.c: Likewise.
69596         * sunrpc/pmap_clnt.c: Likewise.
69597         * sunrpc/pmap_prot.c: Likewise.
69598         * sunrpc/pmap_prot2.c: Likewise.
69599         * sunrpc/pmap_rmt.c: Likewise.
69600         * sunrpc/publickey.c: Likewise.
69601         * sunrpc/rpc_cmsg.c: Likewise.
69602         * sunrpc/rpc_common.c: Likewise.
69603         * sunrpc/rpc_dtable.c: Likewise.
69604         * sunrpc/rpc_prot.c: Likewise.
69605         * sunrpc/rpc_thread.c: Likewise.
69606         * sunrpc/rtime.c: Likewise.
69607         * sunrpc/svc.c: Likewise.
69608         * sunrpc/svc_auth.c: Likewise.
69609         * sunrpc/svc_raw.c: Likewise.
69610         * sunrpc/svc_run.c: Likewise.
69611         * sunrpc/svc_tcp.c: Likewise.
69612         * sunrpc/svc_udp.c: Likewise.
69613         * sunrpc/svc_unix.c: Likewise.
69614         * sunrpc/svcauth_des.c: Likewise.
69615         * sunrpc/xcrypt.c: Likewise.
69616         * sunrpc/xdr.c: Likewise.
69617         * sunrpc/xdr_array.c: Likewise.
69618         * sunrpc/xdr_float.c: Likewise.
69619         * sunrpc/xdr_intXX_t.c: Likewise.
69620         * sunrpc/xdr_mem.c: Likewise.
69621         * sunrpc/xdr_rec.c: Likewise.
69622         * sunrpc/xdr_ref.c: Likewise.
69623         * sunrpc/xdr_sizeof.c: Likewise.
69624         * sunrpc/xdr_stdio.c: Likewise.
69626 2012-05-10  Roland McGrath  <roland@hack.frob.com>
69628         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
69629         change.  Update copyright years.
69631 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69633         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
69635 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
69636             Joseph Myers  <joseph@codesourcery.com>
69637             Paul Pluzhnikov  <ppluzhnikov@google.com>
69639         [BZ #14012]
69640         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
69641         requiring rpcgen.
69642         [cross-compiling] (extra-libs): Likewise.
69643         [cross-compiling] (extra-libs-others): Likewise.
69644         [cross-compiling] (librpcsvc-routines): Likewise.
69645         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
69646         [cross-compiling] (omit-deps): Likewise.
69647         (sunrpc-CPPFLAGS): New variable.
69648         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
69649         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
69650         (cross-rpcgen-objs): New variable.
69651         (extra-objs): Append $(cross-rpcgen-objs).
69652         ($(cross-rpcgen-objs)): New rule.
69653         ($(objpfx)cross-rpcgen): Likewise.
69654         (rpcgen-cmd): Define to use $(built-program-file).  Expand
69655         comment.
69656         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
69657         ($(objpfx)x%.stmp): Likewise.
69658         * sunrpc/proto.h [IS_IN_build] (_): Define.
69659         [IS_IN_build] (_libc_intl_domainname): Likewise.
69661 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
69663         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
69664         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
69665         and R_X86_64_TPOFF64.
69667 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
69669         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
69670         sysdeps/unix/sysv/syscalls.list.
69671         (stime): Likewise.
69672         (utime): Likewise.
69673         * sysdeps/unix/sysv/syscalls.list: Remove file.
69675 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
69677         [BZ #3440]
69678         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
69679         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
69680         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
69681         (__LC_IDENTIFICATION): Make these macros useful in #if
69682         expressions, as required by C99.
69684 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
69686         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
69687         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
69688         after this.
69690 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
69692         * stdlib/longlong.h: Updated from GCC.
69694 2012-05-09  Andreas Jaeger  <aj@suse.de>
69696         * nscd/nscd.c (run_modes): Make named enum, reorder so that
69697         default is first entry.
69698         (run_mode): Set type.
69699         (main): Remove informal message about syslog.
69700         (options): Fix typo.
69702         [BZ #14053]
69703         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
69704         to asm.
69705         (lrint): Likewise.
69706         (llrintf): Likewise.
69707         (llrint): Likewise.
69708         (rint): Likewise.
69709         (rintf): Likewise.
69710         (nearbyint): Likewise.
69711         (nearbyintf): Likewise.
69713 2012-05-09  Andreas Jaeger  <aj@suse.de>
69714             Pedro Alves  <palves@redhat.com>
69716         * nscd/nscd.c (run_mode): Use enum.
69717         (main): Cleanup coding style issue.
69719 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
69720             Andreas Jaeger  <aj@suse.de>
69722         * nscd/nscd.c (go_background): Replaced with...
69723         (run_mode): ... this.
69724         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
69725         (options): Add -F --foreground.
69726         (main): Implement it.
69727         (parse_opt): Parse it.
69729 2012-05-09  Andreas Jaeger  <aj@suse.de>
69731         [BZ #14083]
69732         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
69733         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
69734         -Wconversion warning.
69735         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
69736         Likewise.
69738 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
69740         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
69741         == 0.
69742         (LC_ALL): Use macro-int-constant.
69743         (LC_COLLATE): Likewise.
69744         (LC_CTYPE): Likewise.
69745         (LC_MESSAGES): Likewise.
69746         (LC_MONETARY): Likewise.
69747         (LC_NUMERIC): Likewise.
69748         (LC_TIME): Likewise.
69749         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
69750         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69751         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69752         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
69753         Specify type.
69754         [C99-based standards] (float_t): Expect type.
69755         [C99-based standards] (double_t): Expect type.
69756         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
69757         type.
69758         [C99-based standards] (HUGE_VALL): Likewise.
69759         [C99-based standards] (INFINITY): Likewise.
69760         [C99-based standards] (NAN): Likewise.
69761         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
69762         [C99-based standards] (FP_NAN): Likewise.
69763         [C99-based standards] (FP_NORMAL): Likewise.
69764         [C99-based standards] (FP_SUBNORMAL): Likewise.
69765         [C99-based standards] (FP_ZERO): Likewise.
69766         [C99-based standards] (FP_FAST_FMA): Use
69767         optional-macro-int-constant.  Specify type.  Require == 1.
69768         [C99-based standards] (FP_FAST_FMAF): Likewise.
69769         [C99-based standards] (FP_FAST_FMAL): Likewise.
69770         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
69771         [C99-based standards] (FP_ILOGBNAN): Likewise.
69772         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
69773         Specify type.
69774         [C99-based standards] (MATH_ERREXCEPT): Likewise.
69775         [C99-based standards] (math_errhandling): Specify type.
69776         [ISO99 || ISO11] (signgam): Do not allow.
69777         [non-C99-based standards] (copysignf): Do not allow.
69778         [non-C99-based standards] (exp2f): Likewise.
69779         [non-C99-based standards] (log2f): Likewise.
69780         [non-C99-based standards] (modff): Allow.
69781         [non-C99-based standards] (erff): Do not allow.
69782         [non-C99-based standards] (erfcf): Likewise.
69783         [non-C99-based standards] (gammaf): Likewise.
69784         [non-C99-based standards] (hypotf): Likewise.
69785         [non-C99-based standards] (j0f): Likewise.
69786         [non-C99-based standards] (j1f): Likewise.
69787         [non-C99-based standards] (jnf): Likewise.
69788         [non-C99-based standards] (lgammaf): Likewise.
69789         [non-C99-based standards] (tgammaf): Likewise.
69790         [non-C99-based standards] (y0f): Likewise.
69791         [non-C99-based standards] (y1f): Likewise.
69792         [non-C99-based standards] (ynf): Likewise.
69793         [non-C99-based standards] (isnanf): Likewise.
69794         [non-C99-based standards] (acoshf): Likewise.
69795         [non-C99-based standards] (asinhf): Likewise.
69796         [non-C99-based standards] (atanhf): Likewise.
69797         [non-C99-based standards] (cbrtf): Likewise.
69798         [non-C99-based standards] (expm1f): Likewise.
69799         [non-C99-based standards] (ilogbf): Likewise.
69800         [non-C99-based standards] (log1pf): Likewise.
69801         [non-C99-based standards] (logbf): Likewise.
69802         [non-C99-based standards] (nextafterf): Likewise.
69803         [non-C99-based standards] (remainderf): Likewise.
69804         [non-C99-based standards] (rintf): Likewise.
69805         [non-C99-based standards] (scalbf): Likewise.
69806         [non-C99-based standards] (copysignl): Likewise.
69807         [non-C99-based standards] (exp2l): Likewise.
69808         [non-C99-based standards] (log2l): Likewise.
69809         [non-C99-based standards] (modfl): Allow.
69810         [non-C99-based standards] (erfl): Do not allow.
69811         [non-C99-based standards] (erfcl): Likewise.
69812         [non-C99-based standards] (gammal): Likewise.
69813         [non-C99-based standards] (hypotl): Likewise.
69814         [non-C99-based standards] (j0l): Likewise.
69815         [non-C99-based standards] (j1l): Likewise.
69816         [non-C99-based standards] (jnl): Likewise.
69817         [non-C99-based standards] (lgammal): Likewise.
69818         [non-C99-based standards] (tgammal): Likewise.
69819         [non-C99-based standards] (y0l): Likewise.
69820         [non-C99-based standards] (y1l): Likewise.
69821         [non-C99-based standards] (ynl): Likewise.
69822         [non-C99-based standards] (isnanl): Likewise.
69823         [non-C99-based standards] (acoshl): Likewise.
69824         [non-C99-based standards] (asinhl): Likewise.
69825         [non-C99-based standards] (atanhl): Likewise.
69826         [non-C99-based standards] (cbrtl): Likewise.
69827         [non-C99-based standards] (expm1l): Likewise.
69828         [non-C99-based standards] (ilogbl): Likewise.
69829         [non-C99-based standards] (log1pl): Likewise.
69830         [non-C99-based standards] (logbl): Likewise.
69831         [non-C99-based standards] (nextafterl): Likewise.
69832         [non-C99-based standards] (remainderl): Likewise.
69833         [non-C99-based standards] (rintl): Likewise.
69834         [non-C99-based standards] (scalbl): Likewise.
69835         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69836         [non-C99-based standards] (FP_*): Do not allow.
69837         [C99-based standards] (FP_*): Change to
69838         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
69839         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69840         allow.
69841         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
69842         (SIG_ERR): Likewise.
69843         [X/Open-based standards] (SIG_HOLD): Likewise.
69844         (SIG_IGN): Likewise.
69845         (SIGABRT): Use macro-int-constant.  Specify type.  Require
69846         positive value.
69847         (SIGFPE): Likewise.
69848         (SIGILL): Likewise.
69849         (SIGINT): Likewise.
69850         (SIGSEGV): Likewise.
69851         (SIGTER): Likewise.
69852         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
69853         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
69854         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
69855         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
69856         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
69857         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
69858         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
69859         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
69860         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
69861         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
69862         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
69863         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
69864         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
69865         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
69866         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
69867         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
69868         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
69869         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
69870         [X/Open-based standards] (SIGTRAP): Likewise.
69871         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
69872         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
69873         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
69874         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
69875         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
69876         allow.
69878 2012-05-08  Ian Wienand  <ianw@vmware.com>
69880         [BZ #14080]
69881         * time/tzset.c (__tzset_parse_tz): Update default rules for
69882         daylight time changes in the Energy Policy Act of 2005.
69884 2012-05-09  Andreas Jaeger  <aj@suse.de>
69886         [BZ #13983]
69887         * elf/ldconfig.c (parse_conf): Change string to make clear that
69888         ldconfig only issued a warning if ld.so.conf does not exist.
69890 2012-05-08  David S. Miller  <davem@davemloft.net>
69892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
69893         movxtod instead of popping the value on the stack.
69895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69897 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
69899         * config.h.in: Add HAVE_ARM_PCS_VFP.
69901 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
69903         [BZ #13979]
69904         * include/features.h: Warn if user requests __FORTIFY_SOURCE
69905         checking but the checks are disabled for any reason.
69907 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
69909         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
69910         and ELF64_R_TYPE with ELFW(R_TYPE).
69912 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
69914         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
69915         (ulimit): Likewise.
69917         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
69918         (settimeofday): Likewise.
69920 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
69922         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
69923         a struct th_u2 inside the union, and move tu_block/tu_code into
69924         a new th_u3 union of tu_block/tu_code inside of that.  Move
69925         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
69926         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
69927         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
69928         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
69929         (th_stuff): Change to th_u1.tu_stuff.
69930         (th_data): Define.
69931         (th_msg): Change to th_u1.th_u2.tu_data.
69933 2012-05-07  David S. Miller  <davem@davemloft.net>
69935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69937         [BZ #14074]
69938         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
69939         (SETUP_PIC_REG): Use it.
69940         (SETUP_PIC_REG_LEAF): Use it.
69942 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
69944         [BZ #13885]
69945         [BZ #13923]
69946         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69947         USE_AS_EXPM1L.
69948         (EXPL_FINITE): Likewise.
69949         (FLDLOG): Likewise.
69950         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69951         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69952         e_expl.S.
69953         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69954         USE_AS_EXPM1L.
69955         (EXPL_FINITE): Likewise.
69956         (FLDLOG): Likewise.
69957         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
69958         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
69959         e_expl.S.
69960         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
69961         test of -max_value argument for long double.
69962         * sysdeps/i386/fpu/libm-test-ulps: Update.
69963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69965 2012-05-06  David S. Miller  <davem@davemloft.net>
69967         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
69968         quad soft-float symbols whose references which are compiler
69969         generated.
69970         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
69972 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
69974         [BZ #13884]
69975         [BZ #13914]
69976         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69977         USE_AS_EXP10L.
69978         (EXPL_FINITE): Likewise.
69979         (FLDLOG): Likewise.
69980         (c0): Likewise.
69981         (c1): Likewise.
69982         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69983         Adjust comments for base varying.
69984         (__expl_finite): Change alias to EXPL_FINITE.
69985         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
69986         e_expl.S.
69987         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
69988         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
69989         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
69990         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
69991         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
69992         USE_AS_EXP10L.
69993         (EXPL_FINITE): Likewise.
69994         (FLDLOG): Likewise.
69995         (c0): Likewise.
69996         (c1): Likewise.
69997         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
69998         Adjust comments for base varying.
69999         (__expl_finite): Change alias to EXPL_FINITE.
70000         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
70001         tests for bugs.
70002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70004         [BZ #14064]
70005         * math/libm-test.inc (check_float_internal): Correct ulp
70006         calculation for subnormal expected results.
70008 2012-05-06  Andreas Jaeger  <aj@suse.de>
70010         * Makeconfig (+math-flags): New, set to -frounding-math.
70011         (+cflags): Add +math-flags so that all of glibc gets compiled with
70012         it.
70014         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
70016 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
70018         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
70019         Disable one test.
70021         [BZ #13787]
70022         [BZ #13922]
70023         [BZ #14036]
70024         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
70025         (__ieee754_expl): Allow for and saturate large arguments.
70026         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
70027         (u_threshold): Likewise.
70028         (__exp): Call __ieee754_exp before checking for overflow and
70029         underflow.
70030         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
70031         (u_threshold): Likewise.
70032         (__expf): Call __ieee754_expf before checking for overflow and
70033         underflow.
70034         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
70035         (u_threshold): Likewise.
70036         (__expl): Call __ieee754_expl before checking for overflow and
70037         underflow.
70038         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
70039         (__ieee754_expl): Allow for and saturate large arguments.
70040         * math/libm-test.inc (exp_test): Add another test.  Do not allow
70041         missing overflow exception on overflow.
70042         (expm1_test): Do not allow missing overflow exception on overflow.
70044         * sysdeps/i386/fpu/e_expl.c: Move to ...
70045         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
70046         rather than using inline asm.
70047         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
70048         * sysdeps/x86_64/fpu/e_expl.S: Copy from
70049         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
70051         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
70052         (nice): Likewise.
70053         (poll): Likewise.
70054         (signal): Likewise.
70055         (time): Likewise.
70056         (times): Likewise.
70058 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70060         * sysdeps/unix/syscalls.list (adjtime): Add entry from
70061         sysdeps/unix/common/syscalls.list.
70062         (fchmod): Likewise.
70063         (fchown): Likewise.
70064         (ftruncate): Likewise.
70065         (getrusage): Likewise.
70066         (gettimeofday): Likewise.
70067         (setpgid): Likewise.
70068         (setregid): Likewise.
70069         (setreuid): Likewise.
70070         (sigaction): Likewise.
70071         (truncate): Likewise.
70072         (vhangup): Likewise.
70073         * sysdeps/unix/common/syscalls.list: Remove file.
70074         * sysdeps/unix/bsd/Implies: Don't include unix/common.
70075         * sysdeps/unix/sysv/linux/Implies: Likewise.
70077 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
70079         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
70080         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
70081         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
70082         Moved to ...
70083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
70084         Here.
70085         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
70086         to ...
70087         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
70088         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
70089         to ...
70090         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
70091         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
70092         to ...
70093         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
70094         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
70095         to ...
70096         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
70097         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
70098         to ...
70099         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
70100         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
70101         to ...
70102         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
70103         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
70104         to ...
70105         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
70106         Here.
70107         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
70108         to ...
70109         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
70110         Here.
70111         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
70112         to ...
70113         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
70114         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
70115         Moved to ...
70116         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
70117         Here.
70118         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
70119         to ...
70120         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
70122 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70124         * sysdeps/unix/common/bits/dirent.h: Remove file.
70125         * sysdeps/unix/common/bits/fcntl.h: Likewise.
70127         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
70128         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
70129         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
70130         * sysdeps/unix/bsd/isatty.c: Likewise.
70131         * sysdeps/unix/bsd/tcdrain.c: Likewise.
70132         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
70133         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
70135 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70137         [BZ #13563]
70138         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
70139         long double comparison inaccuracies.
70140         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
70141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70143 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
70145         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
70146         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
70148 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
70150         [BZ #14049]
70151         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
70152         nonzero digits before rounding a hex value.
70153         * stdlib/tst-strtod.c (tests): Add another test.
70155 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70157         * sysdeps/s390/fpu/libm-test-ulps: Update.
70159 2012-05-03  Andreas Jaeger  <aj@suse.de>
70161         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
70162         does not get optimized out.
70163         (malloc_opt_barrier): New.
70165 2012-05-03  Andreas Jaeger  <aj@suse.de>
70166             Roland McGrath  <roland@hack.frob.com>
70168         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
70169         intermediate file deletion.
70170         (generated): Add .symlist files.
70172 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
70174         [BZ #13775]
70175         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
70176         Redirect under this condition.
70177         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70178         [__USE_GNU] (__dprintf_chk): Not under this condition.
70179         [__USE_GNU] (__vdprintf_chk): Likewise.
70180         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
70181         under this condition.
70182         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
70183         [__USE_XOPEN2K8] (dprintf): Define under this condition.
70184         [__USE_XOPEN2K8] (vdprintf): Likewise.
70185         [__USE_GNU] (__dprintf_chk): Not under this condition.
70186         [__USE_GNU] (__vdprintf_chk): Likewise.
70187         [__USE_GNU] (dprintf): Likewise.
70188         [__USE_GNU] (vdprintf): Likewise.
70190 2012-05-03  Roland McGrath  <roland@hack.frob.com>
70192         * elf/Makefile (common-generated): Set this instead of generated for
70193         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
70194         $(all-built-dso)-derived lists.
70196 2012-05-03  Andreas Jaeger  <aj@suse.de>
70198         * sysdeps/i386/fpu/libm-test-ulps: Update.
70200         * FAQ: Removed.
70201         * FAQ.in: Likewise.
70202         * scripts/gen-FAQ.pl: Likewise.
70203         * manual/install.texi (Installation): Point to online location of
70204         FAQ.
70205         * Makefile (files-for-dist): Remove FAQ.
70206         (FAQ): Remove.
70208 2012-05-02  Allan McRae  <allan@archlinux.org>
70210         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
70211         (LDFLAGS-reldepmod5.so): Likewise.
70212         (LDFLAGS-reldep6mod1.so): Likewise.
70213         (LDFLAGS-reldep6mod4.so): Likewise.
70214         (LDFLAGS-reldep8mod3.so): Likewise.
70215         (LDFLAGS-unload4mod1.so): Likewise.
70216         (LDFLAGS-unload4mod2.so): Likewise.
70217         (LDFLAGS-tst-initorder): Likewise.
70218         (LDFLAGS-tst-initordera2.so): Likewise.
70219         (LDFLAGS-tst-initordera3.so): Likewise.
70220         (LDFLAGS-tst-initordera4.so): Likewise.
70221         (LDFLAGS-tst-initorderb2.so): Likewise.
70222         (LDFLAGS-noload): Likewise.
70223         (LDFLAGS-next): Likewise.
70224         (LDFLAGS-order2mod1.so): Likewise.
70225         (LDFLAGS-order2mod2.so): Likewise.
70226         (LDFLAGS-tst-initorder2): Likewise.
70227         (LDFLAGS-tst-initorder2a.so): Likewise.
70228         (LDFLAGS-tst-initorder2b.so): Likewise.
70229         (LDFLAGS-tst-initorder2c.so): Likewise.
70230         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
70232 2012-05-02  David S. Miller  <davem@davemloft.net>
70234         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70236 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
70238         [BZ #14055]
70239         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
70241 2012-05-02  Andreas Jaeger  <aj@suse.de>
70243         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
70244         since we manipulate rounding mode.
70245         (CPPFLAGS-test-idouble.c): Likewise.
70246         (CPPFLAGS-test-ifloat.c): Likewise.
70247         (CFLAGS-test-ldouble.c): Likewise.
70248         (CFLAGS-test-double.c): Likewise.
70249         (CFLAGS-test-float.c): Likewise.
70250         (CFLAGS-test-misc.c): Likewise.
70251         (CFLAGS-test-test-fenv.c): Likewise.
70253 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70255         [BZ #2550]
70256         [BZ #2570]
70257         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
70258         comparisons to determine direction to adjust input.
70260 2012-05-01  Roland McGrath  <roland@hack.frob.com>
70262         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
70263         output to the target.
70265         * scripts/localplt.awk: New file.
70266         * elf/Makefile ($(objpfx)check-localplt): Target removed.
70267         (check-localplt-CFLAGS): Variable removed.
70268         ($(all-built-dso:=.jmprel)): New static pattern rule.
70269         (generated): Add those targets.
70270         (localplt-built-dso): New variable.
70271         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
70273         * elf/check-localplt.c: File removed.
70275         * scripts/check-execstack.awk: New file.
70276         * elf/Makefile ($(objpfx)check-execstack): Target removed.
70277         (check-execstack-CFLAGS): Variable removed.
70278         ($(objpfx)check-execstack.h): Target removed.
70279         ($(objpfx)execstack-default): New target.
70280         (generated): Add that instead of check-execstack.h.
70281         ($(all-built-dso:=.phdr)): New static pattern rule.
70282         (generated): Add those targets.
70283         * elf/check-execstack.c: File removed.
70285         * scripts/check-textrel.awk: New file.
70286         * elf/Makefile ($(objpfx)check-textrel): Target removed.
70287         (check-textrel-CFLAGS): Variable removed.
70288         (all-built-dso): Use := to define.o
70289         ($(all-built-dso:=.dyn)): New static pattern rule.
70290         (generated): Add those targets.
70291         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
70292         * config.make.in (READELF): New substituted variable.
70293         * elf/check-textrel.c: File removed.
70295 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70297         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
70298         allow.
70299         * conform/data/ctype.h-data [C99-based standards] (isblank):
70300         Expect function.
70301         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
70302         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
70303         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70304         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
70305         Specify type.  Require positive value.
70306         (EILSEQ): Likewise.
70307         (ERANGE): Likewise.
70308         [ISO || POSIX] (EILSEQ): Do not expect.
70309         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
70310         Specify type.  Require positive value.
70311         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
70312         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
70313         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
70314         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
70315         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
70316         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
70317         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
70318         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
70319         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
70320         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
70321         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
70322         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
70323         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
70324         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
70325         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
70326         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
70327         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
70328         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
70329         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
70330         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
70331         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
70332         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
70333         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
70334         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
70335         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
70336         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
70337         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
70338         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
70339         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
70340         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
70341         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
70342         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
70343         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
70344         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
70345         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
70346         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
70347         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
70348         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
70349         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
70350         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
70351         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
70352         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
70353         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
70354         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
70355         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
70356         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
70357         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
70358         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
70359         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
70360         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
70361         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
70362         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
70363         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
70364         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
70365         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
70366         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
70367         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
70368         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
70369         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
70370         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
70371         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
70372         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
70373         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
70374         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
70375         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
70376         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
70377         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
70378         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
70379         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
70380         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
70381         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
70382         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
70383         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
70384         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
70385         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
70386         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
70387         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
70388         Require >= 2.
70389         (FLT_ROUNDS): Expect as macro, not constant.
70390         (FLT_MANT_DIG): Use macro-int-constant.
70391         (DBL_MANT_DIG): Likewise.
70392         (LDBL_MANT_DIG): Likewise.
70393         (FLT_DIG): Likewise.
70394         (DBL_DIG): Likewise.
70395         (LDBL_DIG): Likewise.
70396         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
70397         (DBL_MIN_EXP): Likewise.
70398         (LDBL_MIN_EXP): Likewise.
70399         (FLT_MAX_EXP): Use macro-int-constant.
70400         (DBL_MAX_EXP): Likewise.
70401         (LDBL_MAX_EXP): Likewise.
70402         (FLT_MAX_10_EXP): Likewise.
70403         (DBL_MAX_10_EXP): Likewise.
70404         (LDBL_MAX_10_EXP): Likewise.
70405         (FLT_MAX): Use macro-constant.
70406         (DBL_MAX): Likewise.
70407         (LDBL_MAX): Likewise.
70408         (FLT_EPSILON): Use macro-constant.  Give upper bound.
70409         (DBL_EPSILON): Likewise.
70410         (LDBL_EPSILON): Likewise.
70411         (FLT_MIN): Likewise.
70412         (DBL_MIN): Likewise.
70413         (LDBL_MIN): Likewise.
70414         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
70415         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
70416         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
70417         [ISO11] (FLT_HAS_SUBNORM): Likewise.
70418         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
70419         [ISO11] (DBL_DECIMAL_DIG): Likewise.
70420         [ISO11] (FLT_DECIMAL_DIG): Likewise.
70421         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
70422         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
70423         [ISO11] (FLT_TRUE_MIN): Likewise.
70424         [ISO11] (LDBL_TRUE_MIN): Likewise.
70425         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70426         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
70427         (SCHAR_MIN): Use macro-int-constant.  Specify type.
70428         (SCHAR_MAX): Likewise.
70429         (UCHAR_MAX): Likewise.
70430         (CHAR_MIN): Likewise.
70431         (CHAR_MAX): Likewise.
70432         (MB_LEN_MAX): Use macro-int-constant.
70433         (SHRT_MIN): Use macro-int-constant.  Specify type.
70434         (SHRT_MAX): Likewise.
70435         (USHRT_MAX): Likewise.
70436         (INT_MAX): Likewise.
70437         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
70438         bound negative.
70439         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70440         bound with "U".
70441         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70442         bound with "L".
70443         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
70444         bound negative.  Suffix upper bound with "L".
70445         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
70446         bound with "UL".
70447         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
70448         Specify type.
70449         [C99-based standards] (LLONG_MAX): Likewise.
70450         [C99-based standards] (ULLONG_MAX): Likewise.
70451         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
70452         == 0.
70453         [ISO11] (max_align_t): Require type.
70454         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70456         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
70457         from $CFLAGS, without defining away __attribute__ calls.
70458         (checknamespace): Use $CFLAGS_namespace.
70460         * conform/conformtest.pl (@keywords): Only include C99 keywords
70461         for standards based on C99 or C11.
70463         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
70464         Disable tests.
70465         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
70466         UNIX98]: Likewise.
70468         * conform/conformtest.pl: Handle "macro-int-constant" and test for
70469         usability of symbols in #if.
70471         * conform/conformtest.pl: If macro or constant types start
70472         "promoted:", expect the symbol to be of the following type
70473         promoted by the integer promotions.
70475         * conform/conformtest.pl: Parse all "constant" and "macro" lines
70476         in one place.  Also handle "macro-constant".
70478         * conform/conformtest.pl: Only accept expected macro values with
70479         "==".  Parse all "macro" lines in one place.
70480         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
70482         * conform/conformtest.pl: Handle braced types on "constant" lines
70483         instead of handling "typed-constant".
70484         * conform/data/signal.h-data: Use "constant" instead of
70485         "typed-constant".
70487         * conform/conformtest.pl: Handle "optional-" at start of lines in
70488         one place rather than duplicating several cases.  Handle each
70489         format of "macro" line with initial "optional-".
70491         * conform/conformtest.pl: Only accept expected constant or
70492         optional-constant values with "==".  Parse all "constant" lines in
70493         one place.  Parse all "optional-constant" lines in one place.
70494         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
70495         * conform/data/fmtmsg.h-data: Likewise.
70496         * conform/data/netinet/in.h-data: Likewise.
70497         * conform/data/tar.h-data: Likewise.
70498         * conform/data/limits.h-data: Use "==" form on "constant" and
70499         "optional-constant" lines.
70501         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
70502         Use -std=c99 for XOPEN2K.
70503         (@knownproblems): Remove.
70504         (newtoken): Don't check %isknown.
70506         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
70507         Do not expect macro.
70508         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
70509         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
70510         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
70511         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
70512         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
70513         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
70514         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
70515         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
70516         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
70517         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
70518         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
70519         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
70520         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
70521         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
70522         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
70523         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
70524         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
70525         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
70526         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
70527         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
70528         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
70529         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
70530         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
70531         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
70532         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
70533         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
70534         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
70535         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
70536         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
70537         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
70538         [XPG3] (acosh): Likewise.
70539         [XPG3] (asinh): Likewise.
70540         [XPG3] (atanh): Likewise.
70541         [XPG3] (cbrt): Likewise.
70542         [XPG3] (expm1): Likewise.
70543         [XPG3] (ilogb): Likewise.
70544         [XPG3] (log1p): Likewise.
70545         [XPG3] (logb): Likewise.
70546         [XPG3] (nextafter): Likewise.
70547         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
70548         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
70549         [XPG3] (remainder): Likewise.
70550         [XPG3] (rint): Likewise.
70551         [XPG3 || XPG4 || UNIX98] (round): Likewise.
70552         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
70553         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
70554         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
70555         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
70556         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
70557         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
70558         [UNIX98 || XOPEN2K] (scalb): Expect.
70559         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
70560         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
70561         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
70562         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
70563         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
70564         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
70565         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
70566         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
70567         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
70568         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
70569         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
70570         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
70571         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
70572         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
70573         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
70574         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
70575         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
70576         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
70577         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
70578         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
70579         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
70580         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
70581         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
70582         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
70583         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
70584         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
70585         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
70586         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
70587         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
70588         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
70589         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
70590         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
70591         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
70592         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
70593         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
70594         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
70595         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
70596         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
70597         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
70598         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
70599         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
70600         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
70601         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
70602         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
70603         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
70604         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
70605         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
70606         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
70607         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
70608         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
70609         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
70610         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
70611         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
70612         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
70613         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
70614         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
70615         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
70616         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
70617         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
70618         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
70619         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
70620         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
70621         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
70622         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
70623         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
70624         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
70625         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
70626         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
70627         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
70628         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
70629         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
70630         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
70631         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
70632         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
70633         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
70634         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
70635         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
70636         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
70637         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
70638         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
70639         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
70640         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
70641         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
70642         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
70643         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
70644         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
70645         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
70646         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
70647         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
70648         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
70649         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
70650         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
70651         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
70652         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
70653         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
70654         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
70655         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
70656         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
70657         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
70658         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
70659         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
70660         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
70661         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
70662         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
70663         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
70664         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
70665         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
70666         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
70667         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
70668         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
70669         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
70670         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
70671         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
70672         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
70673         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
70674         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
70675         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
70676         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
70677         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
70678         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
70679         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
70680         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
70681         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
70682         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
70683         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
70684         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
70685         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
70686         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
70687         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
70688         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
70689         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
70690         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
70691         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
70692         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
70693         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
70694         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
70695         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
70697         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
70698         _XOPEN_SOURCE_EXTENDED for XPG4.
70700         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
70702         * Makeconfig (localtime): Remove variable.
70703         (inst_localtime-file): Likewise.
70705 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
70708         Update.
70709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70710         Update.
70711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
70712         Update.
70713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
70714         Update.
70715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
70716         Update.
70717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
70718         Update.
70719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70720         Update.
70721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
70722         Update.
70723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70724         Update.
70726 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
70728         [BZ #2550]
70729         [BZ #2570]
70730         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
70731         comparisons to determine direction to adjust input.
70732         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
70733         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
70734         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
70735         Likewise.
70736         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
70737         Likewise.
70738         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
70739         Likewise.
70740         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
70741         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
70742         Likewise.
70743         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
70744         Likewise.
70745         * math/libm-test.inc (nexttoward_test): Add more tests.
70747 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
70749         [BZ #14040]
70750         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
70751         in version GLIBC_2.1, not GLIBC_2.0.
70752         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
70753         Likewise.
70755 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
70757         [BZ #13942]
70758         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
70759         (1 - x) * (1 + x).
70760         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70761         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
70762         * math/libm-test.inc (acos_test): Add more tests.
70763         (asin_test): Likewise.
70764         * sysdeps/i386/fpu/libm-test-ulps: Update.
70765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70767         [BZ #14034]
70768         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
70769         of square root.
70770         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
70771         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
70772         * math/libm-test.inc (acos_test_tonearest): New function.
70773         (acos_test_towardzero): Likewise.
70774         (acos_test_downward): Likewise.
70775         (acos_test_upward): Likewise.
70776         (asin_test_tonearest): Likewise.
70777         (asin_test_towardzero): Likewise.
70778         (asin_test_downward): Likewise.
70779         (asin_test_upward): Likewise.
70780         (main): Call the new functions.
70781         * sysdeps/i386/fpu/libm-test-ulps: Update.
70782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70784         [BZ #13884]
70785         [BZ #13924]
70786         * math/e_exp10.c: Include <float.h>.
70787         (__ieee754_exp10): Handle underflow here rather than multiplying
70788         large negative argument by M_LN10.
70789         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
70790         of __ieee754_expf.
70791         * math/e_exp10l.c: Include <float.h>.
70792         (__ieee754_exp10l): Handle underflow here rather than multiplying
70793         large negative argument by M_LN10l.
70794         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
70795         spurious overflow exception on underflow.
70797 2012-04-29  Marek Polacek  <polacek@redhat.com>
70799         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
70800         (__fortify_function): New macro.
70801         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
70802         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
70803         __extern_always_inline.
70804         * libio/bits/stdio2.h: Likewise.
70805         * libio/bits/stdio.h: Likewise.
70806         * string/string.h: Likewise.
70807         * string/bits/string3.h: Likewise.
70808         * include/stdio.h: Likewise.
70809         * stdlib/bits/stdlib.h: Likewise.
70810         * stdlib/stdlib.h: Likewise.
70811         * rt/bits/mqueue2.h: Likewise.
70812         * rt/mqueue.h: Likewise.
70813         * posix/bits/unistd.h: Likewise.
70814         * posix/unistd.h: Likewise.
70815         * io/bits/poll2.h: Likewise.
70816         * io/bits/fcntl2.h: Likewise.
70817         * io/fcntl.h: Likewise.
70818         * io/sys/poll.h: Likewise.
70819         * misc/bits/syslog.h: Likewise.
70820         * misc/bits/syslog-ldbl.h: Likewise.
70821         * misc/sys/syslog.h: Likewise.
70822         * socket/bits/socket2.h: Likewise.
70823         * socket/sys/socket.h: Likewise.
70824         * debug/tst-chk1.c: Likewise.
70825         * wcsmbs/bits/wchar2.h: Likewise.
70826         * wcsmbs/bits/wchar-ldbl.h: Likewise.
70827         * wcsmbs/wchar.h: Likewise.
70829 2012-04-29  Andreas Jaeger  <aj@suse.de>
70831         * Makerules (tests): Remove enable-check-abi protection.
70832         (check-abi-warn): Remove.
70833         (check-abi-%): Remove check-abi-warn usage.
70835         * configure.in: Remove check-abi configure option.
70836         * configure: Regenerated.
70837         * config.make.in (enable-check-abi): Remove.
70839 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
70841         [BZ #14033]
70842         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
70843         double functions to double *_finite functions.
70845         [BZ #13941]
70846         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
70847         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
70848         LDBL_MIN_EXP.
70849         * stdio-common/Makefile (tests): Add tst-sprintf3.
70850         * stdio-common/tst-sprintf3.c: New file.
70852         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
70853         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
70855 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
70857         * conform/conformtest.pl: Remove duplicate typed-constant
70858         handling.
70860 2012-04-28  David S. Miller  <davem@davemloft.net>
70862         * Makerules (%.abilist): Add vpath on sysdep_dirs.
70863         (check-abi-%): Remove AWK script prerequisite and explicit
70864         abilist directory.
70865         (check-abi): Rewrite to just diff the symlist with the abilist.
70866         (config-tls, config-abi-config): Delete, no longer used.
70867         (update-abi-%): Remove AWK script and explicit abilist directory.
70868         (update-abi): Rewrite to simply compare and conditionally copy the
70869         symlist and the sysdep abilist file.  Remove update-abi-config
70870         checks.
70871         * abilist/ld.abilist: Remove.
70872         * abilist/libBrokenLocale.abilist: Remove.
70873         * abilist/libanl.abilist: Remove.
70874         * abilist/libcrypt.abilist: Remove.
70875         * abilist/libdl.abilist: Remove.
70876         * abilist/librt.abilist: Remove.
70877         * abilist/libthread_db.abilist: Remove.
70878         * abilist/libutil.abilist: Remove.
70879         * scripts/extract-abilist.awk: Remove.
70880         * scripts/merge-abilist.awk: Remove.
70881         * sysdeps/generic/libcidn.abilist: New file.
70882         * sysdeps/generic/libnss_compat.abilist: New file.
70883         * sysdeps/generic/libnss_db.abilist: New file.
70884         * sysdeps/generic/libnss_dns.abilist: New file.
70885         * sysdeps/generic/libnss_files.abilist: New file.
70886         * sysdeps/generic/libnss_hesiod.abilist: New file.
70887         * sysdeps/generic/libnss_nis.abilist: New file.
70888         * sysdeps/generic/libnss_nisplus.abilist: New file.
70889         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
70890         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
70891         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
70892         file.
70893         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
70894         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
70895         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
70896         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
70897         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
70898         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
70899         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
70900         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
70901         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
70902         file.
70903         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
70904         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
70905         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
70906         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
70907         file.
70908         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
70909         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
70910         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
70911         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
70912         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
70913         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
70914         file.
70915         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
70916         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
70917         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
70918         file.
70919         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
70920         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
70921         New file.
70922         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
70923         New file.
70924         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
70925         New file.
70926         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
70927         New file.
70928         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
70929         New file.
70930         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
70931         New file.
70932         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
70933         New file.
70934         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
70935         New file.
70936         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
70937         New file.
70938         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
70939         New file.
70940         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
70941         New file.
70942         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
70943         New file.
70944         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
70945         New file.
70946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
70947         file.
70948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
70949         New file.
70950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
70951         New file.
70952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
70953         file.
70954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
70955         New file.
70956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
70957         New file.
70958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
70959         file.
70960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
70961         New file.
70962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
70963         New file.
70964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
70965         New file.
70966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
70967         New file.
70968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
70969         New file.
70970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
70971         New file.
70972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
70973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
70974         file.
70975         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
70976         New file.
70977         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
70978         file.
70979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
70980         file.
70981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
70982         file.
70983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
70984         file.
70985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
70986         file.
70987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70988         New file.
70989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
70990         file.
70991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
70992         file.
70993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
70994         New file.
70995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
70996         file.
70997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
70998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
70999         file.
71000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
71001         New file.
71002         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
71003         file.
71004         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
71005         file.
71006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
71007         file.
71008         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
71009         file.
71010         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
71011         file.
71012         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
71013         New file.
71014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
71015         file.
71016         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
71017         file.
71018         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
71019         New file.
71020         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
71021         file.
71022         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
71023         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
71024         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
71025         file.
71026         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
71027         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
71028         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
71029         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
71030         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
71031         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
71032         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
71033         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
71034         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
71035         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
71036         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
71037         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
71038         file.
71039         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
71040         New file.
71041         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
71042         file.
71043         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
71044         file.
71045         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
71046         file.
71047         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
71048         file.
71049         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
71050         file.
71051         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
71052         New file.
71053         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
71054         New file.
71055         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
71056         file.
71057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
71058         New file.
71059         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
71060         file.
71061         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
71062         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
71063         file.
71064         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
71065         New file.
71066         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
71067         file.
71068         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
71069         file.
71070         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
71071         file.
71072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
71073         file.
71074         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
71075         file.
71076         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
71077         New file.
71078         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
71079         New file.
71080         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
71081         file.
71082         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
71083         New file.
71084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
71085         file.
71087 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
71089         * conform/conformtest.pl: Fix typo in handling typed-constant from
71090         allow-header.
71092 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71094         * README: Cut down references to pre-2.6 Linux kernels and
71095         Linuxthreads.  Update lists of configurations in libc and ports
71096         and sort alphabetically.  Say "or newer" with Linux kernel version
71097         requirements.
71099         * config.h.in [IS_IN_build]: Allow compiling without optimization.
71101 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71103         [BZ #887]
71104         * math/libm-test.inc (logb_test_downward): New test to expose
71105         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
71106         rounding mode.
71108 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
71110         [BZ #14027]
71111         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
71112         to be done.
71113         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
71114         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
71116 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
71118         * sysdeps/unix/i386/brk.S: Remove file.
71119         * sysdeps/unix/i386/dl-brk.S: Likewise.
71120         * sysdeps/unix/i386/pipe.S: Likewise.
71121         * sysdeps/unix/i386/sigreturn.S: Likewise.
71122         * sysdeps/unix/i386/syscall.S: Likewise.
71123         * sysdeps/unix/i386/vfork.S: Likewise.
71124         * sysdeps/unix/i386/wait.S: Likewise.
71126         * sysdeps/unix/common/tcsendbrk.c: Move to ...
71127         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
71129         * configure.in (arm*-none*): Do not allow without
71130         --enable-hacker-mode.
71131         (netbsd*): Remove case setting base_os.
71132         (386bsd*): Likewise.
71133         (freebsd*): Likewise.
71134         (bsdi*): Likewise.
71135         (osf*): Likewise.
71136         (sunos*): Likewise.
71137         (ultrix*): Likewise.
71138         (newsos*): Likewise.
71139         (dynix*): Likewise.
71140         (*bsd*): Likewise.
71141         (sysv*): Likewise.
71142         (isc*): Likewise.
71143         (esix*): Likewise.
71144         (sco*): Likewise.
71145         (minix*): Likewise.
71146         (irix4*): Likewise.
71147         (irix6*): Likewise.
71148         (solaris[2-9]*): Likewise.
71149         (none): Likewise.
71150         * configure: Regenerated.
71152 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71154         [BZ #11521]
71155         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
71156         overflow or cancellation in calculating denominator.
71157         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
71158         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
71159         down expression to avoid unexpected rounding in newer GCCs.
71160         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
71162 2012-04-26  David S. Miller  <davem@davemloft.net>
71164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
71165         long-double compat symbols.
71166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
71170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
71172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
71173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
71174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
71175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
71176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
71177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
71178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
71180 2012-04-25  David S. Miller  <davem@davemloft.net>
71182         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
71183         HWCAP_* values only after the memory barriers have been defined.
71184         (atomic_full_barrier): Define.
71185         (atomic_read_barrier): Define.
71186         (atomic_write_barrier): Define.
71188 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
71190         * shlib-versions: Add libgcc_s version information.
71191         * sysdeps/generic/libgcc_s.h: Remove.
71192         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
71193         libgcc_s.h.
71194         * sysdeps/gnu/unwind-resume.c: Likewise.
71195         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
71197 2012-04-25  David S. Miller  <davem@davemloft.net>
71199         * sysdeps/unix/sparc/brk.S: Delete.
71200         * sysdeps/unix/sparc/dl-brk.S: Delete.
71201         * sysdeps/unix/sparc/pipe.S: Delete.
71202         * sysdeps/unix/sparc/sysdep.S: Delete.
71203         * sysdeps/unix/sparc/sysdep.h: Delete.
71204         * sysdeps/unix/sparc/vfork.S: Delete.
71205         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
71206         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
71207         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
71208         (ret_ERRVAL, r0, r1, MOVE): Define.
71209         (JUMPTARGET): Remove.
71210         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
71211         sysdeps/unix/sparc/sysdep.h
71212         (ENTRY, END): Remove.
71213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71215 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
71217         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
71218         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
71219         -DIS_IN_build.
71221         * timezone/README: Update upstream location and email address for
71222         tzcode and tzdata.
71223         * timezone/zdump.c: Update from tzcode 2012b.
71224         * timezone/zic.c: Likewise.
71226         * configure.in (libc_cv_as_needed): Remove test.
71227         * configure: Regenerated.
71228         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
71229         conditional definition.
71230         [$(have-as-needed) != yes] (no-as-needed): Likewise.
71231         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
71232         * config.make.in (have-as-needed): Remove variable.
71234 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
71235             Paul Pluzhnikov  <ppluzhnikov@google.com>
71237         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
71238         strings correctly.
71240 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
71242         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
71243         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
71244         * sysdeps/sh/strlen.S: Likewise.
71246 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71248         * sysdeps/unix/fork.S: Remove file.
71249         * sysdeps/unix/i386/fork.S: Likewise.
71250         * sysdeps/unix/sparc/fork.S: Likewise.
71252         * sysdeps/unix/system.c: Remove file.
71253         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
71255         * sysdeps/unix/getegid.S: Remove file.
71256         * sysdeps/unix/geteuid.S: Likewise.
71258 2012-04-24  Roland McGrath  <roland@hack.frob.com>
71260         * scripts/check-localplt.awk: New file.
71261         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
71262         of diff.
71263         * scripts/data/localplt-generic.data: Add a comment.
71265         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
71266         NODE when __dir_mkfile failed.
71267         * sysdeps/mach/hurd/symlinkat.c: Likewise.
71268         Reported by Ludovic Courtès <ludo@gnu.org>.
71270 2012-04-24  Andreas Jaeger  <aj@suse.de>
71272         * Makerules (common-clean): Also remove gen-as-const-headers
71273         files.
71275 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71277         * Makerules (native-compile): Do not change working directory for
71278         build.  Use $(OUTPUT_OPTION) in command.
71279         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
71281 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71283         [BZ #13886]
71284         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
71285         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
71286         * math/libm-test.inc (floor_test): Add more tests.
71287         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
71289 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
71291         * sysdeps/unix/getdents.c: Remove file.
71292         * sysdeps/unix/sysv/getdents.c: Likewise.
71293         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
71295         * sysdeps/unix/syscalls.list (madvise): Add syscall from
71296         sysdeps/unix/mman/syscalls.list.
71297         (mmap): Likewise.
71298         (mprotect): Likewise.
71299         (msync): Likewise.
71300         (munmap): Likewise.
71301         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
71302         * sysdeps/unix/mman/syscalls.list: Remove.
71303         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
71305         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
71306         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
71307         * configure: Regenerated.
71308         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
71309         $(libgcc_s_suffix).
71310         * config.make.in (libgcc_s_suffix): Remove variable.
71312 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
71314         * sysdeps/unix/sysv/gethostname.c: Move to ...
71315         * sysdeps/posix/gethostname.c: ... here.
71317         * sysdeps/unix/execve.S: Remove file.
71319         * sysdeps/unix/_exit.S: Remove file.
71321 2012-04-23  Andreas Jaeger  <aj@suse.de>
71323         [BZ #13739]
71324         * manual/Makefile: Remove make dist support, there's no
71325         need for a stand-alone documentation tar ball.
71326         (TEXI2DVI): Define always, it's not in Makeconfig.
71327         (dist): Removed.
71328         (tar-it): Removed.
71329         (edition): Removed.
71330         (glibc-doc-$(edition).tar): Removed
71331         (%.Z): Removed.
71332         (%.gz): Removed.
71333         (%.uu): Removed.
71334         (ETAGS): Remove, it's in Makeconfig.
71335         (move-if-change): Remove, it's in Makeconfig.
71337 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
71339         [BZ #13970]
71340         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
71341         (strtod, strtof, strtold, strtol, strtoul, strtoq)
71342         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
71343         (strtod_l, strtof_l, strtold_l): Remove __wur.
71344         It is not necessarily an error to ignore strtol's return value.
71345         One can reliably look at the stored endptr to decide whether
71346         the number had valid syntax.
71348 2012-04-21  Andreas Jaeger  <aj@suse.de>
71350         [BZ #13739]
71351         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
71353 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
71355         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
71356         * sysdeps/unix/sysv/Versions: Remove file.
71358 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
71360         [BZ #13927]
71361         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71363 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
71365         [BZ #7064]
71366         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
71367         version from __vm86.
71369 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
71371         * sysdeps/unix/common/lxstat.c: Remove file.
71372         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
71374         * sysdeps/unix/sysv/Makefile: Remove file.
71376         * sysdeps/unix/sysv/direct.h: Remove file.
71378         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
71379         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
71380         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
71381         * sysdeps/unix/sysv/bits/signum.h: Likewise.
71382         * sysdeps/unix/sysv/bits/stat.h: Likewise.
71383         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
71384         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
71386         * sysdeps/unix/sysv/setrlimit.c: Remove file.
71388         * sysdeps/unix/xmknod.c: Remove file.
71389         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
71391         * sysdeps/unix/sysv/settimeofday.c: Remove file.
71393         * sysdeps/unix/sysv/i386/time.S: Remove file.
71395         * sysdeps/unix/fxstat.c: Remove file.
71396         * sysdeps/unix/xstat.c: Likewise.
71397         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
71399         * sysdeps/unix/sysv/sigaction.c: Remove file.
71401         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
71402         (sysdep_headers): Remove variable.
71403         [termio.h not in sysdep_headers] (generated): Likewise.
71404         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
71405         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
71406         * sysdeps/unix/sysv/tcdrain.c: Likewise.
71407         * sysdeps/unix/sysv/tcflow.c: Likewise.
71408         * sysdeps/unix/sysv/tcflush.c: Likewise.
71409         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
71410         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
71411         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
71412         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
71413         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
71415         * sysdeps/unix/siglist.c: Remove file.
71417         * sysdeps/unix/getppid.S: Remove file.
71419         * sysdeps/unix/mkdir.c: Remove file.
71420         * sysdeps/unix/rmdir.c: Likewise.
71422 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
71424         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
71425         ERR_MAX value.
71426         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
71427         errlist-compat value.
71429 2012-04-18  David S. Miller  <davem@davemloft.net>
71431         * sysdeps/generic/memcopy.h (reg_char): Delete.
71432         * debug/strcat_chk.c: Use char, not reg_char.
71433         * debug/strcpy_chk.c: Likewise.
71434         * debug/strncat_chk.c: Likewise.
71435         * debug/strncpy_chk.c: Likewise.
71436         * string/memchr.c: Likewise.
71437         * string/memrchr.c: Likewise.
71438         * string/rawmemchr.c: Likewise.
71439         * string/strcat.c: Likewise.
71440         * string/strchr.c: Likewise.
71441         * string/strchrnul.c: Likewise.
71442         * string/strcmp.c: Likewise.
71443         * string/strcpy.c: Likewise.
71444         * string/strncat.c: Likewise.
71445         * string/strncmp.c: Likewise.
71446         * string/strncpy.c: Likewise.
71448 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71450         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
71451         __builtin_memcopy is called when src and dest ranges are known to not
71452         overlap.
71454 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71456         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
71457         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
71458         fwd_align_merge macro call.
71459         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
71460         bwd_align_merge macro call.
71461         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71463 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
71465         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
71466         bwd_align_merge macros.
71467         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
71468         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
71469         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
71471 2012-04-18  David S. Miller  <davem@davemloft.net>
71473         * sysdeps/sparc/sparc64/memcopy.h: Delete.
71475 2012-04-18  Andreas Jaeger  <aj@suse.de>
71477         [BZ# 6794]
71478         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
71479         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
71480         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71482         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
71483         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
71484         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71486         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
71487         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
71488         Adjust for changed ldbl-128 files.
71490         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
71491         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
71492         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
71494 2012-04-17  David S. Miller  <davem@davemloft.net>
71496         * sysdeps/sparc/sparc32/memcopy.h: Delete.
71498 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
71500         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
71501         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
71502         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
71503         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
71504         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
71505         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
71507 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71509         [BZ #6794]
71510         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
71511         * math/libm-test.inc: Add ilogb errno and exception tests.
71512         * math/w_ilogb.c: New file: ilogb wrapper.
71513         * math/w_ilogbf.c: New file: ilogbf wrapper.
71514         * math/w_ilogbl.c: New file: ilogbl wrapper.
71515         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
71516         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
71517         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
71518         exception being thrown with 0.0 as argument.
71519         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
71520         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
71521         exception being thrown with 0.0 as argument.
71522         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
71523         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71524         exception being thrown with 0.0 as argument.
71525         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
71526         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
71527         exception being thrown with 0.0 as argument.
71528         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
71529         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
71530         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
71531         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
71532         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
71533         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
71534         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
71535         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
71536         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
71538 2012-04-17  Petr Baudis  <pasky@ucw.cz>
71540         * include/sys/uio.h: Change __vector to __iovec to avoid clash
71541         with altivec.
71543 2012-04-16  Marek Polacek  <polacek@redhat.com>
71545         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
71547 2012-04-16  Marek Polacek  <polacek@redhat.com>
71549         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
71550         operands of fdivp instruction.
71552 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71554         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
71555         * elf/tst-auditmod3b.c: Likewise.
71556         * elf/tst-auditmod4b.c: Likewise.
71557         * elf/tst-auditmod5b.c: Likewise.
71558         * elf/tst-auditmod6b.c: Likewise.
71559         * elf/tst-auditmod6c.c: Likewise.
71560         * elf/tst-auditmod7b.c: Likewise.
71561         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
71562         * sysdeps/x86_64/preconfigure.in: Likewise.
71563         * sysdeps/x86_64/preconfigure: Regenerated.
71565 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
71567         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
71568         __ILP32__.
71570 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
71572         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
71573         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
71575 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
71577         [BZ #13973]
71578         * locale/iso-639.def: Fix gl language name. Spotted by
71579         Yaron Shahrabani.
71581 2012-04-12  Roland McGrath  <roland@hack.frob.com>
71583         [BZ #2074]
71584         * libio/libio.h (__io_write_fn): Update comment.
71586 2012-04-12  Petr Baudis  <pasky@ucw.cz>
71588         [BZ #2074]
71589         * stdio.texi (Hook Functions): The user provided writer function
71590         is not allowed to return -1.
71592 2012-04-11  David S. Miller  <davem@davemloft.net>
71594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71596 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
71598         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
71599         Add a leading slash to rtkaio.
71601 2012-04-11  Jim Meyering  <meyering@redhat.com>
71603         [BZ #11959]
71604         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
71605         It is not necessarily an error to ignore fwrite's return
71606         value.  One can reliably use ferror to test for errors after
71607         the fact.
71609 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71611         * bits/types.h (__snseconds_t): New type.
71612         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
71614         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
71615         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71616         (__SNSECONDS_T_TYPE): Likewise.
71617         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71618         (__SNSECONDS_T_TYPE): Likewise.
71619         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71620         (__SNSECONDS_T_TYPE): Likewise.
71622 2012-04-10  Andreas Jaeger  <aj@suse.de>
71624         [BZ #2636]
71625         * manual/time.texi (Processor Time): Return type of times is
71626         elapsed real time since an arbitrary point in the past.
71627         (CPU Time): Move CLK_TCK from here...
71628         (Processor Time): ...to here.  Correct description.
71629         * manual/conf.texi (Constants for Sysconf): Correct description of
71630         _SC_CLK_TCK.
71632 2012-04-10  David S. Miller  <davem@davemloft.net>
71634         [BZ #13967]
71635         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
71636         where the is a gap between DT_REL(A) and DT_JMPREL.
71638 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
71640         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
71641         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71642         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71644 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71646         * elf/dl-support.c (_dl_inhibit_cache): New variable.
71647         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
71648         (dl_main): Handle --inhibit-cache.
71649         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
71650         _dl_inhibit_cache.
71651         * elf/dl-load.c (_dl_map_object): Use it.
71652         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
71654 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71656         [BZ #13872]
71657         * sysdeps/i386/fpu/e_powl.S (p78): New object.
71658         (__ieee754_powl): Saturate large exponents rather than testing for
71659         overflow of y*log2(x).
71660         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71661         * math/libm-test.inc (pow_test): Do not permit spurious overflow
71662         exceptions.
71664         [BZ #11521]
71665         * math/s_ctan.c: Include <float.h>.
71666         (__ctan): Avoid internal overflow or cancellation in calculating
71667         denominator.
71668         * math/s_ctanf.c: Likewise.
71669         * math/s_ctanl.c: Likewise.
71670         * math/s_ctanh.c: Likewise.
71671         * math/s_ctanhf.c: Likewise.
71672         * math/s_ctanhl.c: Likewise.
71673         * math/libm-test.inc (ctan_test): Add more tests.
71674         (ctanh_test): Likewise.
71675         * sysdeps/i386/fpu/libm-test-ulps: Update.
71676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71678 2012-04-09  Andreas Jaeger  <aj@suse.de>
71680         [BZ #6894]
71681         * manual/filesys.texi (Directory Entries): Mention that d_namlen
71682         is an optional BSD extension.
71684         [BZ #10254]
71685         * manual/stdio.texi (Opening Streams): Document additional fopen
71686         parameters.
71688 2012-04-09  Roland McGrath  <roland@hack.frob.com>
71690         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
71691         %eax without telling the compiler.
71693 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
71695         [BZ # 13963]
71696         * manual/install.texi: Use sourceware.org.
71698 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
71700         [BZ #13873]
71701         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
71702         (__ieee754_pow): Generate overflow and underflow using huge*huge
71703         and tiny*tiny rather than just returning constant infinity or zero
71704         for large exponents.
71705         * math/libm-test.inc (pow_test): Require overflow exceptions for
71706         applicable cases of large exponents.
71708         [BZ #706]
71709         * sysdeps/i386/fpu/e_pow.S (p10): New object.
71710         (__ieee754_pow): Use iterative multiplication algorithm only for
71711         integer exponents with absolute value below 1024.  Check for odd
71712         integer exponents when using algorithm for real exponents.
71713         * math/libm-test.inc (pow_test): Add more tests.
71714         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
71716 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
71718         [BZ #13705]
71719         * math/libm-test.inc (exp_test): Do not allow overflow exception
71720         on underflow test.
71722 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
71724         [BZ #13705]
71725         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
71726         instead of __kernel_standard_f.
71728 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
71730         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
71731         * sysdeps/x86_64/memset_chk.S: Likewise.
71733 2012-04-08  Andreas Jaeger  <aj@suse.de>
71735         [BZ #10153]
71736         * manual/startup.texi (Environment Access): Describe return value
71737         for putenv and setenv.
71739         [BZ #6895]
71740         * manual/filesys.texi (Directory Entries): Add description for
71741         DT_LNK.
71743         [BZ #6890]
71744         * manual/filesys.texi (Directory Entries): Clarify that it's file
71745         system not operating system in the description of DT_UNKNOWN.
71747         [BZ #6578]
71748         * manual/syslog.texi (closelog): Fix reference, it's openlog.
71750 2012-04-08  Stephen Compall  <s11@member.fsf.org>
71752         [BZ #6649]
71753         * manual/llio.texi (Opening and Closing Files): Add cross
71754         reference to explain mode argument.
71756 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
71758         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
71759         * sysdeps/x86_64/memset_chk.S: Likewise.
71761 2012-04-07  David S. Miller  <davem@davemloft.net>
71763         * elf/elf.h (R_SPARC_WDISP10): Define.
71764         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
71765         R_SPARC_SIZE32.
71766         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
71767         R_SPARC_SIZE64 and R_SPARC_H34.
71769 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
71771         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
71772         conditions and remove no longer applicable assertion.
71774 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71776         * bits/byteswap.h: Include <features.h>.
71777         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
71778         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
71780 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
71782         * bits/byteswap.h (__bswap_16): Removed.
71783         Include <bits/byteswap-16.h> to get __bswap_16.
71784         * sysdeps/i386/bits/byteswap.h: Likewise.
71785         * sysdeps/s390/bits/byteswap.h: Likewise.
71786         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71787         * bits/byteswap-16.h: New file.
71788         * sysdeps/i386/bits/byteswap-16.h: Likewise.
71789         * sysdeps/s390/bits/byteswap-16.h: Likewise.
71790         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
71791         * string/Makefile (headers): Add bits/byteswap-16.h.
71793 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
71795         [BZ #13895]
71796         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
71797         extra indirection.
71798         * nss/Makefile (tests-static, tests): Add tst-nss-static.
71799         * nss/tst-nss-static.c: New.
71801 2012-04-06  Robert Millan  <rmh@gnu.org>
71803         [BZ #6486]
71804         * manual/llio.texi (File Position Primitive): lseek
71805         refers to WHENCE when it really means OFFSET.
71807 2012-04-06  Andreas Jaeger  <aj@suse.de>
71809         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
71810         strncmp declarations.
71812         * abilist/libc.abilist: Add __poll and __ppoll.
71814 2012-04-05  David S. Miller  <davem@davemloft.net>
71816         * scripts/check-local-headers.sh: Accept a host triplet in the
71817         path matched by the exclude regexp.
71819         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
71820         definition.
71821         * sysdeps/powerpc/powerpc32/dl-machine.h
71822         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
71823         * sysdeps/s390/s390-32/dl-machine.h
71824         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71825         * sysdeps/sparc/sparc32/dl-machine.h
71826         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71827         * sysdeps/sparc/sparc64/dl-machine.h
71828         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
71830         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
71831         lazy binding.
71832         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
71833         undefined symbol errors.
71835         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
71836         DT_NEEDED entries.
71838 2012-04-05  Michael Matz  <matz@suse.de>
71840         [BZ #13592]
71841         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
71843 2012-04-05  Andreas Jaeger  <aj@suse.de>
71845         [BZ #13908]
71846         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
71847         comment.
71849 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71851         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
71852         which ROUND is no valid rounding mode.
71854 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71856         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
71857         read again.
71858         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
71860 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71862         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
71863         an exception using FPU order intentionally.
71865 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
71867         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
71868         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
71869         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
71870         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
71872 2012-04-05  Simon Josefsson  <simon@josefsson.org>
71874         [BZ #12340]
71875         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
71876         EINVAL when BUFLEN is too smal.
71878 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
71880         [BZ #13553]
71881         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
71882         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
71884 2012-04-03  Andreas Jaeger  <aj@suse.de>
71886         [BZ #13938]
71887         * manual/setjmp.texi (System V contexts): Fix sentence.
71889         [BZ #13926]
71890         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
71891         New macro for this case.
71892         [!__GNUC__] (__bswap_64): New inline function for this case.
71893         * sysdeps/x86_64/bits/byteswap.h: Likewise.
71894         * bits/byteswap.h: Likewise.
71895         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
71896         ull, guard with __GLIBC_HAVE_LONG_LONG.
71898         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
71899         __GLIBC_HAVE_LONG_LONG.
71901         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
71902         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
71904 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71906         [BZ #13691]
71907         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
71908         inptr and inend, rather than using last_ch.
71910 2012-04-02  David S. Miller  <davem@davemloft.net>
71912         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
71913         * stdio-common/printf-parse.h (read_int): Change return type to
71914         'int', return -1 on INT_MAX overflow.
71915         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
71916         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
71917         overflows INT_MAX.  Check for overflow of in-format-string precision
71918         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
71919         SIZE_MAX not INT_MAX for integer overflow test.
71920         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
71921         skip the construct in the format string but do not record anything.
71922         * stdio-common/bug22.c: Adjust to test both width/prevision
71923         INT_MAX overflow as well as total length INT_MAX overflow.  Check
71924         explicitly for proper errno values.
71926 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
71928         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
71929         CHAR_MAX.
71930         * string/test-strcmp.c [! WIDE]: Likewise.
71931         * time/tst-mktime2.c: Likewise for INT_MAX.
71932         * string/test-string.h: #include <sys/param.h> for MIN.
71934         * csu/init-first.c (__libc_init_first): Call __ctype_init.
71935         * sysdeps/i386/init-first.c (init): Likewise.
71936         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
71937         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
71938         * sysdeps/sh/init-first.c (init): Likewise.
71940 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
71942         * po/ru.po: Update from translation team.
71943         * po/vi.po: Likewise.
71945 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
71947         * resolv/nss_dns/dns-host.c: Merge copyright years.
71949 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
71951         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
71952         Optimize memcpy with prefetch if
71953         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
71954         src, dst pointers have unequal 16 byte alignments.
71956 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
71958         [BZ #13928]
71959         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
71960         from a CNAME entry and return the minimum ttl for the query.
71961         (gaih_getanswer_slice): Likewise.
71963 2012-03-30  Jeff Law  <law@redhat.com>
71965         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
71966         due to long keys.
71967         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
71968         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
71970         * resolv/nss_dns/dns-host.c: Update copyright year.
71972 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
71974         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
71975         requests to save a system call.  Fix check that all bytes are sent.
71977         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
71978         comments for sendmmsg.
71980 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71982         [BZ #13691]
71983         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
71984         with only 1 character between 0x0041 and 0x01b0.
71985         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
71986         * wcsmbs/tst-mbsnrtowcs.c: New file.
71988 2012-03-29  David S. Miller  <davem@davemloft.net>
71990         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
71991         small copies by hand.
71993 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
71995         [BZ #13761]
71996         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
71997         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
71998         group memberships.
72000 2012-03-28  David S. Miller  <davem@davemloft.net>
72002         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
72003         that branches into memcpy.
72004         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
72005         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
72006         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
72007         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
72008         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
72009         bits.
72010         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
72011         implementation too.
72012         * sysdeps/sparc/mempcpy.S: New file.
72014         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
72015         the IFUNC routine in the libc case.
72016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
72018         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
72019         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
72020         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
72021         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
72022         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
72023         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
72024         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
72025         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
72027         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
72028         loop to 256 bytes instead of 64 bytes and fix test signedness.
72030         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
72031         * sysdeps/sparc/sparc32/Makefile: rather than here...
72032         * sysdeps/sparc/sparc64/Makefile: and here.
72034 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
72036         * malloc/mallocbug.c: Avoid warnings about unused variables.
72038 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
72040         [BZ #13760]
72041         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
72042         in the right place. Discard and retry query if response is
72043         larger than input buffer size.
72045 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
72047         [BZ #369]
72048         [BZ #2678]
72049         [BZ #3866]
72050         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
72051         x for large integer exponent.
72052         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
72053         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
72054         sign of result as needed afterwards.
72055         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
72056         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
72057         result for underflowing pow the same as for overflow.
72058         (__kernel_standard_l): Handle powl overflow and underflow here
72059         rather than calling __kernel_standard.
72060         * math/libm-test.inc (pow_test): Add more tests.
72062         [BZ #3868]
72063         [BZ #13879]
72064         [BZ #13910]
72065         [BZ #13911]
72066         [BZ #13912]
72067         [BZ #13913]
72068         [BZ #13915]
72069         [BZ #13916]
72070         [BZ #13917]
72071         [BZ #13918]
72072         [BZ #13919]
72073         [BZ #13920]
72074         [BZ #13921]
72075         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
72076         * sysdeps/ieee754/k_standard.c: Include <float.h>.
72077         (__kernel_standard_l): New function.
72078         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
72079         __kernel_standard.
72080         * math/w_acosl.c (__acosl): Likewise.
72081         * math/w_asinl.c (__asinl): Likewise.
72082         * math/w_atan2l.c (__atan2l): Likewise.
72083         * math/w_atanhl.c (__atanhl): Likewise.
72084         * math/w_coshl.c (__coshl): Likewise.
72085         * math/w_exp10l.c (__exp10l): Likewise.
72086         * math/w_exp2l.c (__exp2l): Likewise.
72087         * math/w_fmodl.c (__fmodl): Likewise.
72088         * math/w_hypotl.c (__hypotl): Likewise.
72089         * math/w_j0l.c (__j0l, __y0l): Likewise.
72090         * math/w_j1l.c (__j1l, __y1l): Likewise.
72091         * math/w_jnl.c (__jnl, __ynl): Likewise.
72092         * math/w_lgammal.c (__lgammal): Likewise.
72093         * math/w_log10l.c (__log10l): Likewise.
72094         * math/w_log2l.c (__log2l): Likewise.
72095         * math/w_logl.c (__logl): Likewise.
72096         * math/w_powl.c (__powl): Likewise.
72097         * math/w_remainderl.c (__remainderl): Likewise.
72098         * math/w_scalbl.c (sysv_scalbl): Likewise.
72099         * math/w_sinhl.c (__sinhl): Likewise.
72100         * math/w_sqrtl.c (__sqrtl): Likewise.
72101         * math/w_tgammal.c (__tgammal): Likewise.
72102         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
72103         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
72104         * math/libm-test.inc (acos_test): Add more tests.
72105         (acosh_test): Likewise.
72106         (asin_test): Likewise.
72107         (atanh_test): Likewise.
72108         (exp_test): Likewise.
72109         (exp10_test): Likewise.
72110         (exp2_test): Likewise.
72111         (expm1_test): Likewise.
72112         (lgamma_test): Likewise.
72113         (log_test): Likewise.
72114         (log10_test): Likewise.
72115         (log1p_test): Likewise.
72116         (log2_test): Likewise.
72117         (pow_test): Do not allow some spurious overflow exceptions.
72118         (sqrt_test): Add more tests.
72119         (tgamma_test): Likewise.
72120         (y0_test): Likewise.
72121         (y1_test): Likewise.
72122         (yn_test): Likewise.
72124 2012-03-27  Anton Blanchard  <anton@samba.org>
72126         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
72127         MAP_HUGETLB.
72128         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
72129         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
72130         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
72132 2012-03-27  David S. Miller  <davem@davemloft.net>
72134         * conform/Makefile: Run run-conformtest.sh using $(BASH).
72136         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
72137         have-as-vis3 check.
72139 2012-03-27  Andreas Jaeger  <aj@suse.de>
72141         * sysdeps/x86_64/elf/configure.in: Moved to ...
72142         * sysdeps/x86_64/configure.in: ... here.
72143         * sysdeps/x86_64/elf/start.S: Moved to ...
72144         * sysdeps/x86_64/start.S: ... here.
72145         * sysdeps/x86_64/elf/configure: Delete.
72147         * sysdeps/x86_64/configure.in: Merge contents from
72148         sysdeps/i386/configure.in (without i686 check).
72150         * sysdeps/i386/elf/Versions: Merge into ...
72151         * sysdeps/i386/Versions: ... this.
72152         * sysdeps/i386/elf/Versions: Delete file.
72153         * sysdeps/i386/elf/start.S: Moved to ...
72154         * sysdeps/i386/start.S: ...here.
72155         * sysdeps/i386/elf/configure.in: Merge into...
72156         * sysdeps/i386/configure.in: ...here.
72157         * sysdeps/i386/elf/configure.in: Delete file.
72158         * sysdeps/i386/elf/configure: Delete file.
72160         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
72161         * debug/backtracesyms.c: ... here.
72162         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
72163         * debug/backtracesymsfd.c: ... here.
72164         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
72165         * sysdeps/generic/ifunc-sel.h: ... here.
72167         * sysdeps/unix/i386/start.c: Delete file.
72168         * sysdeps/unix/sparc/start.c: Delete file.
72169         * sysdeps/unix/start.c: Delete file.
72171         * sysdeps/sh/elf/configure.in: Moved to ...
72172         * sysdeps/sh/configure.in: ... here.
72173         * sysdeps/sh/elf/start.S: Moved to ...
72174         * sysdeps/sh/start.S: ... here.
72175         * sysdeps/sh/elf/configure: Delete file.
72177         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
72178         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
72179         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
72180         * sysdeps/powerpc/powerpc64/entry.h: ... here.
72181         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
72182         * sysdeps/powerpc/powerpc64/start.S: here.
72183         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
72184         * sysdeps/powerpc/powerpc64/Makefile: ... this.
72185         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
72186         * sysdeps/powerpc/powerpc64/configure.in: ... this.
72187         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
72189         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
72190         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
72191         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
72192         * sysdeps/powerpc/powerpc32/start.S: ... here.
72193         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
72194         * sysdeps/powerpc/powerpc32/configure.in: ... this.
72195         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
72197         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
72198         * sysdeps/powerpc/ifunc-sel.h: ... here.
72199         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
72200         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
72202         * sysdeps/sparc/elf/configure.in: Moved to ...
72203         * sysdeps/sparc/configure.in: ... here.
72204         * sysdeps/sparc/elf/configure: Delete file.
72205         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
72206         * sysdeps/sparc/sparc32/start.S: ... here.
72207         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
72208         * sysdeps/sparc/sparc64/start.S: ... here.
72209         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
72210         * sysdeps/sparc/sparc32/Makefile: ... this.
72211         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
72212         * sysdeps/sparc/sparc64/Makefile: ... this.
72214         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
72215         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
72216         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
72217         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
72218         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
72219         * sysdeps/s390/s390-32/setjmp.S: ... here.
72220         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
72221         * sysdeps/s390/s390-32/configure.in: ... here.
72222         * sysdeps/s390/s390-32/elf/configure: Delete file.
72223         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
72224         * sysdeps/s390/s390-32/start.S: ... here.
72226         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
72227         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
72228         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
72229         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
72230         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
72231         * sysdeps/s390/s390-64/setjmp.S: ... here.
72232         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
72233         * sysdeps/s390/s390-64/configure.in: ... here
72234         * sysdeps/s390/s390-64/elf/configure: Delete file.
72235         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
72236         * sysdeps/s390/s390-64/start.S: ... here.
72237         * sysdeps/s390/s390-64/elf/configure: Delete.
72239         * configure.in: Remove support for elf directories in sysdeps.
72241         * configure: Regenerated.
72242         * sysdeps/i386/configure: Regenerated.
72243         * sysdeps/powerpc/powerpc32/configure: Regenerated.
72244         * sysdeps/powerpc/powerpc64/configure: Regenerated.
72245         * sysdeps/s390/s390-32/configure: Regenerated.
72246         * sysdeps/s390/s390-64/configure: Regenerated.
72247         * sysdeps/sh/configure: Regenerated.
72248         * sysdeps/sparc/configure: Regenerated.
72249         * sysdeps/x86_64/configure: Regenerated.
72251 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
72253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72255         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
72256         denormal result into account.
72258 2012-03-25  Roland McGrath  <roland@hack.frob.com>
72260         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
72261         Reported by Allan McRae <allan@archlinux.org>.
72263 2012-03-23  Jeff Law  <law@redhat.com>
72265         * nss/getnssent.c (__nss_getent): Fix typo.
72267 2012-03-23  David S. Miller  <davem@davemloft.net>
72269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72271 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
72273         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
72274         to pad to uint64_t for each field.
72275         (dl_tls_index): Replace unsigned long with uint64_t.
72277 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
72278         Paul Pluzhnikov  <ppluzhnikov@google.com>
72280         [BZ #6528]
72281         * grp/Makefile (otherlibs): Don't set it.
72282         * inet/Makefile (otherlibs): Likewise.
72283         * login/Makefile (otherlibs): Likewise.
72284         * nscd/Makefile (otherlibs): Likewise.
72285         * posix/Makefile (otherlibs): Likewise.
72286         * pwd/Makefile (otherlibs): Likewise.
72287         * rt/Makefile (otherlibs): Likewise.
72288         * sunrpc/Makefile (otherlibs): Likewise.
72289         * nss/Makefile (otherlibs): Likewise.
72290         Add libnss_files to routines and static-only-routines.
72291         ($(objpfx)getent): Remove rule.
72292         * resolv/Makefile: Add libnss_dns and libresolv to routines and
72293         static-only-routines.
72295 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72297         [BZ #13892]
72298         * math/s_cexp.c: Include <float.h>.
72299         (__cexp): Handle exp result overflowing not necessarily
72300         overflowing both real and imaginary parts of result.
72301         * math/s_cexpf.c: Likewise.
72302         * math/s_cexpl.c: Likewise.
72303         * math/libm-test.inc (cexp_test): Add more tests.
72304         * sysdeps/i386/fpu/libm-test-ulps: Update.
72305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72307 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72309         * include/link.h (ELFW): New macro.
72310         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
72311         Replace ELF64_R_TYPE with ELFW(R_TYPE).
72313 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72315         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
72316         with uint64_t.
72318 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72320         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
72321         declaration.
72322         (struct La_x32_retval): Likewise.
72324 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
72326         * sysdeps/x86_64/preconfigure.in: New file.
72327         * sysdeps/x86_64/preconfigure: New generated file.
72329 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
72331         [BZ #13824]
72332         * math/e_exp2l.c: Include <float.h>.
72333         (__ieee754_exp2l): Handle overflow and underflow cases
72334         separately.  Only pass fractional part of argument to
72335         __ieee754_expl.
72336         * math/libm-test.inc (exp2_test): Add more tests.
72338         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
72339         negating x to take absolute value.
72340         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
72341         Likewise.
72342         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
72343         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
72344         Likewise.
72345         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
72346         computing low part if x was negated.
72347         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
72349 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72351         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
72352         la_x32_gnu_pltexit.
72353         (pltexit): Cast int_retval to ptrdiff_t.
72354         * elf/tst-auditmod3b.c: Likewise.
72355         * elf/tst-auditmod4b.c: Likewise.
72356         * elf/tst-auditmod5b.c: Likewise.
72357         * elf/tst-auditmod6b.c: Likewise.
72358         * elf/tst-auditmod6c.c: Likewise.
72359         * elf/tst-auditmod7b.c: Likewise.
72361         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
72362         and x32_gnu_pltexit.
72364         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
72365         __ELF_NATIVE_CLASS.
72366         (La_x32_regs): New macro.
72367         (La_x32_retval): Likewise.
72368         (la_x32_gnu_pltenter): New function prototype.
72369         (la_x32_gnu_pltexit): Likewise.
72371 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
72373         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
72374         exponent.
72376         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72378         * configure.in (libc_cv_cc_nofma): Check for option to disable
72379         generation of FMA instructions.
72380         * configure: Regenerate.
72381         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
72382         * sysdeps/ieee754/dbl-64/Makefile: New file.
72383         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
72384         Remove brandred-fma4.
72385         (CFLAGS-brandred-fma4.c): Remove.
72386         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
72387         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
72388         define.
72389         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
72390         define.
72392 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72394         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
72395         LLONG_MAX != LONG_MAX.
72396         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72397         (_fitoa_word): Likewise.
72398         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
72399         LLONG_MAX != LONG_MAX.
72400         * stdio-common/_itowa.h: Include <_itoa.h>.
72401         (_itowa_word): Use _ITOA_WORD_TYPE on value.
72402         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
72403         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
72404         only if not defined.
72405         (_ITOA_WORD_TYPE): Likewise.
72406         (_itoa_word): Use _ITOA_WORD_TYPE on value.
72407         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
72409 2012-03-21  David S. Miller  <davem@davemloft.net>
72411         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72413 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
72415         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
72416         of x86_64 when setting libc_cv_slibdir, libdir and
72417         libc_cv_localedir.
72418         * sysdeps/unix/sysv/linux/configure: Regenerated.
72420 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72422         * manual/lang.texi (Old Varargs): Remove section.
72423         (How Variadic): Update menu.
72424         (va_start): Do not mention varargs.h.
72426 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72427             Joseph Myers  <joseph@codesourcery.com>
72429         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
72430         link test.
72431         * configure: Regenerated.
72433 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
72435         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
72436         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
72437         conformtest.pl
72439 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72441         * NOTES: Remove.
72442         * Makefile (files-for-dist): Remove NOTES.
72443         (NOTES): Remove rule.
72444         * README: Don't refer to NOTES.
72445         * manual/creature.texi: Don't include macros.texi.
72446         * manual/intro.texi (creature.texi): Remove comment referring to
72447         NOTES.
72449         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
72450         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
72451         * configure: Regenerated.
72452         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
72453         LIBC_TRY_CC_OPTION.
72454         (libc_cv_as_i686): Likewise.
72455         (libc_cv_cc_avx): Likewise.
72456         (libc_cv_cc_sse2avx): Likewise.
72457         (libc_cv_cc_fma4): Likewise.
72458         (libc_cv_cc_novzeroupper): Likewise.
72459         * sysdeps/i386/configure: Regenerated.
72461         [BZ #13883]
72462         * sysdeps/i386/fpu/s_cexp.S: Remove.
72463         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
72464         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
72465         * math/libm-test.inc (cexp_test): Add more tests.
72466         * sysdeps/i386/fpu/libm-test-ulps: Update.
72467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72469 2012-03-21  Allan McRae  <allan@archlinux.org>
72471         * timezone/Makefile: Do not install iso3166.tab and zone.tab
72473 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
72475         [BZ #13871]
72476         * math/w_exp2.c: Do not include <float.h>.
72477         (o_threshold, u_threshold): Remove.
72478         (__exp2): Calculate result before checking finiteness and calling
72479         __kernel_standard.
72480         * math/w_exp2f.c: Likewise.
72481         * math/w_exp2l.c: Likewise.
72482         * math/libm-test.inc (exp2_test): Require overflow exception for
72483         1e6 input.
72485         [BZ #3866]
72486         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
72487         range of signed 64-bit integers before using fistpll.  Remove
72488         checks for whether integers fit in mantissa bits.
72489         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
72490         the range of signed 32-bit integers before using fistpl.  Remove
72491         checks for whether integers fit in mantissa bits.
72492         * sysdeps/i386/fpu/e_powl.S (p64): New object.
72493         (__ieee754_powl): Test for y outside the range of signed 64-bit
72494         integers before using fistpll.  Reduce 64-bit values to 63-bit
72495         ones as needed.
72496         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
72497         divide-by-zero is raised for zero to large negative powers.
72498         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
72499         (__ieee754_powl): Test for y outside the range of signed 64-bit
72500         integers before using fistpll.  Reduce 64-bit values to 63-bit
72501         ones as needed.
72502         * math/libm-test.inc (pow_test): Add more tests.
72504 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72506         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
72507         <stdio-common/_itoa.h>.
72508         * debug/segfault.c: Likewise.
72509         * elf/dl-cache.c: Likewise.
72510         * elf/dl-minimal.c: Likewise.
72511         * elf/dl-misc.c: Likewise.
72512         * elf/dl-sysdep.c: Likewise.
72513         * elf/dl-version.c: Likewise.
72514         * elf/rtld.c: Likewise.
72515         * hurd/hurdsock.c: Likewise.
72516         * hurd/lookup-retry.c: Likewise.
72517         * malloc/malloc.c: Likewise.
72518         * malloc/mtrace.c: Likewise.
72519         * nscd/nscd_getgr_r.c: Likewise.
72520         * nscd/nscd_getpw_r.c: Likewise.
72521         * nscd/nscd_getserv_r.c: Likewise.
72522         * posix/getopt_init.c: Likewise.
72523         * posix/wordexp.c: Likewise.
72524         * stdio-common/_itoa.c: Likewise.
72525         * stdio-common/printf_fphex.c: Likewise.
72526         * stdio-common/vfprintf.c: Likewise.
72527         * string/_strerror.c: Likewise.
72528         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
72529         * sysdeps/i386/i686/hp-timing.h: Likewise.
72530         * sysdeps/mach/_strerror.c: Likewise.
72531         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
72532         * sysdeps/mach/hurd/sethostid.c: Likewise.
72533         * sysdeps/mach/hurd/xmknodat.c: Likewise.
72534         * sysdeps/mach/xpg-strerror.c: Likewise.
72535         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72536         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72537         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
72538         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
72539         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72540         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
72541         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
72542         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
72543         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
72544         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
72545         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
72546         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
72547         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
72548         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
72549         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
72550         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
72551         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
72552         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
72553         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
72554         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
72555         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
72557         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
72559         * stdio-common/_itoa.h: Moved to ...
72560         * sysdeps/generic/_itoa.h: Here.
72562         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
72564         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
72565         instead of "_itoa.h" and "_itowa.h".
72566         * stdio-common/vfprintf.: Likewise.
72568 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72570         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
72571         <bits/wordsize.h>.
72572         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
72573         (__signbit): Likwise.
72574         (llrintf): Likwise.
72575         (llrint): Likwise.
72577 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
72579         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
72580         __WORDSIZE != 64.
72582 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
72584         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
72585         OVERFLOW_EXCEPTION_OK.
72586         * math/libm-test.inc ("Philosophy"): Update comment about
72587         exception testing.
72588         (OVERFLOW_EXCEPTION): Define.
72589         (OVERFLOW_EXCEPTION_OK): Likewise.
72590         (INVALID_EXCEPTION_OK): Renumber.
72591         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
72592         (IGNORE_ZERO_INF_SIGN): Likewise.
72593         (test_exceptions): Handle FE_OVERFLOW.
72594         (exp10_test): Expect overflow exceptions.
72595         (exp2_test): Likewise.
72596         (expm1_test): Likewise.
72597         (nextafter_test): Likewise.
72598         (pow_test): Likewise.
72599         (scalbn_test): Likewise.
72600         (scalbln_test): Likewise.
72602 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72604         * sysdeps/x86_64/bits/atomic.h
72605         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
72606         64bit integer.
72607         (atomic_exchange_acq): Likewise.
72608         (__arch_exchange_and_add_body): Likewise.
72609         (__arch_add_body): Likewise.
72610         (atomic_add_negative): Likewise.
72611         (atomic_add_zero): Likewise.
72613 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72615         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
72616         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
72618 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72620         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
72621         Check __x86_64__ instead of __WORDSIZE.
72623 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72625         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
72627 2012-03-19  David S. Miller  <davem@davemloft.net>
72629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72631         * sysdeps/sparc/fpu/fenv_private.h: New file.
72632         * sysdeps/sparc/fpu/math_private.h: Use it.
72633         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
72634         Remove.
72635         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
72636         (libc_feholdexcept_setroundl): Remove.
72637         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
72638         Remove.
72639         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
72640         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
72642 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72644         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
72645         int64_t instead of long int.
72646         (INSERT_WORDS64): Likwise.
72648 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
72650         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
72651         _Unwind_GetCFA return to _Unwind_Ptr first.
72653 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
72655         [BZ #13629]
72656         * math/s_clog.c: Include <float.h>.
72657         (__clog): Scale large or subnormal inputs.
72658         * math/s_clogf.c: Likewise.
72659         * math/s_clogl.c: Likewise.
72660         * math/s_clog10.c: Include <float.h>.
72661         (M_LOG10_2): Define.
72662         (__clog10): Scale large or subnormal inputs.
72663         * math/s_clog10f.c: Likewise.
72664         * math/s_clog10l.c: Likewise.
72665         * math/libm-test.inc (clog_test): Add more tests.
72666         (clog10_test): Likewise.
72667         * sysdeps/i386/fpu/libm-test-ulps: Update.
72668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72670         [BZ #11451]
72671         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
72672         x and y.
72673         * math/libm-test.inc (atan2_test): Add another test.
72675         * Makerules (common-objdir-compile): Remove.
72676         * sysdeps/unix/Makefile (config-generated): Do not add
72677         $(unix-generated) to variable.
72678         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
72679         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
72680         Remove rule.
72681         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
72682         Likewise.
72683         [generic bits/local_lim.h] (before-compile): Do not append to
72684         variable.
72685         [generic bits/local_lim.h] (common-generated): Likewise.
72686         [generic sys/param.h] (before-compile): Do not append to variable.
72687         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
72688         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
72689         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
72690         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
72691         include.
72692         [generic sys/param.h] (sys/param.h-includes): Remove variable.
72693         [generic sys/param.h] (sys/param.h-includes): Remove rule.
72694         [generic sys/param.h] ($(addprefix
72695         $(common-objpfx),$(sys/param.h-includes))): Likewise.
72696         [generic sys/param.h] (common-generated): Do not append to
72697         variable.
72698         [generic sys/param.h] (sysdep_headers): Likewise.
72699         [generic bits/errno.h] (before-compile): Do not append to
72700         variable.
72701         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
72702         rule.
72703         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
72704         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
72705         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
72706         [generic bits/errno.h] (common-generated): Do not append to
72707         variable.
72708         [generic bits/ioctls.h] (before-compile): Do not append to
72709         variable.
72710         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
72711         rule.
72712         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
72713         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
72714         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
72715         rule.
72716         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
72717         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
72718         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
72719         [generic bits/ioctls.h] (common-generated): Do not append to
72720         variable.
72721         [generic sys/syscall.h] (syscall.h): Remove variable.
72722         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
72723         rule.
72724         [generic sys/syscall.h] (before-compile): Do not append to
72725         variable.
72726         [generic sys/syscall.h] (common-generated): Likewise.
72727         * sysdeps/unix/errnos-tmpl.c: Remove file.
72728         * sysdeps/unix/errnos.awk: Likewise.
72729         * sysdeps/unix/ioctls-tmpl.c: Likewise.
72730         * sysdeps/unix/ioctls.awk: Likewise.
72731         * sysdeps/unix/mk-local_lim.c: Likewise.
72732         * sysdeps/unix/snarf-ioctls: Likewise.
72734 2012-03-19  Richard Henderson  <rth@twiddle.net>
72736         * sysdeps/i386/fpu/fenv_private.h: New file.
72737         * sysdeps/i386/fpu/math_private.h: Use it.
72738         (math_opt_barrier, math_force_eval): Remove.
72739         (libc_feholdexcept_setround_53bit): Remove.
72740         (libc_feupdateenv_53bit): Remove.
72741         * sysdeps/x86_64/fpu/math_private.h: Likewise.
72742         (math_opt_barrier, math_force_eval): Remove.
72743         (libc_feholdexcept): Remove.
72744         (libc_feholdexcept_setround): Remove.
72745         (libc_fetestexcept, libc_fesetenv): Remove.
72746         (libc_feupdateenv_test): Remove.
72747         (libc_feupdateenv, libc_feholdsetround): Remove.
72748         (libc_feresetround): Remove.
72750         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
72751         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
72753         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
72754         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
72755         (libc_feupdateenv_testl): New.
72756         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
72757         (libc_feupdateenv_testf): New.
72758         (libc_feupdateenv): Use libc_feupdateenv_test.
72759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
72760         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
72762         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
72763         (libc_feholdsetroundf, libc_feholdsetroundl): New.
72764         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
72765         (libc_feresetround_noex): New.
72766         (libc_feresetround_noexf): New.
72767         (libc_feresetround_noexl): New.
72768         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
72769         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
72770         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
72771         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
72772         SET_RESTORE_ROUND.
72773         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
72774         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
72775         (__cos): Likewise.
72776         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
72777         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
72778         SET_RESTORE_ROUND_NOEX.
72779         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
72780         SET_RESTORE_ROUND_NOEXF.
72781         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
72782         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
72783         (libc_feholdsetroundf): New.
72784         (libc_feresetround, libc_feresetroundf): New.
72786         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
72787         (libc_feholdexcept_setround_53bit): Convert from macro to function.
72788         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
72790         * sysdeps/generic/math_private.h: Include <fenv.h>.
72791         (default_libc_feholdexcept): New.
72792         (default_libc_feholdexcept_setround): New.
72793         (default_libc_fesetenv, default_libc_feupdateenv): New.
72794         (libc_feholdexcept): Only define if undefined.
72795         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
72796         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
72797         (libc_feholdexcept_setroundl): Likewise.
72798         (libc_feholdexcept_setround_53bit): Likewise.
72799         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
72800         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
72801         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
72802         (libc_feupdateenv_53bit): Likewise.
72803         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
72804         (libc_feholdexcept): Convert from macro to inline function.
72805         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
72806         (libc_fesetenv, libc_feupdateenv): Likewise.
72808         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
72809         not previously defined.
72810         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
72811         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
72812         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
72813         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
72814         * sysdeps/ieee754/flt-32/math_private.h: New file.
72815         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
72816         math_private.h below SET_FLOAT_WORD.
72817         (__isnan, __isinf_ns, __finite): Remove.
72818         (__isnanf, __isinf_nsf, __finitef): Remove.
72820 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
72822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72824 2012-03-17  David S. Miller  <davem@davemloft.net>
72826         [BZ #6471]
72827         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
72828         for 2.16.
72830 2012-03-16  David S. Miller  <davem@davemloft.net>
72832         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
72833         warnings.
72835         [BZ #6471]
72836         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
72837         properly.
72838         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
72839         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
72840         sysdep_routines when subdir is sysvipc.
72841         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
72842         __getshmlba helper.
72844         * sysdeps/sparc/fpu/libm-test/ulps: Update.
72846 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72848         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
72849         [__LP64__].
72851 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72853         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
72854         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
72855         (__lround): Renamed to ...
72856         (__llround): This.  Replace long int with long long int.
72857         Define lround functions as aliases of llround functions.
72858         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
72860 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72862         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
72863         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
72864         adresses to uintptr_t.  Replace "long int" and "unsigned long
72865         int" with "greg_t" on va_arg.
72867 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72869         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
72870         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
72872         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
72873         Move e_machine check before EI_CLASS check.  Handle x32
72874         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
72875         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
72876         SKIP_EM_IA_64 and include
72877         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
72879         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
72880         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
72881         (add_system_dir): New macro.
72883         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
72884         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
72886 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72888         [BZ #2551]
72889         [BZ #2552]
72890         [BZ #2553]
72891         [BZ #2554]
72892         [BZ #2562]
72893         [BZ #2563]
72894         [BZ #2565]
72895         [BZ #2566]
72896         [BZ #2576]
72897         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
72898         (y0): Likewise.
72899         * math/w_j0f.c (j0f): Likewise.
72900         (y0f): Likewise.
72901         * math/w_j0l.c (__j0l): Likewise.
72902         (__y0l): Likewise.
72903         * math/w_j1.c (j1): Likewise.
72904         (y1): Likewise.
72905         * math/w_j1f.c (j1f): Likewise.
72906         (y1f): Likewise.
72907         * math/w_j1l.c (__j1l): Likewise.
72908         (__y1l): Likewise.
72909         * math/w_jn.c (jn): Likewise.
72910         (yn): Likewise.
72911         * math/w_jnf.c (jnf): Likewise.
72912         (ynf): Likewise.
72913         * math/w_jnl.c (__jnl): Likewise.
72914         (__ynl): Likewise.
72915         * math/libm-test.inc (j0_test): Add more tests.
72916         (j1_test): Likewise.
72917         (jn_test): Likewise.  Add trailing semicolon to existing test.
72918         (y0_test): Likewise.
72919         (y1_test): Likewise.
72920         * sysdeps/i386/fpu/libm-test-ulps: Update.
72921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72923         [BZ #13851]
72924         [BZ #13854]
72925         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
72926         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
72927         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
72928         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
72929         (__tanl): Set errno for infinite argument.
72930         * sysdeps/i386/fpu/mptan.c: Remove.
72931         * sysdeps/i386/fpu/s_tan.S: Likewise.
72932         * sysdeps/i386/fpu/s_tanl.S: Likewise.
72933         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
72934         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
72935         * math/libm-test.inc (tan_test): Add more tests and enable more
72936         tests for double and long double.
72937         * sysdeps/i386/fpu/libm-test-ulps: Update.
72938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72940 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
72942         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
72943         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
72945 2012-03-16  Roland McGrath  <roland@hack.frob.com>
72947         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
72948         * configure.in: Use it for both main tree and add-ons.
72949         * configure: Regenerated.
72951 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
72953         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
72955 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
72957         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
72958         in comment.
72960         [BZ #13851]
72961         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
72962         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
72963         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
72964         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
72965         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
72966         infinite argument.
72967         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
72968         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
72969         != 0 for prec == 2.
72970         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
72971         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
72972         * sysdeps/i386/fpu/s_cosl.S: Likewise.
72973         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
72974         * sysdeps/i386/fpu/s_sinl.S: Likewise.
72975         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
72976         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
72977         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
72978         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
72979         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
72980         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
72981         * math/libm-test.inc (cos_test): Add more tests and enable more
72982         tests for long double.
72983         (sin_test): Likewise.
72984         (sincos_test): Likewise.
72985         * sysdeps/i386/fpu/libm-test-ulps: Update.
72986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72988 2012-03-16  David S. Miller  <davem@davemloft.net>
72990         * sysdeps/sparc/fpu/math_private.h: New file.
72992 2012-03-15  David S. Miller  <davem@davemloft.net>
72994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
72995         file.
72996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
72997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
72998         file.
72999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
73000         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
73001         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
73002         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
73003         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
73004         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
73005         sysdep routines.
73006         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73008         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
73009         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
73011         * sysdeps/sparc/sparc-ifunc.h: New file.
73012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
73013         sparc-ifunc.h
73014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
73015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
73016         Likewise.
73017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
73018         Likewise.
73019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
73020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
73021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
73022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
73023         Likewise.
73024         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
73025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
73026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
73027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
73028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
73029         Likewise.
73030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
73031         Likewise.
73032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
73033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
73034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
73035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
73036         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
73037         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
73038         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
73039         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
73040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
73041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
73042         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
73043         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
73044         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
73045         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
73046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
73047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
73048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
73049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
73050         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
73051         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
73052         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
73053         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
73054         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
73055         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
73057 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73059         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
73060         scaling.
73061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73063 2012-03-15  Andreas Jaeger  <aj@suse.de>
73065         [BZ #13852]
73066         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
73067         ieee754/flt-32 implementation for sin, cos and sincos.
73068         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
73069         * sysdeps/i386/fpu/s_cosf.S: Likewise.
73070         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
73071         * sysdeps/i386/fpu/s_sinf.S: Likewise.
73072         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
73073         ieee754/flt-32 implementation for tan.
73075         * math/libm-test.inc (cos_test): Enable some large input tests for
73076         float as well
73077         (sin_test): Likewise.
73078         (sincos_test): Likewise.
73079         (tan_test): Add tests for large input.
73081         * sysdeps/i386/fpu/libm-test-ulps: Update.
73083 2012-03-15  Andreas Jaeger  <aj@suse.de>
73085         [BZ #13658]
73086         * math/libm-test.inc (cos_test): Add more test cases.
73087         (sin_test): Likewise.
73088         (sincos_test): Likewise.
73090 2012-03-15  Andreas Jaeger  <aj@suse.de>
73092         [BZ #13837]
73093         * math/libm-test.inc (cos_test): Add a test case for large input
73094         value.
73095         (sin_test): Likewise.
73096         (sincos_test): Likewise.
73098 2012-03-15  Andreas Jaeger  <aj@suse.de>
73099             Joseph Myers  <joseph@codesourcery.com>
73101         [BZ #13658]
73102         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
73103         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
73104         * sysdeps/i386/fpu/branred.c: Likewise.
73105         * sysdeps/i386/fpu/dosincos.c: Likewise.
73106         * sysdeps/i386/fpu/mpa.c: Likewise.
73107         * sysdeps/i386/fpu/s_cos.S: Likewise.
73108         * sysdeps/i386/fpu/s_sin.S: Likewise.
73109         * sysdeps/i386/fpu/s_sincos.S: Likewise.
73110         * sysdeps/i386/fpu/sincos32.c: Likewise.
73112         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
73113         Define.
73114         (libc_feupdateenv_53bit): Define.
73115         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
73116         Define.
73117         (libc_feupdateenv_53bit): Define.
73119         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
73120         53 bit (without extend i386 double precision).
73122         * math/libm-test.inc (sincos_test): Add tests for large input.
73123         (sin): Likewise.
73124         (cos): Likewise.
73126         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
73128 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
73130         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73132 2012-03-15  David S. Miller  <davem@davemloft.net>
73134         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
73135         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
73136         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
73137         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
73138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
73139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
73140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
73141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
73142         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
73143         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
73144         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
73145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
73146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
73147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
73148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
73149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
73150         file.
73151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
73152         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
73153         file.
73154         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
73155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
73156         file.
73157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
73158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
73159         file.
73160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
73161         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
73162         fmin/fmax sysdep routines.
73163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
73165 2012-03-14  David S. Miller  <davem@davemloft.net>
73167         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
73168         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
73169         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
73170         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
73171         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
73172         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
73173         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
73174         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
73175         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
73176         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
73177         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
73178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
73179         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
73180         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
73181         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
73182         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
73183         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
73184         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
73185         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
73186         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
73187         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
73188         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
73189         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
73190         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
73191         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
73192         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
73193         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
73194         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
73195         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
73196         routines.
73197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
73198         file.
73199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
73200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
73201         file.
73202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
73203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
73204         file.
73205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
73206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
73207         file.
73208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
73209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
73210         file.
73211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
73212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
73213         file.
73214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
73215         file.
73216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
73217         file.
73218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
73219         file.
73220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
73221         New file.
73222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
73223         file.
73224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
73225         file.
73226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
73227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
73228         file.
73229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
73230         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
73231         file.
73232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
73233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
73234         file.
73235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
73236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
73237         VIS3 routines.
73239         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
73240         New file.
73242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73244         * sysdeps/sparc/configure.in: New file.
73245         * sysdeps/sparc/configure: Generate.
73246         * configure.in (libc_cv_sparc_as_vis3): Substitute.
73247         * configure: Regenerate.
73248         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
73249         * config.make.in (have-as-vis3): New.
73250         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
73251         available use -Av9d instead of -Av9a.
73252         * sysdeps/sparc/sparc64/Makefile: Likewise.
73253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
73254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
73255         New file.
73256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
73257         file.
73258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
73259         New file.
73260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
73261         file.
73262         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
73263         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
73264         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
73265         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
73266         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
73268         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
73269         fzeros/fnegs to load 0x80000000 into a float register instead of
73270         using the stack.
73271         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
73273 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73275         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73276         bits/syscall.h.
73277         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
73278         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
73279         ($(inst_includedir)/bits/syscall.h): Remove rule.
73280         ($(objpfx)bits/syscall.d): Include instead of
73281         $(objpfx)syscall-list.d.
73282         (generated): Change syscall-list.h and syscall-list.d to
73283         bits/syscall.h and bits/syscall.d.
73285 2012-03-14  Roland McGrath  <roland@hack.frob.com>
73287         [BZ #13846]
73288         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
73290 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
73292         [BZ #13841]
73293         * math/s_csqrt.c: Include <float.h>.
73294         (__csqrt): Scale large or subnormal inputs.
73295         * math/s_csqrtf.c: Likewise.
73296         * math/s_csqrtl.c: Likewise.
73297         * math/libm-test.inc (csqrt_test): Add more tests.
73298         * sysdeps/i386/fpu/libm-test-ulps: Update.
73299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73301         [BZ #13840]
73302         * math/libm-test.inc (hypot_test): Add more tests.
73304 2012-03-13  David S. Miller  <davem@davemloft.net>
73306         [BZ #13840]
73307         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
73308         double-precision for the calculation instead of scaling.
73310 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
73312         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
73313         manipulate bits before adding and subtracting TWO52[sx].
73314         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
73315         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
73316         Likewise.
73317         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
73319 2012-03-13  David S. Miller  <davem@davemloft.net>
73321         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
73322         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
73323         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
73324         rtld-global-offsets.h
73325         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73327         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
73328         large parameters.
73330         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
73332         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
73333         'err' in the ifdef scope in which it is actually used.
73335         * nss/nss_db/db-init.c: Include string.h
73337 2012-03-12  David S. Miller  <davem@davemloft.net>
73339         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
73340         masking out of the most significant byte of random value used.
73341         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73342         Fix coding style in previous change.
73344         * sysdeps/unix/sysv/linux/kernel-features.h
73345         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
73346         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
73347         expression.
73348         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
73349         later.
73351 2012-03-11  David S. Miller  <davem@davemloft.net>
73353         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73354         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
73355         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
73356         for 'resultvar' otherwise things get truncated on 64-bit.
73358         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
73359         Fix masking out of the most significant byte of random value used.
73361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73363 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
73365         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73367 2012-03-09  David S. Miller  <davem@davemloft.net>
73369         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
73370         variables with appropriate CPP guards.
73371         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
73372         from the frame pointer, not the stack pointer.  Correct layout
73373         comments.  Fix test on resulting framesize and the management of
73374         the outregs buffer for pltexit.  Preserve floating point return
73375         values across _dl_call_pltexit call.
73376         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
73377         framesize and the management of the outregs buffer for pltexit.
73378         Preserve floating point return values across _dl_call_pltexit
73379         call.
73380         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
73381         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
73382         (la_sparc64_gnu_pltexit): New functions.
73383         (print_exit): Fix format string for return register value.
73385 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
73387         * sunrpc/Makefile (others): Add rpcgen.
73388         ($(objpfx)rpcgen): Remove special build rule and dependency on
73389         libc.
73390         * sunrpc/rpcgen.c: New file.
73392 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
73394         [BZ #13673]
73395         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
73396         * stdio-common/bug-vfprintf-nargs.c: Likewise.
73397         * sysdeps/i386/crti.S: Likewise.
73398         * sysdeps/i386/crtn.S: Likewise.
73399         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
73400         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
73401         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
73402         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
73403         * sysdeps/sh/crti.S: Likewise.
73404         * sysdeps/sh/crtn.S: Likewise.
73405         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
73407         [BZ #13673]
73408         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
73409         with URL.
73410         * locale/programs/locfile-kw.gperf: Likewise.
73411         * locale/programs/charmap-kw.h: Regenerated.
73412         * locale/programs/locfile-kw.h: Likewise.
73414         [BZ #13673]
73415         * intl/plural.y: Replace FSF snail mail address with URL.
73416         * intl/plural.c: Regenerated.
73418 2012-03-09  Richard Henderson  <rth@twiddle.net>
73420         * include/math_private.h: Remove file.
73421         * math/math_private.h: Move file ...
73422         * sysdeps/generic/math_private.h: ... here.
73424         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
73425         * sysdeps/powerpc/fpu/math_private.h: Likewise.
73426         * sysdeps/x86_64/fpu/math_private.h: Likewise.
73428         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
73429         and <math_private.h>.
73430         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
73431         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
73432         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
73433         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
73434         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
73435         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
73436         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73437         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73438         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
73439         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73440         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73441         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73442         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
73443         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73444         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
73445         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
73446         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73447         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
73448         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
73449         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
73450         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73451         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
73452         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
73453         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73454         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
73455         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73456         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
73457         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73458         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73459         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
73460         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
73461         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73462         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
73463         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73464         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
73465         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
73466         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73467         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
73468         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
73469         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73470         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
73471         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
73472         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
73473         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
73474         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
73475         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
73476         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
73477         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
73478         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73479         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
73480         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
73481         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
73482         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
73483         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
73484         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
73485         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
73486         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73487         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
73488         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
73489         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
73490         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73491         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
73492         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73493         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
73494         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
73495         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73496         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73497         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73498         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
73499         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
73500         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
73501         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73502         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
73503         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73504         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
73505         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
73506         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
73507         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
73508         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
73509         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
73510         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
73511         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
73512         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
73513         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
73514         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73515         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
73516         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
73517         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
73518         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
73519         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
73520         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
73521         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
73522         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73523         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
73524         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
73525         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
73526         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73527         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
73528         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
73529         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
73530         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
73531         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
73532         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
73533         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
73534         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
73535         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
73536         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
73537         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
73538         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
73539         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
73540         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
73541         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
73542         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
73543         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
73544         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
73545         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73546         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
73547         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
73548         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
73549         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73550         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
73551         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
73552         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73553         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
73554         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
73555         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
73556         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
73557         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
73558         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
73559         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
73560         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
73561         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73562         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
73563         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
73564         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
73565         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
73566         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
73567         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
73568         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
73569         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
73570         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73571         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
73572         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
73573         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
73574         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
73575         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
73576         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
73577         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
73578         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
73579         * sysdeps/ieee754/k_standard.c: Likewise.
73580         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
73581         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
73582         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
73583         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
73584         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
73585         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
73586         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
73587         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
73588         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
73589         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
73590         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
73591         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
73592         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
73593         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
73594         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
73595         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
73596         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
73597         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
73598         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
73599         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
73600         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
73601         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
73602         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
73603         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
73604         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
73605         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
73606         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
73607         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
73608         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
73609         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
73610         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
73611         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
73612         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
73613         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
73614         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
73615         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
73616         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
73617         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
73618         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
73619         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
73620         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
73621         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
73622         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
73623         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
73624         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
73625         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
73626         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
73627         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
73628         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
73629         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
73630         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
73631         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
73632         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
73633         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
73634         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
73635         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
73636         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
73637         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
73638         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
73639         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
73640         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
73641         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
73642         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
73643         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
73644         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
73645         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
73646         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
73647         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
73648         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
73649         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
73650         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
73651         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
73652         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
73653         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
73654         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
73655         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
73656         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
73657         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
73658         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
73659         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
73660         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
73661         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
73662         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
73663         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
73664         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
73665         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
73666         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
73667         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
73668         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
73669         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
73670         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
73671         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
73672         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
73673         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
73674         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
73675         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
73676         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
73677         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
73678         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
73679         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
73680         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
73681         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
73682         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
73683         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
73684         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
73685         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
73686         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
73687         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
73688         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
73689         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
73690         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
73691         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
73692         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
73693         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
73694         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
73695         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73696         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
73697         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
73698         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73699         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
73700         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
73701         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
73702         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
73703         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
73704         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
73705         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
73706         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
73707         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
73708         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
73709         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
73710         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
73711         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
73712         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
73713         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
73714         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
73715         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
73716         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
73717         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
73718         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
73719         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
73720         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
73721         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
73722         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
73723         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
73724         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
73725         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
73726         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
73727         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
73728         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
73729         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
73730         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
73731         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73732         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
73733         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
73734         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
73735         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
73736         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
73737         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
73738         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
73739         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
73740         * sysdeps/ieee754/s_lib_version.c: Likewise.
73741         * sysdeps/ieee754/s_matherr.c: Likewise.
73742         * sysdeps/ieee754/s_signgam.c: Likewise.
73743         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
73744         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
73745         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
73746         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
73747         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
73748         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
73749         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
73750         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
73751         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
73752         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
73753         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
73754         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
73755         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
73756         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
73757         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
73758         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73759         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73760         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73761         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73762         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
73763         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
73765 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73767         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
73768         * sunrpc/rpc_main.c: Likewise.
73769         * sunrpc/rpc_svcout.c: Likewise.
73771 2012-03-09  David S. Miller  <davem@davemloft.net>
73773         * include/math_private.h: New file.
73775 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
73777         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
73778         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
73779         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
73780         from <bits/socket_type.h>.
73781         (enum __socket_type): Don't define here.
73782         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
73783         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73784         bits/socket_type.h.
73786         [BZ #13566]
73787         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
73788         checking __USE_GNU.
73790         * Makerules ($(inst_includedir)/%.h): New rule.
73791         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
73792         (install-others): Remove variable setting.
73793         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
73795 2012-03-08  Richard Henderson  <rth@twiddle.net>
73797         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
73798         from macro to inline function; merge with the
73799         !__LIBC_INTERNAL_MATH_INLINES version.
73800         (__ieee754_sqrtf): Likewise.
73802         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
73803         to inline function.
73804         (__rintf, __floor, __floorf): Likewise.
73806         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
73807         macro to inline function.
73808         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
73810         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
73811         not <math/math_private.h>.
73813 2012-03-08  David S. Miller  <davem@davemloft.net>
73815         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
73816         copyright year.
73817         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
73819 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
73821         * resolv/gai_misc.c (handle_requests): Fix struct timespec
73822         normalization.
73823         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
73824         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
73826 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
73828         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
73829         be defined individually, they must be defined as a block.  Define
73830         S for printing a string instead of hidint the different by using a
73831         macro for adding the 'l'.
73832         * stdio-common/tst-fphex-wide.c: Adjust.
73834 2012-03-07  Marek Polacek  <polacek@redhat.com>
73836         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
73838 2012-03-08  Marek Polacek  <polacek@redhat.com>
73840         [BZ #13806]
73841         * stdio-common/Makefile (tests): Add tst-fphex-wide.
73842         * stdio-common/tst-fphex.c: Define a few macros to make the
73843         test reusable.  Use them.
73844         * stdio-common/tst-fphex-wide.c: New file.
73846 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
73848         [BZ #6911]
73849         * manual/macros.texi (gnusystems): New macro.
73850         (nongnusystems): Likewise.
73851         (gnulinuxhurdsystems): Likewise.
73852         (gnuhurdsystems): Likewise..
73853         (gnulinuxsystems): Likewise.
73854         * manual/charset.texi: Use new macros or @theglibc{} to refer to
73855         variants of the GNU system, not "GNU system".
73856         * manual/conf.texi: Likewise.
73857         * manual/errno.texi: Likewise.  Update example of errno macro
73858         expansion.
73859         * manual/filesys.texi: Likewise.
73860         (getumask): Document as specific to GNU/Hurd.
73861         * manual/install.texi: Likewise.  Reword some references to
73862         GNU/Linux.
73863         * manual/intro.texi: Likewise.
73864         * manual/io.texi: Likewise.
73865         (File Name Portability): Detail which constraints are inapplicable
73866         to all GNU systems and which are only inapplicable to GNU/Hurd.
73867         * manual/job.texi: Likewise.
73868         * manual/llio.texi: Likewise.
73869         (O_NOCTTY): Document as present on GNU/Linux.
73870         * manual/maint.texi: Likewise.
73871         * manual/memory.texi: Likewise.
73872         * manual/pattern.texi: Likewise.
73873         * manual/pipe.texi: Likewise.
73874         * manual/process.texi: Likewise.
73875         * manual/resource.texi: Likewise.
73876         (RUSAGE_CHILDREN): Remove statement about specifying a particular
73877         child on GNU/Hurd.
73878         * manual/setjmp.texi: Likewise.
73879         * manual/signal.texi: Likewise.
73880         * manual/startup.texi: Likewise.
73881         * manual/stdio.texi: Likewise.
73882         * manual/terminal.texi: Likewise.
73883         (ONLCR): Document as POSIX.
73884         (OXTABS): Document availability on GNU/Linux as XTABS.
73885         (ONOEOT): Document availability separately from other bits.
73886         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
73887         * manual/time.texi: Likewise.
73888         * manual/users.texi: Likewise.
73889         * INSTALL: Regenerated.
73890         * sysdeps/gnu/errlist.c: Regenerated.
73892         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
73893         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
73894         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
73895         puts.
73896         * configure: Regenerated.
73898 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
73900         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
73901         default includes instead of AC_HEADER_CHECK.
73902         * sysdeps/i386/configure: Regenerated.
73904         [BZ #10716]
73905         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
73906         * math/s_cacoshf.c (__cacoshf): Likewise.
73907         * math/s_cacoshl.c (__cacoshl): Likewise.
73908         * math/s_casinh.c (__casinh): Set signs of result from argument.
73909         * math/s_casinhf.c (__casinhf): Likewise.
73910         * math/s_casinhl.c (__casinhl): Likewise.
73911         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
73912         (casinh_test): Add more tests.
73913         * sysdeps/i386/fpu/libm-test-ulps: Update.
73914         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73916 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
73918         * po/zh_TW.po: Update from translation team.
73920         * login/Makefile (distribute): Remove variable.
73921         * catgets/Makefile: Likewise.
73922         * mach/Makefile: Likewise.
73923         * malloc/Makefile: Likewise.
73924         * misc/Makefile: Likewise.
73925         * iconv/Makefile: Likewise.
73926         * nscd/Makefile: Likewise.
73927         * hurd/Makefile: Likewise.
73928         * manual/Makefile: Likewise.
73929         * locale/Makefile: Likewise.
73930         * intl/Makefile: Likewise.
73931         * conform/Makefile: Likewise.
73932         * nss/Makefile: Likewise.
73933         * time/Makefile: Likewise.
73934         * soft-fp/Makefile: Likewise.
73935         * dirent/Makefile: Likewise.
73936         * gmon/Makefile: Likewise.
73937         * po/Makefile: Likewise.
73938         * rt/Makefile: Likewise.
73939         * socket/Makefile: Likewise.
73940         * math/Makefile: Likewise.
73941         * signal/Makefile: Likewise.
73942         * debug/Makefile: Likewise.
73943         * elf/Makefile: Likewise.
73944         * timezone/Makefile: Likewise.
73945         * stdlib/Makefile: Likewise.
73946         * iconvdata/Makefile: Likewise.
73947         * sunrpc/Makefile: Likewise.
73948         * io/Makefile: Likewise.
73949         * argp/Makefile: Likewise.
73950         * inet/Makefile: Likewise.
73951         * hesiod/Makefile: Likewise.
73952         * grp/Makefile: Likewise.
73953         * csu/Makefile: Likewise.
73954         * wctype/Makefile: Likewise.
73955         * crypt/Makefile: Likewise.
73956         * libio/Makefile: Likewise.
73957         * string/Makefile: Likewise.
73958         * nis/Makefile: Likewise.
73959         * resolv/Makefile: Likewise.
73960         * stdio-common/Makefile: Likewise.
73961         * wcsmbs/Makefile: Likewise.
73962         * dlfcn/Makefile: Likewise.
73963         * posix/Makefile: Likewise.
73965         [BZ #6959]
73966         * timezone/Makefile: Don't install timezone files, just the programs
73967         and scripts.
73969 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
73971         * nss/databases.def: Add missing gshadow entry.
73973         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
73975 2012-03-06  Marek Polacek  <polacek@redhat.com>
73977         [BZ #13726]
73978         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
73979         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
73980         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
73981         * stdio-common/tst-long-dbl-fphex.c: New file.
73983 2012-03-06  David S. Miller  <davem@davemloft.net>
73985         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
73986         (set_obp_int): New function.
73987         (get_obp_int): New function.
73988         (__get_clockfreq_via_dev_openprom): Likewise.
73989         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
73990         Avoid unused variable warnings on 'val' and use builtin_expect.
73991         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
73992         __builtin_expect.
73993         (INLINE_CLONE_SYSCALL): Likewise.
73995 2012-03-05  David S. Miller  <davem@davemloft.net>
73997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73999 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
74001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74003         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
74004         only for |x| >= 40.
74005         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74007 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
74009         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
74010         Replace gettimeofday with __vdso_gettimeofday.
74012         * sysdeps/unix/sysv/linux/x86_64/init-first.c
74013         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
74014         __vdso_clock_gettime and __vdso_getcpu.
74016         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
74017         time with __vdso_time.
74019 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74021         * manual/lang.texi (size_t): Note types to which size_t may be
74022         equivalent with the GNU C Library, but do not describe when
74023         differences between them are significant.
74025 2012-03-05  Andreas Jaeger  <aj@suse.de>
74027         * sysdeps/i386/fpu/libm-test-ulps: Update.
74029 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
74031         [BZ #3976]
74032         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
74033         (__ieee754_pow): Save and restore rounding mode and use
74034         round-to-nearest for main computations.
74035         * math/libm-test.inc (pow_test_tonearest): New function.
74036         (pow_test_towardzero): Likewise.
74037         (pow_test_downward): Likewise.
74038         (pow_test_upward): Likewise.
74039         (main): Call the new functions.
74040         * sysdeps/i386/fpu/libm-test-ulps: Update.
74041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74043         [BZ #3976]
74044         * math/libm-test.inc (cosh_test_tonearest): New function.
74045         (cosh_test_towardzero): Likewise.
74046         (cosh_test_downward): Likewise.
74047         (cosh_test_upward): Likewise.
74048         (sinh_test_tonearest): Likewise.
74049         (sinh_test_towardzero): Likewise.
74050         (sinh_test_downward): Likewise.
74051         (sinh_test_upward): Likewise.
74052         (main): Call the new functions.
74053         * sysdeps/i386/fpu/libm-test-ulps: Update.
74054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74056 2012-03-05  Tom de Vries  <tom@codesourcery.com>
74058         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
74059         default stack guard is set in last bytes.
74060         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
74062 2012-03-05  Kees Cook  <keescook@chromium.org>
74064         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
74066         [BZ #13656]
74067         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
74068         possibly allocate from heap instead of stack.
74069         * stdio-common/bug-vfprintf-nargs.c: New file.
74070         * stdio-common/Makefile (tests): Add nargs overflow test.
74072 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
74074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74076 2012-03-03  Marek Polacek  <polacek@redhat.com>
74078         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
74079         * math/math_private.h: Likewise.
74080         * stdlib/tst-strtod.c: Likewise.
74081         * sysdeps/i386/i486/bits/atomic.h: Likewise.
74082         * sysdeps/x86_64/bits/atomic.h: Likewise.
74084 2012-03-02  David S. Miller  <davem@davemloft.net>
74086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
74087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
74088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
74089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
74090         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
74091         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
74092         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
74093         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
74095 2012-03-02  Roland McGrath  <roland@hack.frob.com>
74097         [BZ #13792]
74098         * manual/examples/README: New file, says the example source files
74099         can be used under GPL>=2.
74100         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
74101         line containing just "*/".
74102         * manual/examples/add.c: Add copyright header (GPL>=2).
74103         * manual/examples/argp-ex1.c: Likewise.
74104         * manual/examples/argp-ex2.c: Likewise.
74105         * manual/examples/argp-ex3.c: Likewise.
74106         * manual/examples/argp-ex4.c: Likewise.
74107         * manual/examples/atexit.c: Likewise.
74108         * manual/examples/db.c: Likewise.
74109         * manual/examples/dir.c: Likewise.
74110         * manual/examples/dir2.c: Likewise.
74111         * manual/examples/execinfo.c: Likewise.
74112         * manual/examples/filecli.c: Likewise.
74113         * manual/examples/filesrv.c: Likewise.
74114         * manual/examples/fmtmsgexpl.c: Likewise.
74115         * manual/examples/genpass.c: Likewise.
74116         * manual/examples/inetcli.c: Likewise.
74117         * manual/examples/inetsrv.c: Likewise.
74118         * manual/examples/isockad.c: Likewise.
74119         * manual/examples/longopt.c: Likewise.
74120         * manual/examples/memopen.c: Likewise.
74121         * manual/examples/memstrm.c: Likewise.
74122         * manual/examples/mkfsock.c: Likewise.
74123         * manual/examples/mkisock.c: Likewise.
74124         * manual/examples/mygetpass.c: Likewise.
74125         * manual/examples/pipe.c: Likewise.
74126         * manual/examples/popen.c: Likewise.
74127         * manual/examples/rprintf.c: Likewise.
74128         * manual/examples/search.c: Likewise.
74129         * manual/examples/select.c: Likewise.
74130         * manual/examples/setjmp.c: Likewise.
74131         * manual/examples/sigh1.c: Likewise.
74132         * manual/examples/sigusr.c: Likewise.
74133         * manual/examples/stpcpy.c: Likewise.
74134         * manual/examples/strdupa.c: Likewise.
74135         * manual/examples/strftim.c: Likewise.
74136         * manual/examples/strncat.c: Likewise.
74137         * manual/examples/subopt.c: Likewise.
74138         * manual/examples/swapcontext.c: Likewise.
74139         * manual/examples/termios.c: Likewise.
74140         * manual/examples/testopt.c: Likewise.
74141         * manual/examples/testpass.c: Likewise.
74142         * manual/examples/timeval_subtract.c: Likewise.
74144         [BZ #13792]
74145         * manual/time.texi (Elapsed Time): Move timeval_subtract example
74146         function to ...
74147         * manual/timeval_subtract.c.texi: ... here, new file.
74149 2012-03-02  David S. Miller  <davem@davemloft.net>
74151         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
74153 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
74155         [BZ #3976]
74156         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
74157         (__sin): Save and restore rounding mode and use round-to-nearest
74158         for all computations.
74159         (__cos): Save and restore rounding mode and use round-to-nearest
74160         for all computations.
74161         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
74162         <fenv.h>.
74163         (tan): Save and restore rounding mode and use round-to-nearest for
74164         all computations.
74165         * math/libm-test.inc (cos_test_tonearest): New function.
74166         (cos_test_towardzero): Likewise.
74167         (cos_test_downward): Likewise.
74168         (cos_test_upward): Likewise.
74169         (sin_test_tonearest): Likewise.
74170         (sin_test_towardzero): Likewise.
74171         (sin_test_downward): Likewise.
74172         (sin_test_upward): Likewise.
74173         (tan_test_tonearest): Likewise.
74174         (tan_test_towardzero): Likewise.
74175         (tan_test_downward): Likewise.
74176         (tan_test_upward): Likewise.
74177         (main): Call the new functions.
74178         * sysdeps/i386/fpu/libm-test-ulps: Update.
74179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74181         [BZ #10135]
74182         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
74183         small n, then large n, before computing and testing k+n.
74184         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
74185         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
74186         Likewise.
74187         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
74188         Likewise.
74189         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
74190         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
74191         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
74192         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
74193         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
74194         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
74195         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
74196         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
74197         * math/libm-test.inc (scalbn_test): Add more tests.
74198         (scalbln_test): Likewise.
74200         * manual/filesys.texi (mode_t): Describe constraints on size and
74201         signedness, not exact equivalence to a particular type.
74202         (ino_t): Likewise.
74203         (ino64_t): Likewise.
74204         (dev_t): Likewise.
74205         (nlink_t): Likewise.
74206         (blkcnt_t): Likewise.
74207         (blkcnt64_t): Likewise.
74208         * manual/llio.texi (off_t): Likewise.
74210         [BZ #3976]
74211         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
74212         (__ieee754_exp): Save and restore rounding mode and use
74213         round-to-nearest for all computations.
74214         * math/libm-test.inc (exp_test_tonearest): New function.
74215         (exp_test_towardzero): Likewise.
74216         (exp_test_downward): Likewise.
74217         (exp_test_upward): Likewise.
74218         (main): Call the new functions.
74219         * sysdeps/i386/fpu/libm-test-ulps: Update.
74220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74222 2012-03-01  Chris Demetriou  <cgd@google.com>
74224         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
74225         have predictable order.
74227 2012-03-01  David S. Miller  <davem@davemloft.net>
74229         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
74231         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
74232         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
74233         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
74234         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
74236         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
74237         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
74238         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
74239         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
74240         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
74241         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
74242         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
74243         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
74244         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
74246         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74248         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
74249         * sysdeps/sparc/fpu/libm-test-ulps: to here.
74250         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
74252         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
74253         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
74254         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74255         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
74256         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
74257         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
74258         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
74259         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
74260         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74261         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
74262         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
74263         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74264         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
74265         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74266         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74267         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74268         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
74269         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
74270         * sysdeps/sparc/elf/configure: Regenerated.
74272 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
74274         * configure.in (AS, LD): Require binutils 2.20 or later.
74275         * configure: Regenerated.
74276         * manual/install.texi (Tools for Compilation): Give binutils 2.20
74277         as required minimum version.
74278         * INSTALL: Regenerated.
74280         [BZ #2541]
74281         [BZ #4108]
74282         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
74283         before squaring exponent.
74284         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
74285         bottom long double and 27 bits of top long double before squaring
74286         exponent.
74287         * math/libm-test.inc (erfc_test): Add more tests.
74288         * sysdeps/i386/fpu/libm-test-ulps: Update.
74289         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74292 2012-03-01  Kai Tietz  <ktietz@redhat.com>
74294         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
74295         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
74296         containing bit-fields.
74297         * soft-fp/extended.h (_FP_UNION_E): Likewise.
74298         * soft-fp/single.h (_FP_UNION_S): Likewise.
74299         * soft-fp/double.h (_FP_UNION_D): Likewise.
74301 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74303         [BZ #13786]
74304         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
74305         not include ../strcmp.S.
74306         [USE_AS_STRNCASECMP_L]: Likewise.
74307         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
74308         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
74309         * sysdeps/i386/i686/multiarch/strncase_l-c.c
74310         (__strncasecmp_l_ia32): Define as alias to
74311         __strncasecmp_l_nonascii.
74313         [BZ #5794]
74314         * math/libm-test.inc (expm1_test): Add test for bug 5794.
74315         * sysdeps/i386/fpu/libm-test-ulps: Update.
74316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74318         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
74319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74321 2012-02-29  Jeff Law  <law@redhat.com>
74323         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
74324         out of bounds read.
74326 2012-02-29  Marek Polacek  <polacek@redhat.com>
74328         [BZ #13706]
74329         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
74330         * elf/Makefile: Add rules to run tst-unused-dep.out.
74332 2012-02-28  David S. Miller  <davem@davemloft.net>
74334         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
74335         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
74336         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
74337         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
74338         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
74339         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
74341 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
74343         * math/libm-test.inc (llround_test): Move one test from
74344         lround_test.  Use TEST_f_L in moved test.
74345         (lround_test): Move misplaced test to llround_test.  Add testcase
74346         from bug 2561.
74348 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
74350         * sysdeps/x86_64/fpu/e_expf.S: New file.
74351         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
74353 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
74355         [BZ #13637]
74356         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
74357         of remain_len that may cause incomplete multi-byte character and
74358         false match.
74359         * posix/bug-regex33.c: New file.
74360         * posix/Makefile (tests): Add bug-regex33.
74362 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
74364         * manual/macros.texi: New file.
74365         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
74366         * manual/libc.texinfo: Include macros.texi.
74367         * manual/creatute.texi: Likewise.
74368         * manual/install.texi: Likewise.
74369         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
74370         @glibcadj{} in references to the GNU C Library.
74371         * manual/charset.texi: Likewise.
74372         * manual/conf.texi: Likewise.
74373         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
74374         when not using those macros.
74375         * manual/creature.texi: Likewise.
74376         * manual/crypt.texi: Likewise.
74377         * manual/errno.texi: Likewise.
74378         * manual/filesys.texi: Likewise.
74379         * manual/header.texi: Likewise.
74380         * manual/install.texi: Likewise.
74381         * manual/intro.texi: Likewise.
74382         * manual/io.texi: Likewise.
74383         * manual/job.texi: Likewise.
74384         * manual/lang.texi: Likewise.
74385         * manual/libc.texiinfo: Likewise.
74386         * manual/llio.texi: Likewise.
74387         * manual/locale.texi: Likewise.
74388         * manual/maint.texi: Likewise.
74389         * manual/math.texi: Likewise.
74390         * manual/memory.texi: Likewise.
74391         * manual/message.texi: Likewise.
74392         * manual/nss.texi: Likewise.
74393         * manual/pattern.texi: Likewise.
74394         * manual/process.texi: Likewise.
74395         * manual/resource.texi: Likewise.
74396         * manual/search.texi: Likewise.
74397         * manual/setjmp.texi: Likewise.
74398         * manual/signal.texi: Likewise.
74399         * manual/socket.texi: Likewise.
74400         * manual/startup.texi: Likewise.
74401         * manual/stdio.texi: Likewise.
74402         * manual/string.texi: Likewise.
74403         * manual/sysinfo.texi: Likewise.
74404         * manual/syslog.texi: Likewise.
74405         * manual/terminal.texi: Likewise.
74406         * manual/time.texi: Likewise.
74407         * manual/users.texi: Likewise.
74408         * INSTALL: Regenerated.
74409         * NOTES: Regenerated.
74410         * sysdeps/gnu/errlist.c: Regenerated.
74412 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
74414         * include/dirent.h: Include <dirstream.h> before
74415         <dirent/dirent.h>.
74417 2012-02-28  David S. Miller  <davem@davemloft.net>
74419         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
74420         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
74421         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
74422         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
74424 2012-02-27  David S. Miller  <davem@davemloft.net>
74426         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
74427         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
74428         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
74429         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
74431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
74432         frame pointer instead of stack pointer relative arg slot.
74433         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74434         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74435         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74437 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
74439         [BZ #3992]
74440         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
74442 2012-02-27  David S. Miller  <davem@davemloft.net>
74444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
74445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
74446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74447         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
74448         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
74449         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
74450         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
74451         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
74453 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74455         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
74456         later.  Allow versions 5-9.
74457         * configure: Regenerated.
74458         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
74459         required minimum version and 4.6 as recommended version.  Do not
74460         mention bugs in GCC 2.7 and 2.8.
74461         * INSTALL: Regenerated.
74463 2012-02-27  David S. Miller  <davem@davemloft.net>
74465         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
74466         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
74467         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
74468         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
74469         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
74470         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
74471         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
74472         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
74474         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
74475         manipulate bits before adding and subtracting TWO112[sx].
74476         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
74478 2012-02-27  Roland McGrath  <roland@hack.frob.com>
74480         [BZ #13775]
74481         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
74482         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
74483         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
74484         being in POSIX, because they are in 1003.1-2008.
74486         * rt/tst-aio.c: Include <fcntl.h>.
74487         * rt/tst-aio7.c: Likewise.
74488         * rt/tst-aio64.c: Likewise.
74490         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
74492 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
74494         * manual/install.texi (--with-headers): Describe headers as
74495         interface headers, not private headers.
74496         (Specific advice for GNU/Linux systems): Describe use of headers
74497         from "make headers_install", not private headers from older
74498         kernels.
74499         * INSTALL: Regenerated.
74500         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
74501         Change to 2.6.19.
74502         * sysdeps/unix/sysv/linux/configure: Regenerated.
74504         * manual/llio.texi (fclean): Remove documentation.
74506         * manual/Makefile (libc-texi-generated): New variable.  Include
74507         version.texi.
74508         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
74509         $(libc-texi-generated), not duplicated list of files.
74510         (version.texi, stamp-version): New rules.
74511         (realclean): Remove $(libc-texi-generated), not individual files
74512         from that list.  Do not remove dir-add.texinfo.
74513         * manual/libc.texinfo: Comment out uses of edition numbers and
74514         references to printed manual.  Remove last-updated dates.
74515         (EDITION): Comment out.
74516         (ISBN): Likewise.
74517         (VERSION, UPDATED): Remove.
74518         (version.texi): Include.
74520 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
74522         * sysdeps/posix/spawni.c: Include <signal.h>.
74523         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
74524         * sysdeps/pthread/aio_fsync.c: Likewise.
74526 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
74528         * conform/Makefile (tests): Run only when not cross-compiling and
74529         when fast-check is not defined.
74531         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
74532         * conform/data/limits.h-data: Fixes for POSIX2008.
74533         * conform/run-conformtest.sh: Run all tests.
74534         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
74535         headers.
74536         * include/bits/dlfcn.h: Likewise.
74537         * include/langinfo.h: Likewise.
74538         * include/monetary.h: Likewise.
74539         * include/sys/poll.h: Likewise.
74541         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
74542         for __USE_GNU.
74543         * posix/spawn.h: Define __need_sigset_t.
74544         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
74545         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
74546         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
74547         to get sigevent_t only.
74548         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
74549         only for __USE_GNU.
74550         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74551         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
74552         process_vm_writev only for __USE_GNU.
74553         * termios/termios.h: Declare tcgetsid also for POSIX2008.
74555         * conform/Makefile: For now ignore errors from run-conformtest.
74556         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
74557         POSIX to avoid namespace pollution.  Don't prepend headers.
74558         * conform/data/aio.h-data: Fixes for POSIX testing.
74559         * conform/data/fcntl.h-data: Likewise.
74560         * conform/data/glob.h-data: Likewise.
74561         * conform/data/grp.h-data: Likewise.
74562         * conform/data/pthread.h-data: Likewise.
74563         * conform/data/pwd.h-data: Likewise.
74564         * conform/data/signal.h-data: Likewise.
74565         * conform/data/spawn.h-data: Likewise.
74566         * conform/data/stdio.h-data: Likewise.
74567         * conform/data/stdlib.h-data: Likewise.
74568         * conform/data/stropts.h-data: Likewise.
74569         * conform/data/sys/mman.h-data: Likewise.
74570         * conform/data/sys/stat.h-data: Likewise.
74571         * conform/data/sys/types.h-data: Likewise.
74572         * conform/data/sys/wait.h-data: Likewise.
74573         * conform/data/time.h-data: Likewise.
74574         * conform/data/unistd.h-data: Likewise.
74575         * conform/data/utime.h-data: Likewise.
74577         * io/sys/stat.h: fchmod was always in POSIX.
74578         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
74579         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
74580         * rt/aio.h: Define __need_timespec before including <time.h>.
74581         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
74582         struct.  Add forward declaration of pthread_attr_t and use it in
74583         sigevent.
74584         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
74585         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
74586         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
74587         always remove CLK_TCK definition.
74589 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
74591         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
74593 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
74595         * conform/run-conformtest.sh: New file.
74596         * conform/Makefile: Run run-conformtest for tests.
74597         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
74598         support.
74600         * conform/data/uchar.h-data: New file.
74601         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
74602         * conform/data/arpa/inet.h-data: Likewise.
74603         * conform/data/assert.h-data: Likewise.
74604         * conform/data/complex.h-data: Likewise.
74605         * conform/data/cpio.h-data: Likewise.
74606         * conform/data/ctype.h-data: Likewise.
74607         * conform/data/dirent.h-data: Likewise.
74608         * conform/data/dlfcn.h-data: Likewise.
74609         * conform/data/errno.h-data: Likewise.
74610         * conform/data/fcntl.h-data: Likewise.
74611         * conform/data/float.h-data: Likewise.
74612         * conform/data/fmtmsg.h-data: Likewise.
74613         * conform/data/fnmatch.h-data: Likewise.
74614         * conform/data/ftw.h-data: Likewise.
74615         * conform/data/glob.h-data: Likewise.
74616         * conform/data/grp.h-data: Likewise.
74617         * conform/data/iconv.h-data: Likewise.
74618         * conform/data/inttypes.h-data: Likewise.
74619         * conform/data/langinfo.h-data: Likewise.
74620         * conform/data/libgen.h-data: Likewise.
74621         * conform/data/limits.h-data: Likewise.
74622         * conform/data/locale.h-data: Likewise.
74623         * conform/data/math.h-data: Likewise.
74624         * conform/data/monetary.h-data: Likewise.
74625         * conform/data/mqueue.h-data: Likewise.
74626         * conform/data/ndbm.h-data: Likewise.
74627         * conform/data/net/if.h-data: Likewise.
74628         * conform/data/netdb.h-data: Likewise.
74629         * conform/data/netinet/in.h-data: Likewise.
74630         * conform/data/nl_types.h-data: Likewise.
74631         * conform/data/poll.h-data: Likewise.
74632         * conform/data/pthread.h-data: Likewise.
74633         * conform/data/pwd.h-data: Likewise.
74634         * conform/data/regex.h-data: Likewise.
74635         * conform/data/sched.h-data: Likewise.
74636         * conform/data/search.h-data: Likewise.
74637         * conform/data/semaphore.h-data: Likewise.
74638         * conform/data/setjmp.h-data: Likewise.
74639         * conform/data/signal.h-data: Likewise.
74640         * conform/data/spawn.h-data: Likewise.
74641         * conform/data/stdarg.h-data: Likewise.
74642         * conform/data/stdio.h-data: Likewise.
74643         * conform/data/stdlib.h-data: Likewise.
74644         * conform/data/string.h-data: Likewise.
74645         * conform/data/strings.h-data: Likewise.
74646         * conform/data/stropts.h-data: Likewise.
74647         * conform/data/sys/ipc.h-data: Likewise.
74648         * conform/data/sys/mman.h-data: Likewise.
74649         * conform/data/sys/msg.h-data: Likewise.
74650         * conform/data/sys/resource.h-data: Likewise.
74651         * conform/data/sys/select.h-data: Likewise.
74652         * conform/data/sys/sem.h-data: Likewise.
74653         * conform/data/sys/shm.h-data: Likewise.
74654         * conform/data/sys/socket.h-data: Likewise.
74655         * conform/data/sys/stat.h-data: Likewise.
74656         * conform/data/sys/statvfs.h-data: Likewise.
74657         * conform/data/sys/time.h-data: Likewise.
74658         * conform/data/sys/timeb.h-data: Likewise.
74659         * conform/data/sys/times.h-data: Likewise.
74660         * conform/data/sys/types.h-data: Likewise.
74661         * conform/data/sys/uio.h-data: Likewise.
74662         * conform/data/sys/un.h-data: Likewise.
74663         * conform/data/sys/utsname.h-data: Likewise.
74664         * conform/data/sys/wait.h-data: Likewise.
74665         * conform/data/syslog.h-data: Likewise.
74666         * conform/data/tar.h-data: Likewise.
74667         * conform/data/termios.h-data: Likewise.
74668         * conform/data/utime.h-data: Likewise.
74669         * conform/data/utmpx.h-data: Likewise.
74670         * conform/data/varargs.h-data: Likewise.
74671         * conform/data/wchar.h-data: Likewise.
74672         * conform/data/wctype.h-data: Likewise.
74673         * conform/data/wordexp.h-data: Likewise.
74675         * include/stropts.h: New file.
74676         * include/uchar.h: New file.
74677         * include/aio.h: Changes to allow conformtest.pl to use the headers.
74678         * include/assert.h: Likewise.
74679         * include/ctype.h: Likewise.
74680         * include/dirent.h: Likewise.
74681         * include/dlfcn.h: Likewise.
74682         * include/fcntl.h: Likewise.
74683         * include/fnmatch.h: Likewise.
74684         * include/glob.h: Likewise.
74685         * include/grp.h: Likewise.
74686         * include/libio.h: Likewise.
74687         * include/locale.h: Likewise.
74688         * include/math.h: Likewise.
74689         * include/net/if.h: Likewise.
74690         * include/netdb.h: Likewise.
74691         * include/netinet/in.h: Likewise.
74692         * include/pthread.h: Likewise.
74693         * include/pwd.h: Likewise.
74694         * include/regex.h: Likewise.
74695         * include/sched.h: Likewise.
74696         * include/search.h: Likewise.
74697         * include/setjmp.h: Likewise.
74698         * include/signal.h: Likewise.
74699         * include/stdio.h: Likewise.
74700         * include/stdlib.h: Likewise.
74701         * include/string.h: Likewise.
74702         * include/sys/cdefs.h: Likewise.
74703         * include/sys/mman.h: Likewise.
74704         * include/sys/msg.h: Likewise.
74705         * include/sys/resource.h: Likewise.
74706         * include/sys/select.h: Likewise.
74707         * include/sys/socket.h: Likewise.
74708         * include/sys/stat.h: Likewise.
74709         * include/sys/statvfs.h: Likewise.
74710         * include/sys/time.h: Likewise.
74711         * include/sys/times.h: Likewise.
74712         * include/sys/uio.h: Likewise.
74713         * include/sys/utsname.h: Likewise.
74714         * include/sys/wait.h: Likewise.
74715         * include/termios.h: Likewise.
74716         * include/time.h: Likewise.
74717         * include/ulimit.h: Likewise.
74718         * include/unistd.h: Likewise.
74719         * include/utime.h: Likewise.
74720         * include/wchar.h: Likewise.
74721         * include/wctype.h: Likewise.
74722         * include/wordexp.h: Likewise.
74724         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
74726         * time/time.h: TIME_UTC must be a macro.
74727         Make timespec_get available for ISO C11 only as well.
74729 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
74731         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
74732         Reported by Peng Haitao <penght@cn.fujitsu.com>.
74734 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74736         * configure.in: Use -o not -a in test for unsupported multi-arch.
74738 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74740         * manual/texinfo.tex: Update to version 2012-01-19.16.
74742 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
74744         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
74746 2012-02-24  Roland McGrath  <roland@hack.frob.com>
74748         [BZ #13738]
74749         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
74750         * manual/fdl-1.3.texi: New file.
74751         * manual/fdl-1.1.texi: File removed.
74753         [BZ #13738]
74754         * manual/libc.texinfo (FDL_VERSION): New @set.
74755         Use it for mention of FDL in cover text.
74756         (Documentation License): Use it in @include file name.
74758 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74759             Roland McGrath  <roland@hack.frob.com>
74761         [BZ #5461]
74762         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
74763         (not LONG_LONG_MAX and LONG_LONG_MIN.
74764         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
74765         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
74766         name.
74767         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
74769 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74771         [BZ #2547]
74772         [BZ #11365]
74773         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
74774         manipulate bits before adding and subtracting TWO23[sx].
74775         * math/libm-test.inc (nearbyint_test): Add more tests.
74777 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74779         [BZ #2548]
74780         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
74781         bits before adding and subtracting TWO23[sx].
74782         * math/libm-test.inc (rint_test): Add more tests.
74783         (rint_test_tonearest): Likewise.
74784         (rint_test_towardzero): Likewise.
74785         (rint_test_downward): Likewise.
74786         (rint_test_upward: Likewise.
74788 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74790         [BZ #10110]
74791         * include/stdc-predef.h: New file.  Extracted from features.h.
74792         * include/features.h: Include stdc-predef.h.
74793         * Makefile (headers): Add stdc-predef.h.
74794         * CONFORMANCE (Compiler limitations): Update.
74796 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
74798         * manual/libc.texinfo (VERSION, UPDATED): Revert.
74800 2012-02-21  David S. Miller  <davem@davemloft.net>
74802         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
74803         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74805 2012-02-20  David S. Miller  <davem@davemloft.net>
74807         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
74808         using a normal save/restore sequence, rather than allocating a
74809         dummy stack frame just to store a frame pointer and restore.
74810         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74812 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74814         * manual/install.texi: Fix stray word in line-wrapped comment.
74816 2012-02-20  David S. Miller  <davem@davemloft.net>
74818         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
74819         both binutils and gcc support GOTDATA.
74821         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
74822         "rd %pc" in the PIC register setup sequences.
74824         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
74825         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
74826         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
74827         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
74828         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
74829         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74830         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
74831         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
74832         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
74833         (SYSCALL_ERROR_HANDLER): Likewise.
74834         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
74835         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
74836         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
74837         (SYSCALL_ERROR_HANDLER): Likewise.
74839         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
74840         (HAVE_GCC_GOTDATA): New.
74841         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
74842         relocation support in both binutils and gcc.
74843         * sysdeps/sparc/elf/configure: Regenerate.
74845         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
74846         * sysdeps/sparc/sparc32/elf/configure: Delete.
74847         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
74848         * sysdeps/sparc/sparc64/elf/configure: Delete.
74849         * sysdeps/sparc/elf/configure.in: New file.
74850         * sysdeps/sparc/elf/configure: Generate.
74852         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
74853         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
74854         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
74855         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
74856         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
74858 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74860         * manual/install.texi: Do not mention specific glibc version
74861         numbers.
74862         * manual/libc.texinfo (VERSION, UPDATED): Update.
74863         (@copying): Use @copyright{} and range of years.
74865 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
74867         [BZ #13695]
74868         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
74869         [crti.S not in sysdirs] (generated): Do not append.
74870         [crti.S not in sysdirs] (omit-deps): Likewise.
74871         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
74872         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
74873         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
74874         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
74875         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
74876         Likewise.
74877         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
74878         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
74879         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
74880         * csu/defs.awk: Remove file.
74881         * sysdeps/generic/initfini.c: Likewise.
74882         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
74883         variable.
74884         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
74885         Likewise.
74887 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74889         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
74890         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
74891         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
74892         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
74893         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74894         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
74895         <bits/epoll.h>.
74896         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
74897         (__EPOLL_PACKED): Define to empty if not defined by
74898         <bits/epoll.h>.
74899         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
74900         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74901         bits/epoll.h.
74903 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74905         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
74906         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
74907         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
74908         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
74909         <bits/timerfd.h>.
74910         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
74911         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
74912         bits/timerfd.h.
74914 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
74916         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
74917         in C locale.
74918         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
74919         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
74920         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
74921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74923 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
74925         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74926         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
74928 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
74930         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
74931         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
74932         defined.
74933         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
74934         Likewise.
74935         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
74936         entry for 2.16.
74938 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
74940         * math/w_acos.c: Use non-signaling floating-point comparisons.
74941         * math/w_acosf.c: Likewise.
74942         * math/w_acosh.c: Likewise.
74943         * math/w_acoshf.c: Likewise.
74944         * math/w_acoshl.c: Likewise.
74945         * math/w_acosl.c: Likewise.
74946         * math/w_asin.c: Likewise.
74947         * math/w_asinf.c: Likewise.
74948         * math/w_asinl.c: Likewise.
74949         * math/w_atanh.c: Likewise.
74950         * math/w_atanhf.c: Likewise.
74951         * math/w_atanhl.c: Likewise.
74952         * math/w_exp2.c: Likewise.
74953         * math/w_exp2f.c: Likewise.
74954         * math/w_exp2l.c: Likewise.
74955         * math/w_j0.c: Likewise.
74956         * math/w_j0f.c: Likewise.
74957         * math/w_j0l.c: Likewise.
74958         * math/w_j1.c: Likewise.
74959         * math/w_j1f.c: Likewise.
74960         * math/w_j1l.c: Likewise.
74961         * math/w_jn.c: Likewise.
74962         * math/w_jnf.c: Likewise.
74963         * math/w_log.c: Likewise.
74964         * math/w_log10.c: Likewise.
74965         * math/w_log10f.c: Likewise.
74966         * math/w_log10l.c: Likewise.
74967         * math/w_log2.c: Likewise.
74968         * math/w_log2f.c: Likewise.
74969         * math/w_log2l.c: Likewise.
74970         * math/w_logf.c: Likewise.
74971         * math/w_logl.c: Likewise.
74972         * math/w_sqrt.c: Likewise.
74973         * math/w_sqrtf.c: Likewise.
74974         * math/w_sqrtl.c: Likewise.
74975         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74976         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
74977         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74978         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74979         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74981 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74983         [BZ #9739]
74984         * manual/string.texi (strnlen): Use correct parameter name in
74985         equivalent expression.
74987 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74989         [BZ #11174]
74990         * manual/users.texi (seteuid): Consistently use neweuid for
74991         argument name.
74993 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
74995         [BZ #13704]
74996         * manual/nss.texi (Services in the NSS configuration): Correct
74997         list of services in example configuration file.
74999 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
75001         [BZ #11322]
75002         * manual/arith.texi: Remove statements about negative zero
75003         behaving identically to zero.
75005 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75007         [BZ #5993]
75008         * manual/install.texi: Do not document upgrading from libc5.
75010 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
75012         [BZ #4596]
75013         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
75015 2012-02-18  David S. Miller  <davem@davemloft.net>
75017         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
75018         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
75019         %o7 across the call.
75020         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
75021         instead.
75022         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
75023         SETUP_PIC_REG_LEAF.
75024         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75025         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
75026         * sysdeps/sparc/crtn.S: Likewise.
75028 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
75030         * aout/Makefile: Remove.
75032 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
75034         [BZ #13058]
75035         * manual/examples/argp-ex1.c (main): Format definition in GNU
75036         style.
75037         * manual/examples/argp-ex2.c (main): Likewise.
75038         * manual/examples/argp-ex3.c (main): Likewise.
75039         * manual/examples/argp-ex4.c (main): Likewise.
75040         * manual/examples/longopt.c (main): Use new-style prototype
75041         definition.
75042         * manual/examples/strncat.c (main): Specify return type and use
75043         (void) for arguments.
75044         * manual/examples/subopt.c (main): Use char **argv argument.
75046 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75048         [BZ #5077]
75049         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
75050         rounding modes.
75052 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
75054         [BZ #6907]
75055         * manual/string.texi (strchr): Change when strchrnul is
75056         recommended.
75058 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
75060         [BZ #174]
75061         * manual/locale.texi (setlocale): Document LOCPATH.
75063 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75065         [BZ #10210]
75066         * manual/process.texi (execle): Move @dots{} before last argument.
75068 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
75070         [BZ #12047]
75071         * manual/charset.texi (Generic Charset Conversion): Fix typo
75072         (LC_TYPE -> LC_CTYPE).
75074 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
75076         [BZ #5805]
75077         * manual/arith.texi (scalbn): Use @var{} on parameter names.
75078         (scalbnf): Likewise.
75079         (scalbnl): Likewise.
75080         (scalbln): Likewise.
75081         (scalblnf): Likewise.
75082         (scalblnl): Likewise.
75083         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
75084         (vwarnx): Likewise.
75085         (verr): Likewise.
75086         (verrx): Likewise.
75087         * manual/filesys.texi (telldir): Use braces around return type.
75088         * manual/llio.texi (mmap): Add space after comma.
75089         (mmap64): Likewise.
75090         * manual/math.texi (jn): Use @var{} on parameter names.
75091         (jnf): Likewise.
75092         (jnl): Likewise.
75093         (yn): Likewise.
75094         (ynf): Likewise.
75095         (ynl): Likewise.
75096         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
75097         line.
75098         * manual/resource.texi (ulimit): Use @dots{} instead of literal
75099         "...".
75100         (sched_get_priority_min): Remove semicolon on @deftypefun line.
75101         (sched_get_priority_max): Likewise.
75102         * manual/signal.texi (sigvec): Add space after comma.
75103         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
75104         names.
75105         (if_indextoname): Likewise.
75106         (if_freenameindex): Likewise.
75107         (sendto): Use ',' instead of '.' in prototype.
75108         * manual/startup.texi (syscall): Use @dots{} instead of literal
75109         "...".
75110         * manual/stdio.texi (__fpending): Separate initial words of
75111         paragraph from @deftypefun line.
75112         * manual/syslog.texi (syslog): Use @dots{} instead of literal
75113         "...".
75114         (vsyslog): Use @var{} on parameter names.
75115         * manual/terminal.texi (stty): Use @var{} on parameter names.
75116         * manual/users.texi (getutmp): Use @var{} on parameter names.
75117         (getutmpx): Likewise.
75119 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75121         [BZ #6884]
75122         * manual/stdio.texi (fopen): Fix typos in description of
75123         ",ccs=STRING".
75125 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
75127         [BZ #4026]
75128         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
75129         get clock_id definition.
75131 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
75133         [BZ #4822]
75134         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
75135         (madvise): Cast every argument to void on its own.
75137 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75139         [BZ #9902]
75140         * manual/startup.texi (Exit Status): Fix typo.
75142 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
75144         [BZ #10140]
75145         * manual/examples/argp-ex1.c: Include <stdlib.h>.
75146         * manual/examples/argp-ex2.c: Likewise.
75147         * manual/examples/argp-ex3.c: Likewise.
75149 2012-02-16  Richard Henderson  <rth@redhat.com>
75151         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
75152         * sysdeps/s390/s390-32/initfini.c: Remove.
75153         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
75154         * sysdeps/s390/s390-64/initfini.c: Remove.
75156 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
75158         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
75159         compiler output for sysdeps/generic/initfini.c.
75160         * sysdeps/sh/elf/initfini.c: Remove file.
75162 2012-02-16  David S. Miller  <davem@davemloft.net>
75164         [BZ #11494]
75165         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
75167         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
75168         * sysdeps/sparc/crti.S: New file.
75169         * sysdeps/sparc/crtn.S: New file.
75170         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
75171         * sysdeps/sparc/sparc64/Makefile: Likewise.
75173 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
75175         [BZ #3335]
75176         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
75178 2012-02-15  Roland McGrath  <roland@hack.frob.com>
75180         [BZ #4822]
75181         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
75183         * mach/devstream.c (cookie_io_functions_t): Macro removed.
75184         (write, read, close): Likewise.
75185         Patch by Aurelien Jarno <aurelien@aurel32.net>.
75187 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
75189         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
75190         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
75191         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
75192         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
75193         <bits/signalfd.h>.
75194         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
75195         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75196         bits/signalfd.h.
75198 2012-02-14  Marek Polacek  <polacek@redhat.com>
75200         * sysdeps/x86_64/crti.S: New file.
75201         * sysdeps/x86_64/crtn.S: New file.
75202         * sysdeps/x86_64/elf/initfini.c: Remove file.
75204 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75206         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
75207         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
75208         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
75209         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
75210         <bits/inotify.h>.
75211         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
75212         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75213         bits/inotify.h.
75215 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
75217         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
75218         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
75219         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
75220         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
75221         <bits/eventfd.h>.
75222         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
75223         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75224         bits/eventfd.h.
75226 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
75228         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
75229         __feraiseexcept instead of feraiseexcept.
75231         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
75232         nanosleep invocations.
75233         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
75234         strings, and add error checking for a nanosleep invocations.
75236 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
75238         Replace FSF snail mail address with URLs, as per GNU coding standards.
75239         Most of the snail mail addresses were wrong anyway, and omitting
75240         them makes the source code easier to maintain.  Almost all of the
75241         changes are to license notices and to locale LC_IDENTIFICATION
75242         addresses, except for this one:
75243         * manual/libc.texinfo: In "Published by", give the FSF's URL,
75244         not its snail mail address.
75246 2012-02-09  Richard Henderson  <rth@twiddle.net>
75248         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
75249         of kernel-features.h.
75251         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
75253 2012-02-08  Marek Polacek  <polacek@redhat.com>
75255         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
75256         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
75257         * sysdeps/gnu/_G_config.h: Likewise.
75258         * sysdeps/generic/_G_config.h: Likewise.
75260 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
75262         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
75263         tests.
75264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75266         * sysdeps/powerpc/powerpc32/crti.S: New file.
75267         * sysdeps/powerpc/powerpc32/crtn.S: New file.
75268         * sysdeps/powerpc/powerpc64/crti.S: New file.
75269         * sysdeps/powerpc/powerpc64/crtn.S: New file.
75271         * Makeconfig (have-initfini): Don't set.
75272         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
75273         * configure.in (nopic_initfini): Don't substitute.
75274         * config.h.in (HAVE_INITFINI): Don't #undef.
75275         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
75276         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
75278 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
75280         Support crti.S and crtn.S provided directly by architectures.
75281         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
75282         [crti.S in sysdirs] (omit-deps): Likewise.
75283         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
75284         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
75285         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
75286         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
75287         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
75288         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
75289         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
75290         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
75291         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
75292         compiler output for sysdeps/generic/initfini.c.
75293         * sysdeps/i386/elf/Makefile: Remove file.
75294         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
75296 2012-02-07  Marek Polacek  <polacek@redhat.com>
75298         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
75299         * sysdeps/gnu/_G_config.h: Likewise.
75300         * sysdeps/mach/hurd/_G_config.h: Likewise.
75302 2012-02-07  Marek Polacek  <polacek@redhat.com>
75304         * math/Makefile (tests): Add tst-CMPLX2.
75305         * math/tst-CMPLX2.c: New file.
75307 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
75309         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75311         * math/libm-test.inc (jn_test): Add missing L suffix.
75313 2012-02-06  Marek Polacek  <polacek@redhat.com>
75315         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
75316         * sysdeps/i386/fpu/e_powf.S: Likewise.
75317         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75318         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75319         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75320         * sysdeps/i386/fpu/e_pow.S: Likewise.
75321         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75322         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75323         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75324         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75325         * sysdeps/i386/fpu/e_log2.S: Likewise.
75326         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75327         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75328         * sysdeps/i386/fpu/e_powl.S: Likewise.
75329         * sysdeps/i386/fpu/s_log1p.S: Likewise.
75330         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75331         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75332         * sysdeps/i386/fpu/e_logl.S: Likewise.
75333         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75334         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
75335         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75336         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75337         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75338         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75339         * sysdeps/i386/fpu/e_log.S: Likewise.
75340         * sysdeps/i386/fpu/s_cexp.S: Likewise.
75341         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75342         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
75343         * sysdeps/i386/fpu/e_logf.S: Likewise.
75344         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75345         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75346         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
75347         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75348         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75349         * sysdeps/i386/fpu/e_log10.S: Likewise.
75350         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75351         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75352         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75353         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75354         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75355         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75356         * sysdeps/i386/asm-syntax.h: Likewise.
75357         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75358         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75359         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75360         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
75361         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
75362         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75363         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75364         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75365         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75366         * sysdeps/powerpc/sysdep.h: Likewise.
75367         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
75368         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
75370 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75372         [BZ #411]
75373         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
75375 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
75377         * sysdeps/i386/sysdep.h: Include <features.h>.
75378         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
75379         version.
75381 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
75383         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
75384         Define.
75385         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
75386         LOAD_PIC_REG_STR.
75388 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75390         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
75391         (SETUP_PIC_REG): Use GET_PC_THUNK.
75392         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
75393         macro.
75395 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75397         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
75398         for non-PIC compilation.
75399         (SETUP_PIC_REG): Add .p2align directive.
75400         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
75401         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
75402         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75403         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75404         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
75405         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75406         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
75407         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
75408         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75409         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75410         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75411         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75412         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75413         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75414         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75415         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
75416         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
75417         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75418         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75419         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75420         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75421         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
75422         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75423         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75424         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
75425         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
75426         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75427         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
75428         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75429         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75430         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75431         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75432         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75433         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75434         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75435         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75436         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75437         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75438         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75439         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75440         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75442 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
75444         * math/tst-CMPLX.c: Include <stdio.h>.
75446 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
75448         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
75449         float.
75450         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75451         * sysdeps/sparc/bits/mathdef.h: Likewise.
75453 2012-01-31  Marek Polacek  <polacek@redhat.com>
75455         * libio/libio.h: Don't define _PARAMS.
75456         * locale/programs/config.h: Don't define PARAMS.
75457         * stdlib/strtol_l.c: Likewise.
75458         (__strtol_l): Remove PARAMS from the prototype.
75460 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
75462         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
75463         names.  Just use the correct names.  Remove unnecessary wrapper
75464         functions.
75465         * malloc/arena.c: Likewise.
75466         * malloc/hooks.c: Likewise.
75468         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
75469         ARENA_TEST says not to.  Simplify test for creation of a new arena.
75470         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
75472 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
75474         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
75475         into tail calls.
75476         (update_get_addr): New function.
75477         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
75478         GET_ADDR_MODULE parameter.
75480 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75482         * crypt/cert.c: Remove __STDC__ conditionals.
75483         * crypt/crypt-entry.c: Likewise.
75484         * crypt/crypt_util.c: Likewise.
75485         * libio/filedoalloc.c: Likewise.
75486         * libio/fileops.c: Likewise.
75487         * libio/genops.c: Likewise.
75488         * libio/iofclose.c: Likewise.
75489         * libio/iofdopen.c: Likewise.
75490         * libio/iofopen.c: Likewise.
75491         * libio/iofopen64.c: Likewise.
75492         * libio/iogetdelim.c: Likewise.
75493         * libio/iopopen.c: Likewise.
75494         * libio/obprintf.c: Likewise.
75495         * libio/oldfileops.c: Likewise.
75496         * libio/oldiofclose.c: Likewise.
75497         * libio/oldiofdopen.c: Likewise.
75498         * libio/oldiofopen.c: Likewise.
75499         * libio/oldiopopen.c: Likewise.
75500         * libio/wfiledoalloc.c: Likewise.
75501         * libio/wgenops.c: Likewise.
75502         * locale/programs/xmalloc.c: Likewise.
75503         * misc/syslog.c: Likewise.
75504         * stdio-common/xbug.c: Likewise.
75505         * string/memchr.c: Likewise.
75506         * string/memcmp.c: Likewise.
75507         * string/memrchr.c: Likewise.
75508         * string/rawmemchr.c: Likewise.
75509         * sysdeps/posix/getcwd.c: Likewise.
75510         * time/strftime_l.c: Likewise.
75512 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
75514         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
75515         * config.make.in (config-cflags-sse2avx): Define.
75516         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
75517         Fix typo.
75519 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
75521         * scripts/config.guess: Update from upstream config git repository.
75522         * scripts/config.sub: Likewise.
75524 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
75526         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
75527         (EM_NUM): Update.
75528         (R_TILEPRO_*, R_TILEGX_*): New macros.
75530         * scripts/firstversions.awk: Fix bug in version range handling.
75532         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
75534         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
75536         * include/sys/epoll.h: New file.
75537         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
75538         libc_hidden_def.
75540 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
75542         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
75543         Avoid unnecessary __WORDSIZE == 64 test.
75544         (fmaxf): Use VEX format if possible.
75545         (fmax): Likewise.
75546         (fminf): Likewise.
75547         (fmin): Likewise.
75549         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
75550         * math/math_private.h: Remove libc_fegetround* and
75551         libc_fesetround*.
75552         * sysdeps/i386/configure.in: Check for -msse2avx.
75553         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
75554         also if SSE2AVX is defined.
75555         Remove libc_fegetround* and libc_fesetround*.
75556         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
75557         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
75558         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
75559         of HAS_YMM_USABLE.
75560         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75561         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75562         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75563         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75564         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75566         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
75568 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75570         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
75571         size is not set.
75572         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
75574 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
75576         [BZ #13618]
75577         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
75578         relocation.
75579         * Makeconfig (libm): Define.
75580         * elf/Makefile: Add rules to build and run tst-relsort1.
75581         * elf/tst-relsort1.c: New file.
75582         * elf/tst-relsort1mod1.c: New file.
75583         * elf/tst-relsort1mod2.c: New file.
75585 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
75587         * math/s_ldexp.c: Remove __STDC__ conditionals.
75588         * math/s_ldexpf.c: Likewise.
75589         * math/s_ldexpl.c: Likewise.
75590         * math/s_nextafter.c: Likewise.
75591         * math/s_nexttowardf.c: Likewise.
75592         * math/s_significand.c: Likewise.
75593         * math/s_significandf.c: Likewise.
75594         * math/s_significandl.c: Likewise.
75595         * math/w_jnl.c: Likewise.
75596         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
75597         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
75598         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
75599         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
75600         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
75601         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
75602         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
75603         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
75604         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
75605         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
75606         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
75607         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75608         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
75609         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
75610         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
75611         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
75612         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
75613         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
75614         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
75615         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
75616         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
75617         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
75618         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
75619         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
75620         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
75621         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
75622         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
75623         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
75624         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
75625         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
75626         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
75627         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
75628         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
75629         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
75630         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
75631         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
75632         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
75633         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
75634         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
75635         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
75636         * sysdeps/ieee754/k_standard.c: Likewise.
75637         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
75638         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
75639         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
75640         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
75641         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
75642         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
75643         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
75644         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
75645         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
75646         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
75647         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
75648         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
75649         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
75650         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
75651         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
75652         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
75653         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
75654         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
75655         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
75656         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
75657         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
75658         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
75659         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
75660         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
75661         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
75662         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
75663         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
75664         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
75665         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75666         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
75667         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
75668         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
75669         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
75670         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
75671         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
75672         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
75673         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
75674         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
75675         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
75676         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
75677         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
75678         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
75679         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
75680         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
75681         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
75682         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
75683         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
75684         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
75685         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
75686         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
75687         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
75688         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
75689         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
75690         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
75691         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
75692         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
75693         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
75694         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
75695         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
75696         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
75697         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
75698         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
75699         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
75700         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
75701         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
75702         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
75703         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
75704         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
75705         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
75706         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
75707         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
75708         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
75709         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
75710         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
75711         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
75712         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
75713         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
75714         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
75715         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
75716         * sysdeps/ieee754/s_matherr.c: Likewise.
75717         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
75718         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
75719         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
75720         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
75722 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75724         * crypt/md5.h: Remove __STDC__ conditionals.
75725         * libio/libioP.h: Likewise.
75726         * locale/programs/config.h: Likewise.
75727         * sysdeps/generic/sysdep.h: Likewise.
75728         * sysdeps/i386/asm-syntax.h: Likewise.
75729         * sysdeps/s390/asm-syntax.h: Likewise.
75730         * sysdeps/unix/sysdep.h: Likewise.
75731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
75732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
75734 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
75736         * libio/libio.h: Remove __STDC__ conditionals.
75737         * malloc/obstack.h: Likewise.
75738         * math/complex.h: Likewise.
75739         * math/math.h: Likewise.
75740         * sysdeps/generic/_G_config.h: Likewise.
75741         * sysdeps/gnu/_G_config.h: Likewise.
75742         * sysdeps/mach/hurd/_G_config.h: Likewise.
75743         * sysdeps/powerpc/bits/mathdef.h: Likewise.
75744         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
75745         * sysdeps/sparc/bits/mathdef.h: Likewise.
75747 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
75749         [BZ #13583]
75750         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
75751         Clean up HAS_* macros.
75752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
75753         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
75754         possible.
75755         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
75756         HAS_AVX.
75757         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75758         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75759         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75760         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75761         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75763 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
75765         * elf/tst-unique3.cc (gets): Remove declaration.
75766         * elf/tst-unique3lib.cc (gets): Likewise.
75767         * elf/tst-unique3lib2.cc (gets): Likewise.
75768         * elf/tst-unique4.cc (gets): Likewise.
75770 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
75772         * include/stdio.h: Add C++ protection.  Add gets declarations and
75773         definitions.
75774         * debug/tst-chk1.c: Don't declare gets here.
75775         * stdio-common/tst-gets.c: Likewise.
75777 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75779         * posix/glob: Remove directory.
75781 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
75783         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
75785 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
75787         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
75788         of the non-standard EPFNOSUPPORT.
75790 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75792         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
75793         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
75794         ANYWHERE set to 1 only on KERN_NO_SPACE error.
75796 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
75798         * wcsmbs/uchar.h: Test __STDC_VERSION__.
75800 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
75802         * nscd/aicache.c (addhstaiX): Do not cache negative results of
75803         transient errors.
75804         * nscd/grpcache.c (cache_addgr): Likewise.
75805         * nscd/hstcache.c (cache_addhst): Likewise.
75806         * nscd/initgrcache.c (addinitgroupsX): Likewise.
75807         * nscd/pwdcache.c (cache_addpw): Likewise.
75808         * nscd/servicescache.c (cache_addserv): Likewise.
75810 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
75812         * malloc/malloc.c: Various cleanups.
75813         * malloc/hooks.c: Likewise.
75815         * stdlib/Makefile (tests): Add bug-fmtmsg1.
75816         * stdlib/bug-fmtmsg1.c: New file.
75818         * stdlib/fmtmsg.c (init): Add missing unlock.
75819         Patch by Peng Haitao <penght@cn.fujitsu.com>.
75821 2012-01-12  Marek Polacek  <polacek@redhat.com>
75823         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
75824         and _GNU_SOURCE.
75826 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75828         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
75829         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
75830         macro to ensure uniqueness of label name.
75831         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75832         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75834 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
75836         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
75838         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
75839         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
75840         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
75841         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
75843 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
75845         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
75847         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
75848         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
75849         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
75851         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
75853         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
75854         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
75855         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
75856         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
75858         * math/bits/math-finite.h: Add ldexp support.
75860 2012-01-10  Marek Polacek  <polacek@redhat.com>
75862         * locale/programs/localedef.h (show_archive_content): Add noreturn
75863         attribute.
75865 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
75867         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
75869 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75871         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
75873         * io/Makefile (headers): Add bits/poll2.h.
75875 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
75877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
75878         typo #include statement.
75880 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75882         * include/sys/cdefs.h: Define __attribute_alloc_size.
75883         * catgets/gencat.c: Add alloc_size attribute and apply consistently
75884         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
75885         * elf/pldd.c: Likewise.
75886         * iconv/iconv_charmap.c: Likewise.
75887         * iconv/iconvconfig.c: Likewise.
75888         * iconv/strtab.c: Likewise.
75889         * locale/programs/locale.c: Likewise.
75890         * locale/programs/localedef.h: Likewise.
75891         * locale/programs/simple-hash.c: Likewise.
75892         * nscd/nscd.h: Likewise.
75893         * nss/makedb.c: Likewise.
75894         * sysdeps/generic/ldconfig.h: Likewise.
75895         * locale/programs/localedef.c: Remove xmalloc prototype.
75896         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
75898 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
75900         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
75901         appropriate.
75903 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
75905         * math/Makefile (tests): Add tst-CMPLX.
75906         * math/tst-CMPLX.c: New file.
75908         * math/complex.h (CMPLXL): Fix typo.
75910         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
75911         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
75912         GLIBC_2.16.
75913         * debug/tst-chk1.c: Add poll and ppoll tests.
75914         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
75915         * include/sys/poll.h: Add hidden proto for ppoll.
75916         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
75917         * sysdeps/mach/hurd/ppoll.c: Likewise.
75918         * io/ppoll.c: Likewise.
75919         * debug/poll_chk.c: New file.
75920         * debug/ppoll_chk.c: New file.
75921         * include/bits/poll2.h: New file.
75922         * io/bits/poll2.h: New file.
75924         [BZ #1350]
75925         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
75927         * configure.in: static is always set to yes.  Remove.
75928         * config.make.in: Don't set build-static.
75929         * Makeconfig: Remove use of build-static.
75930         * dlfcn/Makefile: Likewise.
75931         * elf/Makefile: Likewise.
75932         * math/Makefile: Likewise.
75933         * misc/Makefile: Likewise.
75934         * nptl/Makefile: Likewise.
75935         * sysdeps/mach/hurd/Makefile: Likewise.
75937         * configure.in: PWD_P is not used anymore.
75938         * config.make.in: Remove PWD_P entry.
75940         * configure.in: Remove last remnants of RANLIB.
75941         No need to check for signed size_t anymore.
75942         Don't set libc_commonpagesize and libc_relro_required here for Alpha
75943         and IA-64.
75944         Remove __builtin_expect test because we require at least gcc 3.4.
75945         * aclocal.m4: Likewise.
75947         * wcsmbs/mbrtoc16.c: Implement using towc function.
75948         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
75949         * wcsmbs/wcsmbsload.c: Likewise.
75950         * iconv/gconv_simple.c: Likewise.
75951         * iconv/gconv_int.h: Likewise.
75952         * iconv/gconv_builtin.h: Likewise.
75953         * iconv/iconv_prog.c: Remove CHAR16 handling.
75955         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
75957         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
75959         * configure.in: Remove --with-elf and --enable-bounded options.
75960         Dont set base_machine for ia64.  More non-ELF conditions removed.
75961         Remove testing and setting of leading underscore information.
75962         * config.make.in (build-bounded): Set to no.
75963         * config.h.in: Remove NO_UNDERSCORES entry.
75964         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
75965         them.
75966         * csu/start.c: Remove !NO_UNDERSCORE code.
75967         * locale/localeinfo.h: Likewise.
75968         * sysdeps/generic/machine-gmon.h: Likewise.
75969         * sysdeps/generic/sysdep.h: Likewise.
75970         * sysdeps/i386/sysdep.h: Likewise.
75971         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
75972         * sysdeps/mach/sysdep.h: Likewise.
75973         * sysdeps/s390/s390-32/sysdep.h: Likewise.
75974         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75975         * sysdeps/sh/sysdep.h: Likewise.
75976         * sysdeps/sparc/sparc32/alloca.S: Likewise.
75977         * sysdeps/unix/i386/sysdep.S: Likewise.
75978         * sysdeps/unix/sparc/start.c: Likewise.
75979         * sysdeps/unix/sparc/sysdep.S: Likewise.
75980         * sysdeps/unix/sparc/sysdep.h: Likewise.
75981         * sysdeps/unix/start.c: Likewise.
75982         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75983         * sysdeps/x86_64/sysdep.h: Likewise.
75985 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
75987         [BZ #13553]
75988         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
75989         for non-gcc.
75990         * argp/argp-fmtstream.h: Use const instead __const.
75991         * argp/argp.h: Likewise.
75992         * assert/assert.h: Likewise.
75993         * bits/fenv.h: Likewise.
75994         * bits/sched.h: Likewise.
75995         * bits/sigset.h: Likewise.
75996         * bits/sigthread.h: Likewise.
75997         * catgets/nl_types.h: Likewise.
75998         * conform/data/pthread.h-data: Likewise.
75999         * crypt/crypt-private.h: Likewise.
76000         * crypt/crypt.h: Likewise.
76001         * crypt/crypt_util.c: Likewise.
76002         * ctype/ctype.h: Likewise.
76003         * debug/execinfo.h: Likewise.
76004         * debug/mbsnrtowcs_chk.c: Likewise.
76005         * debug/mbsrtowcs_chk.c: Likewise.
76006         * debug/wcsnrtombs_chk.c: Likewise.
76007         * debug/wcsrtombs_chk.c: Likewise.
76008         * debug/wcstombs_chk.c: Likewise.
76009         * dirent/dirent.h: Likewise.
76010         * dlfcn/dlfcn.h: Likewise.
76011         * elf/neededtest4.c: Likewise.
76012         * grp/grp.h: Likewise.
76013         * gshadow/gshadow.h: Likewise.
76014         * iconv/gconv.h: Likewise.
76015         * iconv/gconv_int.h: Likewise.
76016         * iconv/gconv_simple.c: Likewise.
76017         * iconv/iconv.h: Likewise.
76018         * iconv/loop.c: Likewise.
76019         * iconv/skeleton.c: Likewise.
76020         * include/aio.h: Likewise.
76021         * include/aliases.h: Likewise.
76022         * include/argz.h: Likewise.
76023         * include/arpa/inet.h: Likewise.
76024         * include/assert.h: Likewise.
76025         * include/dirent.h: Likewise.
76026         * include/dlfcn.h: Likewise.
76027         * include/execinfo.h: Likewise.
76028         * include/fcntl.h: Likewise.
76029         * include/fenv.h: Likewise.
76030         * include/glob.h: Likewise.
76031         * include/grp.h: Likewise.
76032         * include/libintl.h: Likewise.
76033         * include/mntent.h: Likewise.
76034         * include/netdb.h: Likewise.
76035         * include/pwd.h: Likewise.
76036         * include/rpc/netdb.h: Likewise.
76037         * include/sched.h: Likewise.
76038         * include/search.h: Likewise.
76039         * include/shadow.h: Likewise.
76040         * include/signal.h: Likewise.
76041         * include/stdio.h: Likewise.
76042         * include/stdlib.h: Likewise.
76043         * include/string.h: Likewise.
76044         * include/sys/socket.h: Likewise.
76045         * include/sys/stat.h: Likewise.
76046         * include/sys/statfs.h: Likewise.
76047         * include/sys/statvfs.h: Likewise.
76048         * include/sys/syslog.h: Likewise.
76049         * include/sys/time.h: Likewise.
76050         * include/sys/uio.h: Likewise.
76051         * include/time.h: Likewise.
76052         * include/unistd.h: Likewise.
76053         * include/utmp.h: Likewise.
76054         * include/wchar.h: Likewise.
76055         * include/wctype.h: Likewise.
76056         * inet/aliases.h: Likewise.
76057         * inet/arpa/inet.h: Likewise.
76058         * inet/netinet/ether.h: Likewise.
76059         * inet/netinet/in.h: Likewise.
76060         * intl/libintl.h: Likewise.
76061         * io/bits/fcntl2.h: Likewise.
76062         * io/fcntl.h: Likewise.
76063         * io/ftw.h: Likewise.
76064         * io/sys/poll.h: Likewise.
76065         * io/sys/stat.h: Likewise.
76066         * io/sys/statfs.h: Likewise.
76067         * io/sys/statvfs.h: Likewise.
76068         * io/utime.h: Likewise.
76069         * libio/bits/stdio.h: Likewise.
76070         * libio/bits/stdio2.h: Likewise.
76071         * libio/libio.h: Likewise.
76072         * libio/libioP.h: Likewise.
76073         * libio/stdio.h: Likewise.
76074         * locale/lc-ctype.c: Likewise.
76075         * locale/locale.h: Likewise.
76076         * login/utmp.h: Likewise.
76077         * malloc/arena.c: Likewise.
76078         * malloc/malloc.c: Likewise.
76079         * malloc/malloc.h: Likewise.
76080         * malloc/mcheck.c: Likewise.
76081         * malloc/mtrace.c: Likewise.
76082         * math/bits/mathcalls.h: Likewise.
76083         * math/fenv.h: Likewise.
76084         * math/math_private.h: Likewise.
76085         * misc/bits/error.h: Likewise.
76086         * misc/bits/syslog.h: Likewise.
76087         * misc/err.h: Likewise.
76088         * misc/error.h: Likewise.
76089         * misc/fstab.h: Likewise.
76090         * misc/mntent.h: Likewise.
76091         * misc/regexp.h: Likewise.
76092         * misc/search.h: Likewise.
76093         * misc/sgtty.h: Likewise.
76094         * misc/sys/mman.h: Likewise.
76095         * misc/sys/syslog.h: Likewise.
76096         * misc/sys/uio.h: Likewise.
76097         * misc/sys/xattr.h: Likewise.
76098         * misc/ttyent.h: Likewise.
76099         * nis/rpcsvc/ypclnt.h: Likewise.
76100         * nss/nss.h: Likewise.
76101         * posix/bits/unistd.h: Likewise.
76102         * posix/fnmatch.h: Likewise.
76103         * posix/glob.h: Likewise.
76104         * posix/sched.h: Likewise.
76105         * posix/spawn.h: Likewise.
76106         * posix/sys/wait.h: Likewise.
76107         * posix/unistd.h: Likewise.
76108         * posix/wordexp.h: Likewise.
76109         * pwd/pwd.h: Likewise.
76110         * resolv/netdb.h: Likewise.
76111         * resource/sys/resource.h: Likewise.
76112         * rt/aio.h: Likewise.
76113         * rt/bits/mqueue2.h: Likewise.
76114         * rt/mqueue.h: Likewise.
76115         * shadow/shadow.h: Likewise.
76116         * signal/signal.h: Likewise.
76117         * socket/send.c: Likewise.
76118         * socket/sendto.c: Likewise.
76119         * socket/sys/socket.h: Likewise.
76120         * stdio-common/printf.h: Likewise.
76121         * stdlib/bits/stdlib.h: Likewise.
76122         * stdlib/fmtmsg.h: Likewise.
76123         * stdlib/monetary.h: Likewise.
76124         * stdlib/stdlib.h: Likewise.
76125         * stdlib/ucontext.h: Likewise.
76126         * streams/stropts.h: Likewise.
76127         * string/argz.h: Likewise.
76128         * string/bits/string2.h: Likewise.
76129         * string/string.h: Likewise.
76130         * string/strings.h: Likewise.
76131         * sunrpc/rpc/auth.h: Likewise.
76132         * sunrpc/rpc/auth_des.h: Likewise.
76133         * sunrpc/rpc/clnt.h: Likewise.
76134         * sunrpc/rpc/netdb.h: Likewise.
76135         * sunrpc/rpc/pmap_clnt.h: Likewise.
76136         * sunrpc/rpc/xdr.h: Likewise.
76137         * sysdeps/generic/inttypes.h: Likewise.
76138         * sysdeps/generic/net/if.h: Likewise.
76139         * sysdeps/generic/sys/swap.h: Likewise.
76140         * sysdeps/gnu/net/if.h: Likewise.
76141         * sysdeps/gnu/utmpx.h: Likewise.
76142         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
76143         * sysdeps/i386/i486/bits/string.h: Likewise.
76144         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
76145         * sysdeps/s390/bits/string.h: Likewise.
76146         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
76147         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
76148         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
76149         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
76150         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
76151         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
76152         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
76153         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
76154         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
76155         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
76156         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
76157         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
76158         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
76159         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
76160         * sysdeps/unix/sysv/linux/readv.c: Likewise.
76161         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
76162         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
76163         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
76164         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
76165         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
76166         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76167         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
76168         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
76169         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
76170         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
76171         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
76172         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
76173         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76174         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
76175         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
76176         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
76177         * sysvipc/sys/ipc.h: Likewise.
76178         * sysvipc/sys/msg.h: Likewise.
76179         * sysvipc/sys/sem.h: Likewise.
76180         * sysvipc/sys/shm.h: Likewise.
76181         * termios/termios.h: Likewise.
76182         * time/sys/time.h: Likewise.
76183         * time/time.h: Likewise.
76184         * wcsmbs/bits/wchar2.h: Likewise.
76185         * wcsmbs/uchar.h: Likewise.
76186         * wcsmbs/wchar.h: Likewise.
76187         * wctype/wctype.h: Likewise.
76189         [BZ #13551]
76190         * Makeconfig: Remove all but ELF support including AIX support.
76191         * Makerules: Likewise.
76192         * config.h.in: Likewise.
76193         * config.make.in: Likewise.
76194         * configure: Likewise.
76195         * configure.in: Likewise.
76196         * csu/Makefile: Likewise.
76197         * csu/version.c: Likewise.
76198         * debug/Makefile: Likewise.
76199         * dlfcn/Makefile: Likewise.
76200         * elf/Makefile: Likewise.
76201         * extra-lib.mk: Likewise.
76202         * iconv/Makefile: Likewise.
76203         * include/libc-symbols.h: Likewise.
76204         * include/shlib-compat.h: Likewise.
76205         * resolv/Makefile: Likewise.
76206         * resolv/res_libc.c: Likewise.
76207         * rt/Makefile: Likewise.
76208         * sysdeps/i386/asm-syntax.h: Likewise.
76209         * sysdeps/i386/sysdep.h: Likewise.
76210         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
76211         * sysdeps/mach/sysdep.h: Likewise.
76212         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
76213         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
76214         * sysdeps/s390/asm-syntax.h: Likewise.
76215         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76216         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76217         * sysdeps/sh/sysdep.h: Likewise.
76218         * sysdeps/unix/sparc/sysdep.h: Likewise.
76219         * sysdeps/wordsize-32/divdi3.c: Likewise.
76220         * sysdeps/x86_64/sysdep.h: Likewise.
76222         * argp/Versions: Remove _argp_unlock_xxx.
76224         [BZ #13559]
76225         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
76226         * abilist/libBrokenLocale.abilist: Likewise.
76227         * abilist/libanl.abilist: Likewise.
76228         * abilist/libc.abilist: Likewise.
76229         * abilist/libcrypt.abilist: Likewise.
76230         * abilist/libdl.abilist: Likewise.
76231         * abilist/libm.abilist: Likewise.
76232         * abilist/libnsl.abilist: Likewise.
76233         * abilist/libpthread.abilist: Likewise.
76234         * abilist/libresolv.abilist: Likewise.
76235         * abilist/librt.abilist: Likewise.
76236         * abilist/libthread_db.abilist: Likewise.
76237         * abilist/libutil.abilist: Likewise.
76238         * abilist/libnss_db.abilist: New file.
76240         * scripts/abilist.awk: Add support for indirect functions.
76242         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
76244         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
76246         * shlib-versions: Remove entries for ports architectures.
76248         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
76249         files in ports.
76250         * elf/stackguard-macros.h: Remove support for IA-64.
76251         * elf/tst-auditmod1.c: Likewise.
76252         * sysdeps/generic/ldsodefs.h: Likewise.
76254         * sysdeps/unix/sysv/linux/configure.in: Ports should define
76255         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
76256         configure files.
76258         [BZ #13552]
76259         * configure.in: Remove --enable-omitfp support.
76260         * FAQ.in: Adjust.
76261         * config.make.in: Likewise.
76262         * Makeconfig: Likewise.
76263         * manual/install.texi: Likewise.
76265         In case anyone cares, the IA-64 architecture could move to ports.
76266         * sysdeps/ia64/*: Removed.
76267         * sysdeps/unix/sysv/linux/ia64/*: Removed.
76268         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
76270         [BZ #13555]
76271         * configure.in: Remove entries for unsupported architectures.
76273         [BZ #13533]
76274         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
76275         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
76276         routines.
76277         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
76278         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
76279         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
76280         fall back to using wcrtomb.
76281         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
76282         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
76283         renaming.
76284         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
76285         * wcsmbs/tst-c16c32-1.c: New file.
76287         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
76288         local variable.
76290         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
76292         * elf/tst-unique3.cc: Add explicit declaration of gets.
76293         * elf/tst-unique3lib.cc: Likewise.
76294         * elf/tst-unique3lib2.cc: Likewise.
76295         * elf/tst-unique4.cc: Likewise.
76297         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
76299 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
76301         [BZ #13566]
76302         * assert/assert.h (static_assert): Don't define for C++.
76303         * libio/stdio.h (gets): Do declare for C++ <= C++11.
76304         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
76306 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
76308         * iconv/loop.c (single loop): Fix assertion in storing of
76309         remaining bytes.
76311         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
76313 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
76315         * posix/getconf.c: Update copyright year.
76316         * nss/getent.c: Likewise.
76317         * nss/makedb.c: Likewise.
76318         * iconv/iconvconfig.c: Likewise.
76319         * iconv/iconv_prog.c: Likewise.
76320         * elf/ldconfig.c: Likewise.
76321         * elf/pldd.c: Likewise.
76322         * elf/sotruss.ksh: Likewise.
76323         * catgets/gencat.c: Likewise.
76324         * csu/version.c: Likewise.
76325         * elf/ldd.bash.in: Likewise.
76326         * elf/sprof.c (print_version): Likewise.
76327         * locale/programs/locale.c: Likewise.
76328         * locale/programs/localedef.c: Likewise.
76329         * login/programs/pt_chown.c: Likewise.
76330         * nscd/nscd.c (print_version): Likewise.
76331         * debug/xtrace.sh: Likewise.
76332         * malloc/memusage.sh: Likewise.
76333         * malloc/mtrace.pl: Likewise.
76334         * debug/catchsegv.sh: Likewise.
76336 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
76338         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
76339         pure attribute.
76341 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
76343         [BZ #13533]
76344         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
76345         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
76346         transformations.
76347         * iconv/gconv_int.h: Likewise.
76348         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
76349         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
76350         from libc for GLIBC_2.16.
76351         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
76352         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
76353         * wcsmbs/uchar.h: Really define mbstate_t.
76354         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
76355         * wcsmbs/c16rtomb.c: New file.
76356         * wcsmbs/mbrtoc16.c: New file.
76357         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
76358         for C/POSIX locale.
76359         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
76360         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
76362         * wcsmbs/wchar.h: Add missing __restrict.
76364 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76366         [BZ #13532]
76367         * time/Makefile (routines): Add timespec_get.
76368         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
76369         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
76370         timespec for ISO C11.
76371         * time/timespec_get.c: New file.
76372         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
76373         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
76375         [BZ #13531]
76376         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
76377         * stdlib/stdlib.h: Declare aligned_alloc.
76378         * Versions.def: Add GLIBC_2.16 for libc.
76379         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
76381         [BZ 13527]
76382         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
76383         ISO C11.
76385         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
76386         code.
76388         [BZ #13528]
76389         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
76391         [BZ #13529]
76392         * assert/assert.h (static_assert): Define.
76394         * version.h: Update for 2.16 development version.
76396         [BZ #13526]
76397         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
76398         _ISOC11_SOURCE.
76400         * version.h (RELEASE): Bump for 2.15 release.
76401         * include/features.h (__GLIBC_MINOR__): Bump to 15.
76403         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
76404         Patch by Marek Polacek <mpolacek@redhat.com>.
76406         * bits/byteswap.h: Protect long long constants with __extension__.
76407         * sysdeps/i386/bits/byteswap.h: Likewise.
76408         * sysdeps/ia64/bits/byteswap.h: Likewise.
76409         * sysdeps/s390/bits/byteswap.h: Likewise.
76410         * sysdeps/x86_64/bits/byteswap.h: Likewise.
76412 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76414         [BZ #13540]
76415         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
76416         destination buffer.
76417         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
76419 2011-12-23  Marek Polacek  <polacek@redhat.com>
76421         * elf/dl-addr.c (determine_info): Add inline keyword.
76422         * elf/tst-auditmod4b.c (check_avx): Likewise.
76423         * elf/tst-auditmod6b.c (check_avx): Likewise.
76424         * elf/tst-auditmod6c.c (check_avx): Likewise.
76425         * elf/tst-auditmod7b.c (check_avx): Likewise.
76427 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
76429         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
76430         !__SSE_MATH__.
76432 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76434         [BZ #13540]
76435         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
76436         processing for last bytes.
76438 2011-08-06  Bruno Haible  <bruno@clisp.org>
76440         [BZ #13061]
76441         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
76442         U+0385, not to U+1FEE.
76444         [BZ #13062]
76445         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
76446         entry for U+00A5 U+0301.
76448 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76450         [BZ #13166]
76451         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
76452         buffer for the output is too small.
76454         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
76455         optimization.
76457         [BZ #13185]
76458         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
76459         SSE flags if possible.
76461 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76463         [BZ #13540]
76464         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
76465         processing for last bytes.
76467 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
76469         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
76470         (syscall-list-default-options, syscall-list-default-condition)
76471         (syscall-list-includes): Define.
76472         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
76473         list of ABIs and options and #if conditions for each ABI.  Do not
76474         handle common syscalls between ABIs specially.
76475         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
76476         Remove.
76477         (syscall-list-variants, syscall-list-32bit-options)
76478         (syscall-list-32bit-condition, syscall-list-64bit-options)
76479         (syscall-list-64bit-condition): Define.
76480         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
76481         (syscall-list-variants, syscall-list-32bit-options)
76482         (syscall-list-32bit-condition, syscall-list-64bit-options)
76483         (syscall-list-64bit-condition): Define.
76484         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
76485         Remove.
76486         (syscall-list-variants, syscall-list-32bit-options)
76487         (syscall-list-32bit-condition, syscall-list-64bit-options)
76488         (syscall-list-64bit-condition): Define.
76489         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
76490         Remove.
76491         (syscall-list-variants, syscall-list-32bit-options)
76492         (syscall-list-32bit-condition, syscall-list-64bit-options)
76493         (syscall-list-64bit-condition): Define.
76495 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
76497         * locale/iso-639.def: Add brx entry.
76499         [BZ #13328]
76500         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
76501         Proposed by Mariusz_Cukr <marcukr@op.pl>.
76503         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
76504         __feraiseexcept_renamed.
76506 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76508         [BZ #13538]
76509         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
76510         EPOLLET with unsigned values.
76511         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
76512         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
76514         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
76515         to large cancellation.
76516         * math/s_cacoshf.c: Likewise.
76517         * math/s_cacoshl.c: Likewise.
76519 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
76521         [BZ #13305]
76522         [BZ #12786]
76523         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
76524         * math/s_cacoshf.c: Likewise.
76525         * math/s_cacoshl.c: Likewise.
76527 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
76529         [BZ #13439]
76530         * iconv/gconv.h: Define __GCONV_SWAP.
76531         * iconvdata/unicode.c: The swap bit must be stored in __flags.
76532         * iconvdata/utf-16.c: Likewise.
76533         * iconvdata/utf-32.c: Likewise.
76535 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
76537         [BZ #13524]
76538         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
76539         numerator after shifting it by one limb.
76541 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
76543         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
76544         under [__USE_EXTERN_INLINES].
76546 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76548         [BZ #13446]
76549         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
76551 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76553         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
76554         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
76555         optimized code.
76556         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
76557         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
76558         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
76559         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
76560         for strncasecmp/strncasecmp_l compilation.
76561         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
76562         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
76564 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
76566         [BZ #13484]
76567         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
76568         of __asm__.
76570 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
76572         [BZ #13506]
76573         * time/tzfile.c (__tzfile_read): Check values from file header.
76575 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
76577         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
76578         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
76579         * powerpc/powerpc32/dl-start.S: Likewise.
76580         * powerpc/powerpc32/elf/start.S: Likewise.
76581         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
76582         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
76583         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
76584         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
76585         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
76586         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
76587         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
76588         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
76589         * powerpc/powerpc32/fpu/s_round.S: Likewise.
76590         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
76591         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
76592         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
76593         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
76594         * powerpc/powerpc32/memset.S: Likewise.
76595         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
76596         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
76597         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
76598         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
76599         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
76600         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
76601         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
76602         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
76603         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
76604         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
76605         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
76606         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
76607         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
76609 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76611         * math/libm-test.inc: Added more nearbyint tests.
76612         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
76613         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
76614         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
76615         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
76617 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
76619         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
76620         FD_CLOEXEC.
76622 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76624         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
76625         Add wcscpy-ssse3 wcscpy-c.
76626         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
76627         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
76628         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
76629         * sysdeps/x86_64/wcschr.S: New file.
76630         * sysdeps/x86_64/wcsrchr.S: New file.
76631         * string/test-strcmp.c: Remove checking of wcscmp function for
76632         wrong alignments.
76633         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
76634         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
76635         wcsrchr-sse2 wcsrchr-c.
76636         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
76637         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
76638         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
76639         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
76640         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
76641         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
76642         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
76643         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
76644         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
76645         * wcsmbc/wcschr.c (WCSCHR): New macro.
76647 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76649         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
76650         * wcsmbs/test-wcsrchr.c: New file.
76651         * string/test-strrchr.c: Add wcsrchr support.
76652         (WIDE): New macro.
76653         * wcsmbs/test-wcscpy.c: New file.
76654         * string/test-strcpy.c: Add wcscpy support.
76655         (WIDE): New macro.
76657 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
76659         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
76660         the inner loop.
76662 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
76664         [BZ #13472]
76665         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
76667 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
76669         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
76670         Minor optimizations.
76672         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
76673         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
76674         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
76676 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
76678         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
76679         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
76680         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
76681         for gcc to avoid warnings.
76682         * inet/Makefile (tests): Add tst-checks.
76683         * inet/tst-checks.c: New file.
76685         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
76686         warning.
76688         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
76689         __wmemcmp_sse2.
76691         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
76692         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
76694         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
76696 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
76698         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
76699         problem.
76701         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
76703 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
76705         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
76706         conditional on GCC version.
76707         (__arch_compare_and_exchange_val_8_acq)
76708         (__arch_compare_and_exchange_val_16_acq)
76709         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
76710         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
76711         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
76713 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
76715         * sysdeps/sh/backtrace.c: New file.
76717 2011-12-02  Andreas Schwab  <schwab@redhat.com>
76719         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
76720         parenthesis.
76722 2011-12-01  Andreas Schwab  <schwab@redhat.com>
76724         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
76725         falling back to utime.
76727 2011-11-30  Andreas Schwab  <schwab@redhat.com>
76729         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
76730         expectations for float.
76732 2011-11-29  Andreas Schwab  <schwab@redhat.com>
76734         * locale/weight.h (findidx): Add parameter len.
76735         * locale/weightwc.h (findidx): Likewise.
76736         * posix/fnmatch_loop.c (FCT): Adjust caller.
76737         * posix/regcomp.c (build_equiv_class): Likewise.
76738         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
76739         * posix/regexec.c (check_node_accept_bytes): Likewise.
76740         * string/strcoll_l.c (STRCOLL): Likewise.
76741         * string/strxfrm_l.c (STRXFRM): Likewise.
76743 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
76745         * Makefile.in: Remove CVSOPT handling.
76746         * configure.in: Remove use of AC_REVISION.
76747         * iconvdata/Makefile (distribute): No need to filter out CVS.
76748         * scripts/list-sources.sh: Remove CVS, subversion and monotone
76749         handling.
76751 2011-11-16  Andreas Schwab  <schwab@redhat.com>
76753         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
76754         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
76755         [USE_AS_STRNCASECMP_L]: Likewise.
76756         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
76757         NO_TLS_DIRECT_SEG_REFS.
76758         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
76759         Fix argument offsets for non-PIC.
76760         [USE_AS_STRNCASECMP_L]: Likewise.
76761         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
76762         NO_TLS_DIRECT_SEG_REFS.
76764 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76766         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
76767         O_CLOEXEC.
76768         * locale/loadlocale.c (_nl_load_locale): Likewise.
76770 2011-11-15  Andreas Schwab  <schwab@redhat.com>
76772         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
76773         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
76774         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
76775         (SYSCALL_GETTIME): Set errno on error.
76777         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
76778         count references to noai6ai_cached.
76780 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
76782         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
76784         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
76785         FD_CLOEXEC for /proc/self/maps.
76787         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
76788         FD_CLOEXEC for /proc/meminfo.
76790         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
76791         gai.conf.
76793         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
76794         FD_CLOEXEC for given file.
76796         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
76798         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
76799         FD_CLOEXEC for /etc/hosts.
76800         (_gethtent): Likewise.
76802         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
76804         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
76805         cancellation and set FD_CLOEXEC for /etc/netgroup.
76807         * nss/nss_files/files-key.c (search): Don't allow cancellation when
76808         reading /etc/publickey.
76810         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
76811         allow cancellation when reading /etc/group.
76813         * nss/nss_files/files-alias.c (internal_setent): Don't allow
76814         cancellation.
76815         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
76817         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
76818         when using data file.
76820         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
76822         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
76823         (write_nis_obj): Use "c" and "e" in fopen.
76825         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
76827         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
76829         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
76831         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
76833         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
76834         locale.alias.
76836         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
76838         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
76840         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
76842         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
76843         file parsing and set FD_CLOEXEC.
76845 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76847         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
76849 2011-11-14  Andreas Schwab  <schwab@redhat.com>
76851         * malloc/arena.c (arena_get2): Don't call reused_arena when
76852         _int_new_arena failed.
76854 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
76856         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
76857         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
76858         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
76859         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76860         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76861         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
76862         to compile strcasecmp and strncasecmp.
76863         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
76864         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
76866         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
76868 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
76870         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
76871         locale-defines.sym to gen-as-const-headers.
76872         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
76873         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
76874         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
76875         to compile strcasecmp and strncasecmp.
76876         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
76877         strcasecmp_l and strncasecmp_l.
76878         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
76879         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
76880         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
76881         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
76882         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
76883         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
76884         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
76885         * sysdeps/i386/i686/multiarch/strncase.S: New file.
76886         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
76887         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
76888         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
76890 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
76892         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
76893         result of SYSDEP_GETTIME_CPU to retval.
76894         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
76895         parameter list to macro.  Remove trailing semicolon.  Adjust users.
76897         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
76898         variable.
76900         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
76901         mantissa words.
76902         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
76904         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
76905         from unused variable.
76907         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
76908         DWARF definitions.
76909         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
76910         for assembling.
76912         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
76913         over namespaces.
76915         * sunrpc/rpc_prot.c (rejected): Fix case value.
76917         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
76918         unsigned long long int to avoid warnings in shift.
76920         * posix/regex_internal.c (re_string_reconstruct): Actually use result
76921         of use of trans.
76922         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
76923         variable tmp.
76925         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
76926         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
76927         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
76929         * nis/nis_table.c (nis_list): Use variable of correct type for
76930         result of __follow_path call.
76932 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76934         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
76935         of math functions ceil, trunc, floor, round, and sqrt, when
76936         avaliable on the platform.
76937         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
76938         name clash.
76939         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76940         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76941         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76943 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
76945         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
76946         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
76948 2011-11-11  Roland McGrath  <roland@hack.frob.com>
76950         * include/unistd.h: Fix __readlink return type.
76951         Reported by Chris Metcalf <cmetcalf@tilera.com>.
76953 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
76955         * stdlib/ucontext.h: Undo last change for makecontext.
76957 2011-11-11  Andreas Schwab  <schwab@redhat.com>
76959         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
76961         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
76962         * setjmp/setjmp.h: Mark functions as non-leaf.
76963         * setjmp/bits/setjmp2.h: Likewise.
76964         * stdlib/ucontext.h: Likewise.
76966 2011-11-10  Andreas Schwab  <schwab@redhat.com>
76968         * malloc/arena.c (_int_new_arena): Don't increment narenas.
76969         (reused_arena): Don't check arena limit.
76970         (arena_get2): Atomically check arena limit.
76972 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
76974         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
76975         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
76977         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
76978         instructions.
76980 2011-11-07  Andreas Schwab  <schwab@redhat.com>
76982         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
76983         handler when locking.
76985         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
76986         Fix size of allocated buffer.
76988 2011-11-04  Andreas Schwab  <schwab@redhat.com>
76990         [BZ #10103]
76991         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
76992         declarations for long double functions.
76993         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
76995         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
76997 2011-11-03  Andreas Schwab  <schwab@redhat.com>
76999         * nscd/nscd.c (main): Don't start AVC thread until credentials are
77000         installed.
77002         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
77003         is disabled.
77005 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77007         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
77009 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
77011         * include/alloca.h (stackinfo_alloca_round): Define.
77012         (extend_alloca): Use it.
77013         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
77014         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
77015         here.
77017         * scripts/check-local-headers.sh: Ignore libaudit.h.
77019         * nscd/Makefile (extra-objs): Make recursively expanded.
77021 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
77023         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
77024         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
77026         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
77027         * posix/tst-rfc3484-2.c: Likewise.
77028         * posix/tst-rfc3484-3.c: Likewise.
77030         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77031         process_vm_writev.
77032         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
77033         process_vm_writev.
77034         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
77035         process_vm_writev from libc using GLIBC_2.15 version.
77037         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
77039 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
77041         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
77042         stack usage.
77044 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
77046         [BZ #13367]
77047         * nss/getent.c (initgroups_keys): Show error message in case no group
77048         names are given.
77050         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
77051         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
77052         __bump_nl_timestamp.
77053         * nscd/connections (nscd_init): When host database is served open
77054         netlink socket and request notification about configuration changes.
77055         (main_loop_poll): Track netlink file descriptor and bump timestamp
77056         in case data becomes available.
77057         (main_loop_epoll): Likewise.
77058         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
77059         (database_pers_head): Add extra_data fileds.
77060         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
77061         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
77062         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
77063         Adjust caller.
77064         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
77065         in6ai data, call __free_in6ai.
77066         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
77067         Add -DHAVE_NETLINK.
77068         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
77069         interface information.  Reuse previous data if netlink timestamp
77070         is not changed.
77071         (__bump_nl_timestamp): New function.
77072         (__free_in6ai): New function.
77074 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
77076         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
77077         close_not_cancel_no_status here.
77078         (__check_pf): Reorganize code a bit to not call close twice if OOM.
77080 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77082         [BZ #13276]
77083         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
77084         return value.
77086         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
77087         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
77088         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
77090 2011-07-03  Andreas Jaeger  <aj@suse.de>
77092         [BZ #10709]
77093         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
77094         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
77095         * math/libm-test.inc (sin_test): Add test case.
77097 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
77099         [BZ #13337]
77100         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
77101         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77103         * elf/chroot_canon.c (chroot_canon): Cleanups.
77105         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
77107         [BZ #13335]
77108         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
77109         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
77111         * string/test-strchr.c: Make usable for strchrnul testing.
77112         * string/test-strchrnul.c: New file.
77113         * string/Makefile (strop-tests): Add strchrnul.
77115         * po/it.po: Update from translation team.
77116         * po/es.po: Likewise.
77118 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
77120         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
77121         the three constants needed as parameters.  Drop the others.
77122         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
77123         __m128i_strloadu_tolower.
77124         Create and initialize variable zero and use it in all the places
77125         where _mm_setzero_si128 was used.
77127         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
77128         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
77129         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
77130         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
77131         anymore.
77132         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
77133         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
77134         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
77135         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
77136         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
77137         __mpranred, __mptan.
77138         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
77139         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
77140         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
77141         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
77142         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
77143         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
77144         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
77145         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
77146         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
77148 2011-10-28  Andreas Schwab  <schwab@redhat.com>
77150         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
77151         redefine if SHARED.
77152         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
77154         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
77155         wide char related routines to wcsmbs subdir.
77157 2011-10-27  Andreas Schwab  <schwab@redhat.com>
77159         [BZ #13344]
77160         * misc/sys/cdefs.h (__THROWNL): Define.
77161         * posix/unistd.h: Use __THREADNL instead of __THREAD
77162         for memory synchronization functions.
77164 2011-10-26  Roland McGrath  <roland@hack.frob.com>
77166         [BZ #13349]
77167         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
77168         doesn't exist.
77169         * manual/stdio.texi (Obstack Streams): Node removed.
77171 2011-10-26  Andreas Schwab  <schwab@redhat.com>
77173         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
77174         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77175         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77177         * math/math_private.h (math_force_eval): Allow non-addressable
77178         arguments.
77179         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
77181 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77183         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
77184         file is not needed.
77186         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
77187         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
77188         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
77189         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
77190         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
77191         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
77192         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
77193         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
77194         Add AVX variants.
77195         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
77196         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
77197         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
77198         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
77199         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
77200         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
77201         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
77202         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
77203         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
77204         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
77205         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
77206         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
77207         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
77208         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
77209         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
77210         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
77211         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
77212         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
77213         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
77215         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
77216         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
77218         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
77219         place.  Use VEX encoding when compiling for AVX.
77221 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77223         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
77224         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
77226         * string/test-strchr.c (do_test): Don't generate NUL bytes.
77228 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77230         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
77231         useless if() expression.
77232         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
77233         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
77234         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
77235         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77236         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
77237         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
77238         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77239         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77240         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
77241         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77242         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
77243         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77244         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
77245         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77246         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
77247         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
77248         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
77249         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
77250         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
77252         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
77254 2011-10-25  Andreas Schwab  <schwab@redhat.com>
77256         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
77257         condition.
77258         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77260 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
77262         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
77263         .text section.  Avoid duplicate constants.
77264         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
77265         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77266         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
77267         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77268         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77269         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77270         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77271         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77272         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
77273         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
77274         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
77275         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
77276         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
77277         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
77278         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
77279         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
77280         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
77281         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
77282         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
77283         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77284         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
77285         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
77286         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
77287         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
77288         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
77289         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
77290         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
77291         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
77292         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
77293         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
77294         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
77295         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
77296         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
77297         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
77298         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
77299         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
77300         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
77301         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
77302         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
77303         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
77304         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
77305         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
77306         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
77307         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
77308         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
77310 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
77312         * sysdeps/x86_64/dla.h: Move to ...
77313         * sysdeps/x86_64/fpu/dla.h: ...here.
77314         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
77315         situations.  Use __builtin_fma only for gcc 4.6 and up.
77317         * config.make.in: Add have-mfma4 entry.
77318         * configure.in: Substitute libc_cv_cc_fma4.
77319         * math/Makefile (dbl-only-routines): Add sincostab.
77320         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
77321         Use __sincostab not sincos.
77322         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
77323         name is a macro.
77324         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77325         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77326         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77327         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
77328         using __copysign.
77329         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
77330         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
77331         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
77332         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
77333         and __inv.
77334         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
77335         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
77336         __copysign.
77337         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
77338         define aliases when function name is a macro.
77339         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
77340         sysdeps/ieee754/dbl-64/sincos.tbl.
77341         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
77342         fma4-enabled routines.
77343         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
77344         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
77345         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
77346         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
77347         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
77348         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
77349         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
77350         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
77351         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
77352         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
77353         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
77354         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
77355         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
77356         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
77357         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
77358         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
77359         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
77360         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
77361         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
77362         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
77363         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
77364         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
77365         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
77366         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
77367         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
77368         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
77369         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
77370         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
77371         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
77372         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
77374         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
77375         rename.
77376         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77377         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77378         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77379         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77382         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77383         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77385 2011-10-24  Andreas Schwab  <schwab@redhat.com>
77387         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
77389 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77391         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
77393         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
77394         prediction.
77395         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
77397         * string/strnlen.c: Don't define STRNLEN, reverse logic.
77398         Remove unused variable magic_bits.
77399         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
77401         * string/strnlen.c: Define and use STRNLEN macro.
77402         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
77403         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
77404         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
77405         * wcsmbs/wcslen.c: Define and use WCSLEN.
77406         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
77407         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
77408         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
77409         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
77410         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
77411         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
77412         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
77414 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77416         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77417         strnlen-sse2-no-bsf.
77418         Rename strlen-no-bsf to strlen-sse2-no-bsf.
77419         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
77420         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
77421         Add strnlen support.
77422         (USE_AS_STRNLEN): New macro.
77423         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
77424         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
77425         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
77426         * sysdeps/x86_64/wcslen.S: New file.
77428 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
77430         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
77431         XMM-moves are used for copying on small sizes.
77433 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77435         * wcsmbs/Makefile (strop-tests): Add wcschr.
77436         * wcsmbs/test-wcschr.c: New file.
77437         * string/test-strchr.c: Update.
77438         Add wcschr support.
77439         (WIDE): New macro.
77441 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77443         * wcsmbs/Makefile (strop-tests): Add wcslen.
77444         * wcsmbs/test-wcslen.c: New file.
77445         * string/test-strlen.c: Update.
77446         Add wcslen support.
77447         (WIDE): New macro.
77449 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77451         * po/it.po: Update from translation team.
77453 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77455         * sysdeps/x86_64/wcscmp.S: Update.
77456         Fix wrong comparison semantics.
77457         wcscmp shall use signed comparison not unsigned.
77458         Don't use substraction to avoid overflow bug.
77459         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
77460         * wcsmbc/wcscmp.c: Likewise.
77461         * string/test-strcmp.c: Likewise.
77462         Add new tests to check cases with negative values.
77464 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
77466         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
77467         * sysdeps/x86_64/dla.h: ...here.  New file.
77468         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
77469         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77470         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77471         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77472         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77473         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
77474         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77475         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77476         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77478 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
77480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
77481         __ynl_finite aliases.
77483 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77485         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77487         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
77488         define DLA_FMA.
77489         [DLA_FMA] (EMULV): Use DLA_FMA.
77490         [DLA_FMA] (MUL12): Use EMULV.
77491         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
77492         that are not needed.
77493         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
77494         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
77495         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
77496         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
77497         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
77498         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
77499         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
77501 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
77503         * math/s_nan.c: Undef __nan.
77504         * math/s_nanf.c: Undef __nanf.
77505         * math/s_nanl.c: Undef __nanl.
77506         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
77507         "math_private.h".
77509 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
77511         * math/s_catan.c: Add branch predictions.
77512         * math/s_catanf.c: Likewise.
77513         * math/s_catanh.c: Likewise.
77514         * math/s_catanhf.c: Likewise.
77515         * math/s_catanhl.c: Likewise.
77516         * math/s_catanl.c: Likewise.
77517         * math/s_cexp.c: Likewise.
77518         * math/s_cexpf.c: Likewise.
77519         * math/s_cexpl.c: Likewise.
77520         * math/s_clog.c: Likewise.
77521         * math/s_clog10.c: Likewise.
77522         * math/s_clog10f.c: Likewise.
77523         * math/s_clog10l.c: Likewise.
77524         * math/s_clogf.c: Likewise.
77525         * math/s_clogl.c: Likewise.
77526         * math/s_csqrt.c: Likewise.
77527         * math/s_csqrtf.c: Likewise.
77528         * math/s_csqrtl.c: Likewise.
77529         * math/s_ctanf.c: Likewise.
77530         * math/s_ctanh.c: Likewise.
77531         * math/s_ctanhf.c: Likewise.
77532         * math/s_ctanhl.c: Likewise.
77533         * math/s_ctanl.c: Likewise.
77535         * math/math_private.h: Define __nan, __nanf, __nanl.
77536         * math/s_cacosh.c: Include <math_private.h>.
77537         * math/s_cacoshl.c: Likewise.
77538         * math/s_casinh.c: Likewise.
77539         * math/s_casinhf.c: Likewise.
77540         * math/s_casinhl.c: Likewise.
77541         * math/s_ccos.c: Rely entire on ccosh.
77542         * math/s_ccosf.c: Rely entire on ccoshf.
77543         * math/s_ccosl.c: Rely entirely on ccoshl.
77544         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
77545         Remove tests for FE_INVALID.
77546         * math/s_ccoshf.c: Likewise.
77547         * math/s_ccoshl.c: Likewise.
77548         * math/s_csin.c: Likewise.
77549         * math/s_csinf.c: Likewise.
77550         * math/s_csinh.c Likewise.
77551         * math/s_csinhf.c: Likewise.
77552         * math/s_csinhl.c: Likewise.
77553         * math/s_csinl.c: Likewise.
77554         * math/s_ctan.c: Likewise.
77555         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
77556         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
77557         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
77559 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
77561         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
77562         compilation problems.
77564         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
77565         __builtin_expect.
77567 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
77569         * sysdeps/i386/configure.in: Test for -mfma4 option.
77570         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
77571         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
77572         COMMON_CPUID_INDEX_80000001.
77573         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
77574         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
77575         use it if FMA3 is not supported.
77576         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
77578         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
77579         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
77581 2011-10-20  Andreas Schwab  <schwab@redhat.com>
77583         [BZ #12892]
77584         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
77585         it would create a cycle with a link time dependency.
77587 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
77589         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
77590         instruction.
77591         * string/Makefile (strop-tests): Add rawmemchr.
77592         * string/test-rawmemchr.c: New file.
77594         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
77595         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
77596         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
77597         when compiling str{,n}casecmp and when AVX is available.  Hook up
77598         new optimized code in initializers.
77600 2011-10-19  Andreas Schwab  <schwab@redhat.com>
77602         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
77603         __feraiseexcept instead of feraiseexcept.
77605 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
77607         * math/math_private.h: Define defaults for libc_fetestexcept and
77608         libc_feupdateenv.
77609         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
77610         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
77611         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
77612         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77613         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
77614         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77615         libc_fetestexcept and libc_feupdateenv.
77617         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
77618         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
77619         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
77620         * sysdeps/x86_64/fpu/math_private.h: Define special version of
77621         libc_feholdexcept_setround.
77623         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
77624         Add s_nearbyint-c and s_nearbyintf-c.
77625         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
77626         nearbyintf inlines.
77627         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
77628         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
77629         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
77630         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
77632         * math/math_private.h: Define defaults for libc_fegetround,
77633         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
77634         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
77635         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
77636         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
77637         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
77638         standard functions.
77639         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
77640         Remove comments and hacks for old compiler versions.
77641         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
77642         libc_fegetround, libc_fesetround, libc_feholdexcept, and
77643         libc_feholdexceptl.
77645 2011-10-18  Andreas Schwab  <schwab@redhat.com>
77647         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
77648         (__feraiseexcept_renamed): Add __NTH.
77649         (feraiseexcept): Add __NTH.  Rename local variables to fix
77650         namespace violations.
77652 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
77654         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
77656         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
77658         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
77659         recently added interfaces.
77660         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
77662         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
77663         about macro parameter expansion.
77665         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
77666         __NO_MATH_INLINES is defined.  Cleanups.
77668         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
77669         and __floorf is target has SSE4.1.
77670         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
77671         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
77672         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
77673         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
77675         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
77676         name.
77677         (floorf): Likewise.
77679         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
77681 2011-10-17  Andreas Schwab  <schwab@redhat.com>
77683         * misc/sys/cdefs.h: Fix last change.
77685         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
77686         database lookup.
77688 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
77690         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
77692         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
77693         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
77694         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
77695         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
77696         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
77697         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
77698         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
77699         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
77700         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
77701         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
77702         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
77703         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
77704         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
77705         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
77706         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
77707         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
77708         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
77709         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
77710         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
77711         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
77712         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
77713         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
77715         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
77716         ceil, ceilf, floor, floorf.
77718         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
77719         Perform IRELATIVE relocations last.
77721         * elf/do-rel.h: Add another parameter nrelative, replacing the
77722         local variable with the same name.  Change name of the function
77723         to end in Rel or Rela (uppercase).
77724         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
77725         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
77726         elf_dynamic_do_##reloc function.
77728 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77730         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
77731         is sufficient, at least on modern CPUs.
77733         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
77735         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
77736         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
77738         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
77739         __expl_finite.
77740         * math/bits/math-finite.h: Add entries for exp.
77741         * math/e_expl.c: Add __*_finite alias.
77742         * sysdeps/i386/fpu/e_exp.S: Likewise.
77743         * sysdeps/i386/fpu/e_expf.S: Likewise.
77744         * sysdeps/i386/fpu/e_expl.c: Likewise.
77745         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
77746         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
77747         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
77748         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
77749         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
77750         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77751         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77753         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
77754         is sufficient, at least on modern CPUs.
77756         * ctype/ctype-info.c (__ctype_init): Define.
77757         * include/ctype.h (__ctype_init): Declare.
77758         (__ctype_b_loc): The variable is always initialized.
77759         (__ctype_toupper_loc): Likewise.
77760         (__ctype_tolower_loc): Likewise.
77761         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
77762         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
77764 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
77766         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
77768         * configure.in: Also look in $cxxmachine/include for C++ system
77769         headers.
77771 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77773         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
77774         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
77775         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
77776         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
77777         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
77778         (USE_AS_WMEMCMP): New macro.
77779         Fixing indents.
77780         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
77781         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
77782         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
77783         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
77784         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77785         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
77786         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
77787         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
77788         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
77789         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
77790         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
77791         (USE_AS_WMEMCMP): New macro.
77792         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
77793         * sysdeps/string/test-memcmp.c: Update.
77794         Fix simple_wmemcmp.
77795         Add new tests.
77796         * wcsmbs/wmemcmp.c: Update.
77797         (WMEMCMP): New macro.
77798         Fix overflow bug.
77800 2011-10-12  Andreas Jaeger  <aj@suse.de>
77802         [BZ #13268]
77803         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
77805 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
77807         * libio/iofwide.c (do_length): Avoid warning.
77809         * ctype/ctype.h (__isctype_f): Add missing __THROW.
77811 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
77813         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
77815         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
77816         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
77817         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
77818         * sysdeps/i386/i686/fpu/e_log.S: New file.
77819         * sysdeps/i386/i686/fpu/e_logf.S: New file.
77820         * sysdeps/i386/i686/fpu/e_logl.S: New file.
77822         * ctype/ctype.h: Add support for inlined isXXX functions when
77823         compiling C++ code.
77825 2011-10-14  Andreas Schwab  <schwab@redhat.com>
77827         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77829         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
77831 2011-10-13  Roland McGrath  <roland@hack.frob.com>
77833         [BZ #13291]
77834         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
77836 2011-10-13  Andreas Schwab  <schwab@redhat.com>
77838         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
77839         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
77840         feraiseexcept.
77842         * sysdeps/x86_64/memrchr.S: Check for zero size.
77844         * string/stratcliff.c: Add memrchr tests.
77846 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77848         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77849         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
77850         rawmemchr-sse2 rawmemchr-sse2-bsf.
77851         * sysdeps/i386/i686/multiarch/memchr.S: New file.
77852         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
77853         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
77854         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
77855         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
77856         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
77857         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
77858         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
77859         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
77860         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
77861         * string/memrchr.c (MEMRCHR): New macro.
77863 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
77865         Add integration with gcc's -ffinite-math-only and optimize wrapper
77866         functions in libm.
77867         * Versions.def: Define GLIBC_2.15 version for libm.
77868         * math/Makefile (headers): Add bits/math-finite.h.
77869         * math/bits/math-finite.h: New file.
77870         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
77871         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
77872         * math/e_acoshl.c: Add __*_finite alias.
77873         * math/e_acosl.c: Likewise.
77874         * math/e_asinl.c: Likewise.
77875         * math/e_atan2l.c: Likewise.
77876         * math/e_atanhl.c: Likewise.
77877         * math/e_coshl.c: Likewise.
77878         * math/e_exp10.c: Likewise.
77879         * math/e_exp10f.c: Likewise.
77880         * math/e_exp10l.c: Likewise.
77881         * math/e_exp2l.c: Likewise.
77882         * math/e_fmodl.c: Likewise.
77883         * math/e_gammal_r.c: Likewise.
77884         * math/e_hypotl.c: Likewise.
77885         * math/e_j0l.c: Likewise.
77886         * math/e_j1l.c: Likewise.
77887         * math/e_jnl.c: Likewise.
77888         * math/e_lgammal_r.c: Likewise.
77889         * math/e_log10l.c: Likewise.
77890         * math/e_log2l.c: Likewise.
77891         * math/e_logl.c: Likewise.
77892         * math/e_powl.c: Likewise.
77893         * math/e_sinhl.c: Likewise.
77894         * math/e_sqrtl.c: Likewise.
77895         * math/e_scalb.c: Completely rewritten and optimized.
77896         * math/e_scalbf.c: Likewise.
77897         * math/e_scalbl.c: Likewise.
77898         * math/w_acos.c: Likewise.
77899         * math/w_acosf.c: Likewise.
77900         * math/w_acosl.c: Likewise.
77901         * math/w_acosh.c: Likewise.
77902         * math/w_acoshf.c: Likewise.
77903         * math/w_acoshl.c: Likewise.
77904         * math/w_asin.c: Likewise.
77905         * math/w_asinf.c: Likewise.
77906         * math/w_asinl.c: Likewise.
77907         * math/w_atan2.c: Likewise.
77908         * math/w_atan2f.c: Likewise.
77909         * math/w_atan2l.c: Likewise.
77910         * math/w_atanh.c: Likewise.
77911         * math/w_atanhf.c: Likewise.
77912         * math/w_atanhl.c: Likewise.
77913         * math/w_exp10.c: Likewise.
77914         * math/w_exp10f.c: Likewise.
77915         * math/w_exp10l.c: Likewise.
77916         * math/w_fmod.c: Likewise.
77917         * math/w_fmodf.c: Likewise.
77918         * math/w_fmodl.c: Likewise.
77919         * math/w_j0.c: Likewise.
77920         * math/w_j0f.c: Likewise.
77921         * math/w_j0l.c: Likewise.
77922         * math/w_j1.c: Likewise.
77923         * math/w_j1f.c: Likewise.
77924         * math/w_j1l.c: Likewise.
77925         * math/w_jn.c: Likewise.
77926         * math/w_jnf.c: Likewise.
77927         * math/w_log.c: Likewise.
77928         * math/w_logf.c: Likewise.
77929         * math/w_logl.c: Likewise.
77930         * math/w_log10.c: Likewise.
77931         * math/w_log10f.c: Likewise.
77932         * math/w_log10l.c: Likewise.
77933         * math/w_log2.c: Likewise.
77934         * math/w_log2f.c: Likewise.
77935         * math/w_log2l.c: Likewise.
77936         * math/w_pow.c: Likewise.
77937         * math/w_powf.c: Likewise.
77938         * math/w_powl.c: Likewise.
77939         * math/w_remainder.c: Likewise.
77940         * math/w_remainderf.c: Likewise.
77941         * math/w_remainderl.c: Likewise.
77942         * math/w_scalb.c: Likewise.
77943         * math/w_scalbf.c: Likewise.
77944         * math/w_scalbl.c: Likewise.
77945         * math/w_sqrt.c: Likewise.
77946         * math/w_sqrtf.c: Likewise.
77947         * math/w_sqrtl.c: Likewise.
77948         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
77949         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
77950         used.
77951         * math/math_private.h: Declare __kernel_standard_f.
77952         * math/w_cosh.c: Remove cruft and optimize a bit.
77953         * math/w_coshf.c: Likewise.
77954         * math/w_coshl.c: Likewise.
77955         * math/w_exp2.c: Likewise.
77956         * math/w_exp2f.c: Likewise.
77957         * math/w_exp2l.c: Likewise.
77958         * math/w_hypot.c: Likewise.
77959         * math/w_hypotf.c: Likewise.
77960         * math/w_hypotl.c: Likewise.
77961         * math/w_lgamma.c: Likewise.
77962         * math/w_lgamma_r.c: Likewise.
77963         * math/w_lgammaf.c: Likewise.
77964         * math/w_lgammaf_r.c: Likewise.
77965         * math/w_lgammal.c: Likewise.
77966         * math/w_lgammal_r.c: Likewise.
77967         * math/w_sinh.c: Likewise.
77968         * math/w_sinhf.c: Likewise.
77969         * math/w_sinhl.c: Likewise.
77970         * math/w_tgamma.c: Likewise.
77971         * math/w_tgammaf.c: Likewise.
77972         * math/w_tgammal.c: Likewise.
77973         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77974         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77975         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
77976         Minor optimizations.  Pretty printing.  Remove cruft.
77977         * sysdeps/i386/fpu/e_acosf.S: Likewise.
77978         * sysdeps/i386/fpu/e_acosh.S: Likewise.
77979         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
77980         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
77981         * sysdeps/i386/fpu/e_acosl.c: Likewise.
77982         * sysdeps/i386/fpu/e_asin.S: Likewise.
77983         * sysdeps/i386/fpu/e_asinf.S: Likewise.
77984         * sysdeps/i386/fpu/e_atan2.S: Likewise.
77985         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
77986         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
77987         * sysdeps/i386/fpu/e_atanh.S: Likewise.
77988         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
77989         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
77990         * sysdeps/i386/fpu/e_exp10.S: Likewise.
77991         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
77992         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
77993         * sysdeps/i386/fpu/e_exp2.S: Likewise.
77994         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
77995         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
77996         * sysdeps/i386/fpu/e_fmod.S: Likewise.
77997         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
77998         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
77999         * sysdeps/i386/fpu/e_hypot.S: Likewise.
78000         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
78001         * sysdeps/i386/fpu/e_log.S: Likewise.
78002         * sysdeps/i386/fpu/e_log10.S: Likewise.
78003         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78004         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78005         * sysdeps/i386/fpu/e_log2.S: Likewise.
78006         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78007         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78008         * sysdeps/i386/fpu/e_logf.S: Likewise.
78009         * sysdeps/i386/fpu/e_logl.S: Likewise.
78010         * sysdeps/i386/fpu/e_pow.S: Likewise.
78011         * sysdeps/i386/fpu/e_powf.S: Likewise.
78012         * sysdeps/i386/fpu/e_powl.S: Likewise.
78013         * sysdeps/i386/fpu/e_remainder.S: Likewise.
78014         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
78015         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
78016         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78017         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78018         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78019         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
78020         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
78021         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
78022         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
78023         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
78024         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
78025         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
78026         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
78027         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
78028         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
78029         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
78030         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
78031         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
78032         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
78033         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
78034         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
78035         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
78036         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
78037         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
78038         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
78039         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
78040         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
78041         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
78042         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
78043         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
78044         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78045         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78046         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
78047         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
78048         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
78049         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
78050         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
78051         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
78052         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
78053         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
78054         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78055         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
78056         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
78057         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
78058         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
78059         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
78060         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
78061         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
78062         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
78063         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
78064         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
78065         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
78066         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78067         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
78068         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
78069         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
78070         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
78071         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
78072         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
78073         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
78074         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
78075         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78076         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
78077         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
78078         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
78079         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
78080         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
78081         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
78082         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
78083         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
78084         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78085         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78086         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
78087         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
78088         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
78089         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
78090         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
78091         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
78092         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
78093         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
78094         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
78095         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
78096         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
78097         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
78098         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
78099         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
78100         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78101         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
78102         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
78103         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
78104         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
78105         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78106         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
78107         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
78108         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78109         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
78110         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
78111         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
78112         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78113         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
78114         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
78115         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
78116         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
78117         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
78118         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
78119         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
78120         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
78121         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
78122         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
78123         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
78124         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
78125         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
78126         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78127         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78128         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78129         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78130         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
78131         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78132         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
78133         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
78134         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
78135         (__isnanf): Likewise.
78136         (__isinf_ns): Likewise.
78137         (__isinf_nsf): Likewise.
78138         (__finite): Likewise.
78139         (__finitef): Likewise.
78140         (__ieee754_sqrt): Define as macro.
78141         (__ieee754_sqrtf): Define as macro.
78142         (__ieee754_sqrtl): Define as macro.
78143         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
78144         inlined copy.
78145         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
78146         __FINITE_MATH_ONLY__ consistent.
78147         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
78149 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
78151         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
78152         of rawmemchr.
78154         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
78156 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
78158         * po/ja.po: Update from translation team.
78160 2011-10-08  Roland McGrath  <roland@hack.frob.com>
78162         * locale/programs/locarchive.c (prepare_address_space): New function.
78163         (create_archive, enlarge_archive, open_archive): Use it.
78165         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
78166         inside [SHARED], where it is used.
78168         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
78170         * nss/getent.c (netgroup_keys): Remove unused variable.
78171         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
78173 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
78175         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
78176         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
78177         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
78178         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
78179         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
78180         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
78181         * math/Makefile (libm-calls): Add s_isinf_ns.
78182         * math/divtc3.c: Use __isinf_nsl instead of isinf.
78183         * math/multc3.c: Likewise.
78184         * math/s_casin.c: Likewise.
78185         * math/s_casinf.c: Likewise.
78186         * math/s_casinl.c: Likewise.
78187         * math/s_ccos.c: Likewise.
78188         * math/s_ccosf.c: Likewise.
78189         * math/s_ccosl.c: Likewise.
78190         * math/s_ctan.c: Likewise.
78191         * math/s_ctanf.c: Likewise.
78192         * math/s_ctanh.c: Likewise.
78193         * math/s_ctanhf.c: Likewise.
78194         * math/s_ctanhl.c: Likewise.
78195         * math/s_ctanl.c: Likewise.
78196         * math/w_fmod.c: Likewise.
78197         * math/w_fmodf.c: Likewise.
78198         * math/w_fmodl.c: Likewise.
78199         * math/w_remainder.c: Likewise.
78200         * math/w_remainderf.c: Likewise.
78201         * math/w_remainderl.c: Likewise.
78202         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
78203         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
78204         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
78205         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
78206         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
78207         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
78208         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
78209         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
78211         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
78212         of the number.
78213         * stdio-common/printf_fphex.c: Likewise.
78214         * stdio-common/printf_size.c: Likewise.
78216         * math/e_exp10.c: Include math_private.h using <...> not "...".
78217         * math/e_exp10f.c: Likewise.
78218         * math/e_exp10l.c: Likewise.
78219         * math/e_exp2l.c: Likewise.
78220         * math/e_j0l.c: Likewise.
78221         * math/e_j1l.c: Likewise.
78222         * math/e_jnl.c: Likewise.
78223         * math/e_lgammal_r.c: Likewise.
78224         * math/e_rem_pio2l.c: Likewise.
78225         * math/e_scalb.c: Likewise.
78226         * math/e_scalbf.c: Likewise.
78227         * math/e_scalbl.c: Likewise.
78228         * math/k_cosl.c: Likewise.
78229         * math/k_sinl.c: Likewise.
78230         * math/k_tanl.c: Likewise.
78231         * math/s_cacoshf.c: Likewise.
78232         * math/s_catan.c: Likewise.
78233         * math/s_catanf.c: Likewise.
78234         * math/s_catanh.c: Likewise.
78235         * math/s_catanhf.c: Likewise.
78236         * math/s_catanhl.c: Likewise.
78237         * math/s_catanl.c: Likewise.
78238         * math/s_ccosh.c: Likewise.
78239         * math/s_ccoshf.c: Likewise.
78240         * math/s_ccoshl.c: Likewise.
78241         * math/s_cexp.c: Likewise.
78242         * math/s_cexpf.c: Likewise.
78243         * math/s_cexpl.c: Likewise.
78244         * math/s_clog.c: Likewise.
78245         * math/s_clog10.c: Likewise.
78246         * math/s_clog10f.c: Likewise.
78247         * math/s_clog10l.c: Likewise.
78248         * math/s_clogf.c: Likewise.
78249         * math/s_clogl.c: Likewise.
78250         * math/s_csin.c: Likewise.
78251         * math/s_csinf.c: Likewise.
78252         * math/s_csinh.c: Likewise.
78253         * math/s_csinhf.c: Likewise.
78254         * math/s_csinhl.c: Likewise.
78255         * math/s_csinl.c: Likewise.
78256         * math/s_csqrt.c: Likewise.
78257         * math/s_csqrtf.c: Likewise.
78258         * math/s_csqrtl.c: Likewise.
78259         * math/s_ctan.c: Likewise.
78260         * math/s_ctanf.c: Likewise.
78261         * math/s_ctanh.c: Likewise.
78262         * math/s_ctanhf.c: Likewise.
78263         * math/s_ctanhl.c: Likewise.
78264         * math/s_ctanl.c: Likewise.
78265         * math/s_ldexp.c: Likewise.
78266         * math/s_ldexpf.c: Likewise.
78267         * math/s_ldexpl.c: Likewise.
78268         * math/s_significand.c: Likewise.
78269         * math/s_significandf.c: Likewise.
78270         * math/s_significandl.c: Likewise.
78271         * math/w_acos.c: Likewise.
78272         * math/w_acosf.c: Likewise.
78273         * math/w_acosh.c: Likewise.
78274         * math/w_acoshf.c: Likewise.
78275         * math/w_acoshl.c: Likewise.
78276         * math/w_acosl.c: Likewise.
78277         * math/w_asin.c: Likewise.
78278         * math/w_asinf.c: Likewise.
78279         * math/w_asinl.c: Likewise.
78280         * math/w_atan2.c: Likewise.
78281         * math/w_atan2f.c: Likewise.
78282         * math/w_atan2l.c: Likewise.
78283         * math/w_atanh.c: Likewise.
78284         * math/w_atanhf.c: Likewise.
78285         * math/w_atanhl.c: Likewise.
78286         * math/w_cosh.c: Likewise.
78287         * math/w_coshf.c: Likewise.
78288         * math/w_coshl.c: Likewise.
78289         * math/w_dremf.c: Likewise.
78290         * math/w_exp10.c: Likewise.
78291         * math/w_exp10f.c: Likewise.
78292         * math/w_exp10l.c: Likewise.
78293         * math/w_exp2.c: Likewise.
78294         * math/w_exp2f.c: Likewise.
78295         * math/w_fmod.c: Likewise.
78296         * math/w_fmodf.c: Likewise.
78297         * math/w_fmodl.c: Likewise.
78298         * math/w_hypot.c: Likewise.
78299         * math/w_hypotf.c: Likewise.
78300         * math/w_hypotl.c: Likewise.
78301         * math/w_j0.c: Likewise.
78302         * math/w_j0f.c: Likewise.
78303         * math/w_j0l.c: Likewise.
78304         * math/w_j1.c: Likewise.
78305         * math/w_j1f.c: Likewise.
78306         * math/w_j1l.c: Likewise.
78307         * math/w_jn.c: Likewise.
78308         * math/w_jnf.c: Likewise.
78309         * math/w_jnl.c: Likewise.
78310         * math/w_lgamma.c: Likewise.
78311         * math/w_lgamma_r.c: Likewise.
78312         * math/w_lgammaf.c: Likewise.
78313         * math/w_lgammaf_r.c: Likewise.
78314         * math/w_lgammal.c: Likewise.
78315         * math/w_lgammal_r.c: Likewise.
78316         * math/w_log.c: Likewise.
78317         * math/w_log10.c: Likewise.
78318         * math/w_log10f.c: Likewise.
78319         * math/w_log10l.c: Likewise.
78320         * math/w_log2.c: Likewise.
78321         * math/w_log2f.c: Likewise.
78322         * math/w_log2l.c: Likewise.
78323         * math/w_logf.c: Likewise.
78324         * math/w_logl.c: Likewise.
78325         * math/w_pow.c: Likewise.
78326         * math/w_powf.c: Likewise.
78327         * math/w_powl.c: Likewise.
78328         * math/w_remainder.c: Likewise.
78329         * math/w_remainderf.c: Likewise.
78330         * math/w_remainderl.c: Likewise.
78331         * math/w_scalb.c: Likewise.
78332         * math/w_scalbf.c: Likewise.
78333         * math/w_scalbl.c: Likewise.
78334         * math/w_sinh.c: Likewise.
78335         * math/w_sinhf.c: Likewise.
78336         * math/w_sinhl.c: Likewise.
78337         * math/w_sqrt.c: Likewise.
78338         * math/w_sqrtf.c: Likewise.
78339         * math/w_sqrtl.c: Likewise.
78340         * math/w_tgamma.c: Likewise.
78341         * math/w_tgammaf.c: Likewise.
78342         * math/w_tgammal.c: Likewise.
78344         * po/ja.po: Update from translation team.
78346 2011-09-29  Andreas Jaeger  <aj@suse.de>
78348         [BZ #13179]
78349         * sunrpc/netname.c (netname2host): Fix logic.
78351         [BZ #6779]
78352         [BZ #6783]
78353         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
78354         correctly.
78355         * math/w_remainder.c (__remainder): Likewise.
78356         * math/w_remainderf.c (__remainderf): Likewise.
78357         * math/libm-test.inc (remainder_test): Add test cases.
78359 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78361         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
78362         sdiv_qrnnd.
78364 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78366         * string/test-memcmp.c: Avoid unncessary #defines.
78367         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
78369 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78371         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
78372         Use new sse2 version for core i3 - i7 as it's faster
78373         than sse42 version.
78374         (bit_Prefer_PMINUB_for_stringop): New.
78375         * sysdeps/x86_64/rawmemchr.S: Update.
78376         Replace with faster SSE2 version.
78377         * sysdeps/x86_64/memrchr.S: New file.
78378         * sysdeps/x86_64/memchr.S: Update.
78379         Replace with faster SSE2 version.
78381 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
78383         * elf/dl-load.c (lose): Add cast to avoid warning.
78385 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
78387         * po/ca.po: Update from translation team.
78389         * inet/getnetgrent_r.c: Hook up nscd.
78390         * nscd/Makefile (routines): Add nscd_netgroup.
78391         (nscd-modules): Add netgroupcache.
78392         (CFLAGS-netgroupcache.c): Define.
78393         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
78394         (cache_search): Add const to second parameter.
78395         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
78396         INNETGR.
78397         (dbs): Add netgrdb entry.
78398         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
78399         (verify_persistent_db): Handle netgrdb.
78400         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
78401         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
78402         GETFDNETGR.
78403         (netgroup_response_header): Define.
78404         (innetgroup_response_header): Define.
78405         (datahead): Add netgroup_response_header and innetgroup_response_header
78406         elements.
78407         * nscd/nscd.conf: Add entries for netgroup cache.
78408         * nscd/nscd.h (dbtype): Add netgrdb.
78409         (_PATH_NSCD_NETGROUP_DB): Define.
78410         (netgroup_iov_disabled): Declare.
78411         (xmalloc, xcalloc, xrealloc): Move declarations here.
78412         (cache_search): Adjust prototype.
78413         Add netgroup-related prototypes.
78414         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
78415         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
78416         (__nscd_innetgr): Declare.
78417         * nscd/selinux.c (perms): Use access_vector_t as element type and
78418         add netgroup-related initializers.
78419         * nscd/netgroupcache.c: New file.
78420         * nscd/nscd_netgroup.c: New file.
78421         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
78422         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
78423         For four parameters use innetgr.
78424         * nss/nss_files/files-init.c: Add definition and callback for netgr.
78425         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
78426         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
78427         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
78429         * nscd/connections.c (register_traced_file): Don't register file
78430         for disabled databases.
78432 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
78434         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
78436         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
78437         from tree and freeing node.
78439 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
78441         * nss/nsswitch.c (__nss_database_lookup): Handle
78442         nss_parse_service_list out of memory case.
78444 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
78446         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
78447         out of memory case.
78449 2011-10-04  Andreas Schwab  <schwab@redhat.com>
78451         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
78452         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
78453         pass it down.
78454         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
78455         elf_machine_rela, elf_machine_lazy_rel.
78456         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
78457         (ELF_DYNAMIC_DO_REL): Likewise.
78458         (ELF_DYNAMIC_DO_RELA): Likewise.
78459         (ELF_DYNAMIC_RELOCATE): Likewise.
78460         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
78461         to ELF_DYNAMIC_DO_REL.
78462         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
78463         (dl_main): In trace mode always set __RTLD_NOIFUNC.
78464         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
78465         elf_machine_rela.
78466         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
78467         skip_ifunc, don't call ifunc function if non-zero.
78468         (elf_machine_rela): Likewise.
78469         (elf_machine_lazy_rel): Likewise.
78470         (elf_machine_lazy_rela): Likewise.
78471         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
78472         (elf_machine_lazy_rel): Likewise.
78473         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
78474         Likewise.
78475         (elf_machine_lazy_rel): Likewise.
78476         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78477         Likewise.
78478         (elf_machine_lazy_rel): Likewise.
78479         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
78480         (elf_machine_lazy_rel): Likewise.
78481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
78482         (elf_machine_lazy_rel): Likewise.
78483         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
78484         (elf_machine_lazy_rel): Likewise.
78485         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
78486         (elf_machine_lazy_rel): Likewise.
78487         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
78488         (elf_machine_lazy_rel): Likewise.
78489         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
78490         (elf_machine_lazy_rel): Likewise.
78492 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
78494         * nss/nss_files/files-init.c (_nss_files_init): Use static
78495         initialization for all the *_traced_file variables.
78497 2011-09-28  Andreas Schwab  <schwab@redhat.com>
78499         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78501 2011-09-27  Roland McGrath  <roland@hack.frob.com>
78503         [BZ #13226]
78504         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
78506 2011-09-27  Andreas Schwab  <schwab@redhat.com>
78508         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
78509         Reread the line before reparsing it.
78511 2011-09-26  Andreas Schwab  <schwab@redhat.com>
78513         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
78515 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
78516             Maxim Kuvyrkov  <maxim@codesourcery.com>
78517             Joseph Myers  <joseph@codesourcery.com>
78519         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
78520         if needed for __stack_chk_guard.
78522 2011-09-19  Roland McGrath  <roland@hack.frob.com>
78524         * sysdeps/posix/spawni.c (script_execute): Always define it.
78525         It will be optimized away if unused.
78526         (maybe_script_execute): New function.
78527         (__spawni): Call it.
78529         * Makerules: Don't include tls.make.
78530         (config-tls): Always set to thread.
78531         * tls.make.c: File removed.
78533 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
78535         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
78536         * config.make.in (CPPFLAGS-config): New substituted variable.
78538 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78540         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
78542         [BZ #13192]
78543         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
78544         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
78546 2011-09-15  Roland McGrath  <roland@hack.frob.com>
78548         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
78549         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
78550         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78551         (CALL_FAIL): Likewise.
78552         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
78553         (CALL_FAIL): Macro removed.
78554         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
78556 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
78558         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
78559         for __FINITE_MATH_ONLY__ == 1.
78561 2011-09-15  Andreas Schwab  <schwab@redhat.com>
78563         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
78564         __ieee754_sqrt instead of sqrt.
78565         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
78566         __ieee754_sqrtf instead of sqrtf.
78567         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
78568         __floorf instead of floorf.
78569         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
78570         __floorf, __truncf instead of floorf, truncf.
78572 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
78574         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
78576         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
78577         __extern_always_inline.
78578         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
78579         32-bit.
78581 2011-09-14  Andreas Schwab  <schwab@redhat.com>
78583         * elf/rtld.c (dl_main): Also relocate in dependency order when
78584         doing symbol dependency testing.
78586 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
78588         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78589         Always define `refsym'.
78591 2011-09-13  Andreas Schwab  <schwab@redhat.com>
78593         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
78594         (__FD_ELT): Renamed from __FDELT.
78595         * misc/bits/select2.h (__FD_ELT): Likewise.
78596         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
78597         __FD_MASK instead of __FDELT, __FDMASK.
78598         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78599         Likewise.
78600         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
78601         Likewise.
78603         * elf/Makefile (gen-ldd): Fix pattern.
78605         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
78606         (init_tls): Likewise.
78608 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
78610         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
78612 2011-09-12  Andreas Schwab  <schwab@redhat.com>
78614         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
78615         `struct cmsghdr *' instead of `void *'.
78616         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
78617         Likewise.
78619 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
78621         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
78622         if non-absolute.
78623         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
78624         ldd_rewrite_script.
78626 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
78628         * configure.in: Remove --with-tls option.
78629         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
78630         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
78631         out in case it is missing.
78632         * sysdeps/ia64/elf/configure.in: Likewise.
78633         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
78634         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
78635         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
78636         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
78637         * sysdeps/sh/elf/configure.in: Likewise.
78638         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
78639         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78640         * sysdeps/x86_64/elf/configure.in: Likewise.
78641         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
78642         * sysdeps/mach/hurd/tls.h: Likewise.
78644         [BZ #13067]
78645         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
78647         [BZ #13090]
78648         * configure.in: Fix use of AC_INIT.
78650         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
78652 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
78654         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
78655         __set_errno.
78656         * malloc/hooks.c: Likewise.
78658         [BZ #11929]
78659         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
78660         variables statically.
78661         (narenas): Initialize.
78662         (list_lock): Initialize.
78663         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
78664         initializtion of main_arena and list_lock.  Small cleanups.
78665         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
78666         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
78667         Add initializers to main_arena and mp_.
78668         (malloc_state): Remove pagesize member.  Change all users to use
78669         GLRO(dl_pagesize).
78671         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
78672         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
78673         is always initialized.
78675         * malloc/malloc.c: Removed unused configurations and dead code.
78676         * malloc/arena.c: Likewise.
78677         * malloc/hooks.c: Likewise.
78678         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
78680         * include/tls.h: Removed.  USE___THREAD must always be defined.
78681         * bits/libc-tsd.h: Don't handle !USE___THREAD.
78682         * elf/dl-libc.c: Likewise.
78683         * elf/dl-tsd.c: Likewise.
78684         * include/errno.h: Likewise.
78685         * include/netdb.h: Likewise.
78686         * include/resolv.h: Likewise.
78687         * inet/herrno-loc.c: Likewise.
78688         * inet/herrno.c: Likewise.
78689         * malloc/arena.c: Likewise.
78690         * malloc/hooks.c: Likewise.
78691         * malloc/malloc.c: Likewise.
78692         * resolv/res-state.c: Likewise.
78693         * resolv/res_libc.c: Likewise.
78694         * sysdeps/i386/dl-machine.h: Likewise.
78695         * sysdeps/ia64/dl-machine.h: Likewise.
78696         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
78697         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
78698         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
78699         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
78700         * sysdeps/sh/dl-machine.h: Likewise.
78701         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
78702         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
78703         * sysdeps/unix/i386/sysdep.S: Likewise.
78704         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
78705         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
78706         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
78707         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
78708         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
78709         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
78710         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
78711         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
78712         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
78714         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78715         * sysdeps/x86_64/dl-machine.h: Likewise.
78716         * tls.make.c: Likewise.
78718         * configure.in: Remove --with-__thread option.  Make tests for
78719         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
78720         tls_model attribute fail if no support is available.  Remove
78721         USE_IN_LIBIO.
78722         * Makeconfig: Adjust for dropped configure option.  All features are
78723         now mandatory.
78724         * Makerules: Likewise.
78725         * Versions.def: Likewise.
78726         * argp/argp-fmtstream.c: Likewise.
78727         * argp/argp-fmtstream.h: Likewise.
78728         * argp/argp-help.c: Likewise.
78729         * assert/assert.c: Likewise.
78730         * config.h.in: Likewise.
78731         * config.make.in: Likewise.
78732         * configure: Likewise.
78733         * configure.in: Likewise.
78734         * csu/Versions: Likewise.
78735         * csu/init.c: Likewise.
78736         * elf/tst-audit2.c: Likewise.
78737         * elf/tst-tls10.c: Likewise.
78738         * elf/tst-tls10.h: Likewise.
78739         * elf/tst-tls11.c: Likewise.
78740         * elf/tst-tls12.c: Likewise.
78741         * elf/tst-tls14.c: Likewise.
78742         * elf/tst-tlsmod11.c: Likewise.
78743         * elf/tst-tlsmod12.c: Likewise.
78744         * elf/tst-tlsmod13.c: Likewise.
78745         * elf/tst-tlsmod13a.c: Likewise.
78746         * elf/tst-tlsmod14a.c: Likewise.
78747         * elf/tst-tlsmod15b.c: Likewise.
78748         * elf/tst-tlsmod16a.c: Likewise.
78749         * elf/tst-tlsmod16b.c: Likewise.
78750         * elf/tst-tlsmod7.c: Likewise.
78751         * elf/tst-tlsmod8.c: Likewise.
78752         * elf/tst-tlsmod9.c: Likewise.
78753         * gmon/gmon.c: Likewise.
78754         * grp/fgetgrent_r.c: Likewise.
78755         * grp/putgrent.c: Likewise.
78756         * hurd/fopenport.c: Likewise.
78757         * include/libc-symbols.h: Likewise.
78758         * include/tls.h: Likewise.
78759         * intl/gettextP.h: Likewise.
78760         * intl/loadinfo.h: Likewise.
78761         * locale/global-locale.c: Likewise.
78762         * locale/localeinfo.h: Likewise.
78763         * mach/devstream.c: Likewise.
78764         * malloc/arena.c: Likewise.
78765         * malloc/set-freeres.c: Likewise.
78766         * misc/err.c: Likewise.
78767         * misc/getttyent.c: Likewise.
78768         * misc/mntent_r.c: Likewise.
78769         * posix/getopt.c: Likewise.
78770         * posix/wordexp.c: Likewise.
78771         * pwd/fgetpwent_r.c: Likewise.
78772         * resolv/Versions: Likewise.
78773         * resolv/res_hconf.c: Likewise.
78774         * shadow/fgetspent_r.c: Likewise.
78775         * shadow/putspent.c: Likewise.
78776         * stdio-common/printf_fphex.c: Likewise.
78777         * stdio-common/tmpfile.c: Likewise.
78778         * stdlib/abort.c: Likewise.
78779         * stdlib/fmtmsg.c: Likewise.
78780         * sunrpc/auth_unix.c: Likewise.
78781         * sunrpc/clnt_perr.c: Likewise.
78782         * sunrpc/clnt_tcp.c: Likewise.
78783         * sunrpc/clnt_udp.c: Likewise.
78784         * sunrpc/clnt_unix.c: Likewise.
78785         * sunrpc/openchild.c: Likewise.
78786         * sunrpc/svc_simple.c: Likewise.
78787         * sunrpc/svc_tcp.c: Likewise.
78788         * sunrpc/svc_udp.c: Likewise.
78789         * sunrpc/svc_unix.c: Likewise.
78790         * sunrpc/xdr.c: Likewise.
78791         * sunrpc/xdr_array.c: Likewise.
78792         * sunrpc/xdr_rec.c: Likewise.
78793         * sunrpc/xdr_ref.c: Likewise.
78794         * sunrpc/xdr_stdio.c: Likewise.
78796 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78798         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78800 2011-07-03  Andreas Jaeger  <aj@suse.de>
78802         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
78803         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
78804         regenerate with gen-libm-tests.pl.
78806 2010-05-12  Petr Baudis  <pasky@suse.cz>
78808         [BZ #11589]
78809         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
78810         around j0() zero points by switching to j1().
78811         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
78812         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
78813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78814         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
78816 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78818         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
78819         instead of 0.
78820         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
78821         instead of 0.
78822         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78823         Patch in part by Pavel Roskin <proski@gnu.org>.
78825         [BZ #13138]
78826         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
78827         realloc.
78828         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
78829         Free memory block if necessary.
78831         [BZ #12847]
78832         * libio/genops.c (INTDEF): For string streams the _lock pointer can
78833         be NULL.  Don't lock in this case.
78835 2011-09-09  Roland McGrath  <roland@hack.frob.com>
78837         * elf/elf.h (ELFOSABI_GNU): New macro.
78838         (ELFOSABI_LINUX): Define to that.
78840 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
78842         * string/strncat.c (strncat): Undef the symbol in case it has been
78843         defined in bits/string.h.
78845 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
78847         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
78849         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
78850         link map.
78852 2011-08-17  Andreas Jaeger  <aj@suse.de>
78854         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
78856 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
78857             Ian Lance Taylor  <iant@google.com>
78859         * math/libm-test.inc (lround_test): New testcase.
78860         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
78862 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
78864         * Makefile: Remove support for automatic cvs check-ins.
78865         * Makerules: Likewise.
78866         * config.make.in: Likewise.
78867         * configure.in: Likewise.
78868         * intl/Makefile: Likewise.
78869         * locale/Makefile: Likewise.
78870         * po/Makefile: Likewise.
78871         * posix/Makefile: Likewise.
78872         * sysdeps/gnu/Makefile: Likewise.
78873         * sysdeps/mach/hurd/Makefile: Likewise.
78874         * sysdeps/sparc/sparc32/Makefile: Likewise.
78876         [BZ #13118]
78877         * posix/Makefile (bug-regex32-ENV): Define.
78878         Patch by John Stanley <jpsinthemix@verizon.net>.
78880         * misc/Makefile (headers): Add bits/select2.h.
78881         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
78882         * misc/bits/select2.h: New file.
78883         * include/bits/select2.h: New file.
78884         * debug/Makefile (routines): Add fdelt_chk.
78885         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
78886         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
78887         FD_ISSET.
78888         * debug/fdelt_chk.c: New file.
78890         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
78891         * wcsmbs/test-wmemcmp.c: Likewise.
78892         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
78893         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
78895 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78897         * string/Makefile (strop-tests): Add memcmp.
78898         * string/test-wmemcmp.c: New file.
78899         * string/test-memcmp.c: Add wmemcmp support.
78901 2011-09-08  Roland McGrath  <roland@hack.frob.com>
78903         [BZ #13153]
78904         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
78905         2011-07-19 change.
78907         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
78908         garbage value in a __mach_port_mod_refs call in the cases of the
78909         task-self and thread-self ports.
78911 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78913         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
78915 2011-09-08  Andreas Schwab  <schwab@redhat.com>
78917         * elf/dl-load.c (lose): Check for non-null L.
78919 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78921         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
78923         * elf/dl-libc.c (dlerror_run): Pass back error code from
78924         dl_catch_error.
78926         [BZ #13123]
78927         * elf/dl-load.c (lose): Free l_origin if it is valid.
78929         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
78930         names.
78931         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
78932         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
78933         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78934         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
78935         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
78936         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
78938 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78940         * sysdeps/powerpc/fpu/e_hypot.c: New file.
78941         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
78942         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
78943         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
78944         * sysdeps/powerpc/fpu/k_cosf.c: New file.
78945         * sysdeps/powerpc/fpu/k_sinf.c: New file.
78946         * sysdeps/powerpc/fpu/s_cosf.c: New file.
78947         * sysdeps/powerpc/fpu/s_sinf.c: New file.
78948         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
78949         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
78951 2011-08-15  Alan Modra  <amodra@gmail.com>
78953         [BZ #13092]
78954         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
78955         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
78956         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
78957         ppc_mcount to static-only-routines.
78958         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
78959         __mcount_internal.
78960         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
78961         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
78963 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
78965         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
78966         for finite and infinity parameters.
78968 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
78971         and add nop instructions for throughput optimization.
78972         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
78974 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
78976         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
78977         aligned copy for power7 with vector-scalar instructions.
78978         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
78980 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
78982         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
78983         AVX check.
78985 2011-09-07  Andreas Schwab  <schwab@redhat.com>
78987         [BZ #13144]
78988         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
78989         last change.
78991 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
78993         * sysdeps/unix/sysv/linux/x86_64/init-first.c
78994         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
78995         syscall wrapper around clock_gettime in __vdso_clock_gettime.
78996         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
78997         clock_gettime.
78999 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79001         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
79002         Forgot to demangle the pointer.
79004         * sysdeps/i386/sysdep.h: Define atom_text_section.
79005         * sysdeps/x86_64/sysdep.h: Likewise.
79006         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
79007         section with atom_text_section.
79008         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
79009         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
79010         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
79011         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79012         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
79014         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
79015         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
79016         already be defined.  Change to take two parameters and don't assign
79017         result to variable.  Adjust all users.
79018         Define INTERNAL_GETTIME if not already defined.
79019         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
79020         call.
79021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
79022         HAVE_CLOCK_GETTIME_VSYSCALL.
79023         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
79025         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
79026         gettimeofday vsyscall, just use time.
79028 2011-09-06  Andreas Schwab  <schwab@redhat.com>
79030         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
79031         <errno.h>.
79033 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
79035         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
79036         syscall on x86-64.
79037         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
79038         syscall.
79039         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
79040         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
79041         syscall if possible.
79043 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79045         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
79046         e_ident.  Don't pass to find_mapsXX.
79047         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
79049 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79051         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79052         strchr-sse2-no-bsf strrchr-sse2-no-bsf
79053         * sysdeps/x86_64/multiarch/strchr.S: Update.
79054         Check bit_slow_BSF bit.
79055         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
79056         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
79057         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
79059 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79061         [BZ #13134]
79062         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
79063         before glibc 2.15.
79064         (tryshell): Define.
79065         (__spawni): Change last parameter to be flag.  Test
79066         SPAWN_XFLAGS_USE_PATH flag to use path or not.
79067         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
79068         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
79069         * posix/spawni.c: Likewise.
79070         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
79071         * posix/spawnp.c: Likewise.  Change normal version to use
79072         SPAWN_XFLAGS_USE_PATH.
79073         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
79074         SPAWN_XFLAGS_TRY_SHELL.
79076         [BZ #13150]
79077         * posix/glob.h: Remove gcc 1.x support.
79079         [BZ #13068]
79080         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
79082 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79084         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79085         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
79086         strrchr-sse2-bsf
79087         * sysdeps/i386/i686/multiarch/strchr.S: New file.
79088         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
79089         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
79090         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
79091         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
79092         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
79094 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79096         * sysdeps/x86_64/wcscmp.S: New file.
79098         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
79099         wcscmp-c wcscmp-sse2
79100         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
79101         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
79102         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
79103         * wcsmbs/wcscmp.c: Allow renaming.
79105 2011-09-05  David S. Miller  <davem@davemloft.net>
79107         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
79108         stack slot, rather than the struct return pointer slot.
79109         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
79110         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
79111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
79112         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
79114 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
79116         * po/ja.po: Update from translation team.
79118         [BZ #13144]
79119         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
79120         kernel in 64-bit binaries.
79122 2011-09-01  David S. Miller  <davem@davemloft.net>
79124         * elf/elf.h (HWCAP_SPARC_*): Move to..
79125         * sysdeps/sparc/sysdep.h: this new file and add new values.
79126         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
79127         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
79128         _DL_HWCAP_COUNT to 24.
79129         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
79130         entries.
79131         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
79132         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
79133         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
79134         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
79135         instead of magic constants.
79136         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
79138 2011-08-31  David S. Miller  <davem@davemloft.net>
79140         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
79141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
79142         Reimplement to do errno handling inline.
79143         (SYSCALL_ERROR_HANDLER): New macro.
79144         (__SYSCALL_STRING): Do not do errno handling in asm.
79145         (__CLONE_SYSCALL_STRING): Delete.
79146         (__INTERNAL_SYSCALL_STRING): Delete.
79147         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
79148         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
79149         (PSEUDO): Reimplement to do errno handling inline.
79150         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
79151         (SYSCALL_ERROR_HANDLER): New macro.
79152         (__SYSCALL_STRING): Do not do errno handling in asm.
79153         (__CLONE_SYSCALL_STRING): Delete.
79154         (__INTERNAL_SYSCALL_STRING): Delete.
79155         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
79156         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
79157         i386.
79158         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
79159         (inline_syscall*): Add 'err' argument.
79160         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
79161         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
79162         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
79163         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
79165         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
79166         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
79168 2011-08-30  Andreas Schwab  <schwab@redhat.com>
79170         * elf/rtld.c (dl_main): Relocate objects in dependency order.
79172 2011-08-29  Jiri Olsa <jolsa@redhat.com>
79174         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
79175         directive.
79177 2011-08-24  David S. Miller  <davem@davemloft.net>
79179         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
79181 2011-08-24  Andreas Schwab  <schwab@redhat.com>
79183         * elf/Makefile: Add rules to build and run unload8 test.
79184         * elf/unload8.c: New file.
79185         * elf/unload8mod1.c: New file.
79186         * elf/unload8mod1x.c: New file.
79187         * elf/unload8mod2.c: New file.
79188         * elf/unload8mod3.c: New file.
79190         * elf/dl-close.c (_dl_close_worker): Reset private search list if
79191         it wasn't used.
79193 2011-08-23  David S. Miller  <davem@davemloft.net>
79195         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
79196         subtract stack bias.
79197         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
79198         %sp not %fp in calculations.
79199         (_JMPBUF_UNWINDS_ADJ): Likewise.
79201         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
79202         (aio_suspend): Call it to force an exception region around the
79203         AIO_MISC_WAIT() invocation.
79205 2011-08-23  Andreas Schwab  <schwab@redhat.com>
79207         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
79208         backslash.
79210 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
79212         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
79213         protection macro.
79214         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
79215         and <dl-machine.h>.
79216         (Elf64_FuncDesc): Remove.
79218 2011-08-22  David S. Miller  <davem@davemloft.net>
79220         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
79221         sigaltstack check, add missing cfi directives.
79222         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
79223         missing cfi directives, and sigaltstack handling.
79225 2011-08-16  Andreas Schwab  <schwab@redhat.com>
79227         [BZ #11724]
79228         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
79229         object is seen twice.
79230         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79232         * elf/Makefile (distribute): Add tst-initorder2.c.
79233         (tests): Add tst-initorder2.
79234         (modules-names): Add tst-initorder2a tst-initorder2b
79235         tst-initorder2c tst-initorder2d.  Add rules to build them.
79236         ($(objpfx)tst-initorder2.out): New rule.
79237         * elf/tst-initorder2.c: New file.
79238         * elf/tst-initorder2.exp: New file.
79240 2011-08-22  Andreas Schwab  <schwab@redhat.com>
79242         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
79244         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
79245         dependencies back to end of function.
79247         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79248         $(elfobjdir)/ld.so.
79250 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
79252         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
79253         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
79254         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
79255         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
79256         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
79257         of __vdso_gettimeofday.
79258         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
79259         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
79260         attribute_hidden.
79261         (_libc_vdso_platform_setup): Remove initialization of
79262         __vdso_gettimeofday and __vdso_time.
79264 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79266         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
79267         and fgetc_unlocked.
79268         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
79269         getc_unlocked.
79271         * elf/dl-open.c (add_to_global): Report additions to the global scope
79272         for LD_DEBUG=scopes.
79273         (dl_open_worker): Also print scope of newly loaded dependencies.
79274         (_dl_show_scope): Indicate if there is no scope.
79276         [BZ #13114]
79277         * stdio-common/Makefile (tests): Add bug24.
79278         * stdio-common/bug24.c: New file.
79280 2011-08-19  Andreas Jaeger  <aj@suse.de>
79282         [BZ #13114]
79283         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
79284         non-existant file when using close-on-exec mode.
79286 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
79288         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
79289         the very first instruction.
79291         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
79292         the CFI state in the end.
79293         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
79294         inclusion of dl-trampoline.h.
79295         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
79297 2011-08-19  Andreas Schwab  <schwab@redhat.com>
79299         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
79300         expectations for long double.
79302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
79303         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
79305 2011-08-14  David S. Miller  <davem@davemloft.net>
79307         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
79308         artificual limit depends upon the system page size.
79310 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79312         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
79313         * resolv/Makefile: Define CFLAGS-libresolv.
79315 2011-08-17  Andreas Schwab  <schwab@redhat.com>
79317         * nss/makedb.c (compute_tables): Make variables used in nested
79318         function static.
79320 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
79322         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
79323         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
79324         if buffer was too small.
79326         * elf/pldd.c (main): Attach to all threads in the process.
79327         Rewrite /proc handling to use *at functions.
79329 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
79331         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
79332         specifies first scope to show.
79333         (dl_open_worker): Update callers.  Move printing scope of new
79334         object to before the relocation.
79335         * elf/rtld.c (dl_main): Update _dl_show_scope call.
79336         * sysdeps/generic/ldsodefs.h: Update declaration.
79338         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
79339         string for the scope number.
79341 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
79343         * nscd/servicescache.c (cache_addserv): Make sure written is always
79344         initialized.
79346 2011-08-14  Roland McGrath  <roland@hack.frob.com>
79348         * sysdeps/i386/i486/bits/atomic.h
79349         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
79350         statement expression, so as to suppress "set but not used" warning.
79351         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
79353         * string/strncat.c (STRNCAT): Use prototype definition.
79355         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
79356         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
79357         -Iprograms here.
79358         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
79359         (localedef-modules): Add localedef.
79360         (locale-modules): Add locale.
79362         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
79363         * elf/rtld.c (dl_main): Invert order of assignment in last change,
79364         to avoid a warning.
79366 2011-08-14  David S. Miller  <davem@davemloft.net>
79368         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
79369         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
79371 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
79373         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
79374         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
79375         * elf/rtld.c (dl_main): Set l_name of vDSO.
79376         Call _dl_show_scope when DL_DEBUG_SCOPES.
79377         (process_dl_debug): Recognize scopes flag and also set it for all.
79378         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
79379         Declare _dl_show_scope.
79381         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
79382         (do_dlopen): Pass caller_dlopen to dl_open.
79383         (__libc_dlopen_mode): Initialize caller_dlopen.
79385         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
79386         of libc.  Make tolower call locale-independent.  Optimize a bit by
79387         using isdigit instead of isalnum.
79388         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
79390 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
79392         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
79393         was a dependency or dynamically loaded.
79395 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
79397         * intl/l10nflist.c: Allow architecture-specific pop function.
79398         * sysdeps/x86_64/l10nflist.c: New file.
79400         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
79401         classification.
79403 2011-08-10  Andreas Schwab  <schwab@redhat.com>
79405         * include/dirent.h: Add libc_hidden_proto for scandirat and
79406         scandirat64.  Don't declare __scandirat64.
79407         * dirent/scandirat.c: Add libc_hidden_def.
79408         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
79409         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
79411 2011-08-10  David S. Miller  <davem@davemloft.net>
79413         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
79414         enum.
79415         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79416         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79417         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79419 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
79421         * Versions.def [libc]: Add GLIBC_2.15.
79422         * dirent/Makefile (routines): Add scandirat and scandirat64.
79423         * dirent/Versions [libc]: Export scandirat and scandirat64 for
79424         GLIBC_2.15.
79425         * dirent/dirent.h: Declare scandirat and scandirat64.
79426         * dirent/scandirat.c: New file.
79427         * dirent/scandirat64.c: New file.
79428         * sysdeps/wordsize-64/scandirat.c: New file.
79429         * sysdeps/wordsize-64/scandirat64.c: New file.
79430         * dirent/opendir.c: Define opendirat.
79431         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
79432         using scandirat.
79433         * dirent/scandir64.c: Adjust for scandir.c change.
79434         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
79435         __scandirat64, and __scandir_cancel_handler.
79436         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
79437         additional parameter and use openat instead of open (outside of ld.so).
79438         Add new __opendir as wrapper around __opendirat.
79439         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
79440         here without requiring old scandirat implementation.
79442 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
79444         * dirent/scandir.c (cancel_handler): Renamed to
79445         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
79446         defined.  Adjust users.
79447         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
79448         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
79450 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
79452         * string/test-string.h (IMPL): Use __STRING to expand name and then
79453         stringify it.
79455         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
79456         of cleanups.
79458 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79460         * string/Makefile: Update.
79461         (strop-tests): Append strncat.
79462         * string/test-wcscmp.c: New file.
79463         New comprehensive test for wcscmp.
79464         * string/test-strcmp.c: Update.
79465         (WIDE): New define.
79467 2011-07-22  Andreas Schwab  <schwab@redhat.com>
79469         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
79470         line.
79472 2011-07-26  Andreas Schwab  <schwab@redhat.com>
79474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
79475         encoding to ACE if AI_IDN.
79477 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
79479         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
79480         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
79482 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79484         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
79485         Fix overflow bug in strncat.
79486         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
79488         * string/test-strncat.c: Update.
79489         Add new tests for checking overflow bugs.
79491 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79493         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79494         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
79495         * sysdeps/i386/i686/multiarch/strcat.S: New file.
79496         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
79497         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
79498         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
79499         * sysdeps/i386/i686/multiarch/strncat.S: New file.
79500         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
79501         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
79503         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
79504         (USE_AS_STRCAT): Define.
79505         Add strcat and strncat support.
79506         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
79508 2011-07-25  Andreas Schwab  <schwab@redhat.com>
79510         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
79511         __n bigger than INT_MAX+1.
79512         (__strncmp_g): Likewise.
79514 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
79516         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
79517         * libio/stido.h: Likewise.
79519         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
79520         (AF_NFC): Define.
79521         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
79522         (AF_NFC): Define.
79524         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
79525         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
79526         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
79527         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
79528         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
79530         [BZ #13021]
79531         * scripts/test-installation.pl: Don't expect libnss_test1 to be
79532         installed.
79534         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
79535         typo.
79536         (_dl_x86_64_save_sse): Likewise.
79538 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
79540         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
79541         OSXSAVE.
79542         (_dl_x86_64_save_sse): Likewise.
79544         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
79546         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
79548 2011-07-21  Andreas Schwab  <schwab@redhat.com>
79550         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
79551         change.
79552         (_dl_x86_64_save_sse): Use correct AVX check.
79554 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79556         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
79557         bug in strncpy/strncat.
79558         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
79560 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
79562         * string/tester.c (test_strcat): Add tests for different alignments
79563         of source and destination.
79564         (test_strncat): Likewise.
79566 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79568         [BZ #12852]
79569         * posix/glob.c (glob): Check passed in values before using them in
79570         expressions to avoid some overflows.
79571         (glob_in_dir): Likewise.
79573         [BZ #13007]
79574         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
79575         check for AVX enablement so that we don't crash with old kernels and
79576         new hardware.
79577         * elf/tst-audit4.c: Add same checks here.
79578         * elf/tst-audit6.c: Likewise.
79580         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
79582 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
79584         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
79586 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
79588         * po/cs.po: Update from translation team.
79589         * po/bg.po: Likewise.
79591 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
79593         * misc/sys/cdefs.h: Add support for const attribute.
79594         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
79595         to gnu_dev_{major,minor,makedev} functions.
79597 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
79599         * intl/dcigettext.c (get_output_charset): Add missing bracket.
79601 2011-07-20  Andreas Schwab  <schwab@redhat.com>
79603         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
79604         strlen results.
79606 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79608         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
79609         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
79610         register in order to avoid conflicts with the soft frame pointer
79611         being held in r11 when necessary.
79612         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
79613         (INTERNAL_VSYSCALL_NCS): Likewise.
79615 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
79617         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
79618         * elf/dl-fini.c (_dl_fini): Adjust caller.
79619         * elf/dl-close.c (_dl_close_worker): Likewise.
79620         * sysdeps/generic/ldsodefs.h: Adjust declaration.
79622 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79624         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
79625         "aux_cache->nlibs < 0".
79627         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
79628         in the reload-count case.
79630 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
79632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79633         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
79634         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
79635         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
79636         * sysdeps/x86_64/multiarch/strcat.S: New file.
79637         * sysdeps/x86_64/multiarch/strncat.S: New file.
79638         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
79639         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
79640         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
79641         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
79642         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
79643         (USE_AS_STRCAT): Define.
79644         Add strcat and strncat support.
79645         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
79646         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
79647         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
79648         * string/strncat.c: Update.
79649         (USE_AS_STRNCAT): Define.
79650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79651         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
79652         and i7.
79653         * sysdeps/x86_64/multiarch/init-arch.h
79654         (bit_Prefer_PMINUB_for_stringop): New.
79655         (index_Prefer_PMINUB_for_stringop): Likewise.
79656         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
79657         bit_Prefer_PMINUB_for_stringop.
79659 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79661         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
79662         buffer64.
79663         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
79664         of casting of buffer.
79665         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
79666         buffer32 and buffer64.
79667         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
79668         writes instead of casting of buffer.
79669         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
79670         buffer32.
79671         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
79672         casting of buffer.
79674 2011-07-19  Andreas Schwab  <schwab@redhat.com>
79676         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
79678 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
79680         * nscd/nscd.c (termination_handler): Don't do anything for a database
79681         if it has not yet been initialized.
79683 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79685         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79687 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
79689         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
79691 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
79693         * po/nl.po: Update from translation team.
79694         * po/sv.po: Likewise.
79696 2011-07-16  Roland McGrath  <roland@hack.frob.com>
79698         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
79699         now disallowed by GCC.
79701         * configure.in (use-default-link): Default to yes if a test -shared
79702         link meets our qualifications.
79703         * configure: Regenerated.
79705         * config.make.in (output-format): New variable.
79706         * configure.in: Check for ld --print-output-format support.
79707         * configure: Regenerated.
79708         * Makerules ($(common-objpfx)format.lds)
79709         [$(output-format) != unknown]: Just use $(output-format),
79710         instead of the linker-script munging.
79712 2011-07-14  Roland McGrath  <roland@hack.frob.com>
79714         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
79715         of $(common-objpfx)shlib.lds.
79716         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
79718         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
79719         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
79721         * configure.in (-z relro check): Adjust test code to add a large
79722         writable data section after it.
79723         * configure: Regenerated.
79725 2011-07-11  Roland McGrath  <roland@hack.frob.com>
79727         * configure.in (-z relro check): Fix test code to make the variable
79728         truly const.
79729         * configure: Regenerated.
79731 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
79733         * nscd/nscd.h (struct traced_file): Define.
79734         (struct database_dyn): Remove inotify_descr, reset_res, and filename
79735         elements.  Add traced_files.
79736         (inotify_fd): Declare.
79737         (register_traced_file): Declare.
79738         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
79739         (inotify_fd): Export.
79740         (resolv_conf_descr): Remove.
79741         (nscd_init): Move inotify descriptor creation to main.
79742         Don't register files for notification here.
79743         (register_traced_file): New function.
79744         (invalidate_cache): Don't use reset_res to determine whether to call
79745         res_init, go through the list of registered files.
79746         (main_loop_poll): The inotify descriptors are now stored in the
79747         structures for the traced files.
79748         (main_loop_epoll): Likewise.
79749         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
79750         to __nss_disable_nscd.
79751         * nscd/cache.c (prune_cache): There is no single inotify descriptor
79752         for a database anymore.  Check the records for all the registered
79753         files instead.
79754         * nss/Makefile (libnss_files-routines): Add files-init.
79755         (libnss_db-routines): Add db-init.
79756         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
79757         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
79758         * nss/nss_db/db-init.c: New file.
79759         * nss/nss_files/files-init.c: New file.
79760         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
79761         __nss_lookup_function.
79762         (__nss_lookup_function): Call nss_load_library.
79763         (nss_load_all_libraries): New function.
79764         (__nss_disable_nscd): Take parameter with callback function for files
79765         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
79766         used for the cached services.
79767         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
79768         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
79769         options for features to all the files in nscd.
79771         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
79773 2011-07-10  Roland McGrath  <roland@hack.frob.com>
79775         * csu/elf-init.c (__libc_csu_init): Comment typo.
79777 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
79779         * po/pl.po: Update from translation team.
79780         * po/ja.po: Likewise.
79781         * po/ru.po: Likewise.
79782         * po/ko.po: Likewise.
79783         * po/fr.po: Likewise.
79785 2011-07-09  Roland McGrath  <roland@hack.frob.com>
79787         * configure.in (.ctors/.dtors header and trailer check):
79788         Use an empirical test on a built program.
79789         * configure: Regenerated.
79791         * configure.in (-z relro check): Use an empirical test on a built DSO.
79792         Detect, but do not require, on ia64.
79793         * configure: Regenerated.
79795         * configure.in (READELF): Find it with AC_CHECK_TOOL.
79796         Update tests that use readelf to use $READELF instead.
79797         * configure: Regenerated.
79799 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
79801         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
79802         if the result is not used.
79804 2011-07-05  Andreas Jaeger  <aj@suse.de>
79806         [BZ#9696]
79807         * stdlib/tst-strtod.c: Add testcase.
79809 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
79811         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
79812         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
79813         The latter has a higher limit.  Take additional parameter to pass to
79814         the new function.
79815         (__pathconf): Pass file to __statfs_link_max.
79816         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
79817         __statfs_link_max.
79818         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
79819         __statfs_link_max.
79821         [BZ #12868]
79822         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
79823         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79824         Handle Lustre.
79825         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
79826         (__statfs_filesize_max): Likewise.
79827         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
79829 2011-07-05  Andreas Jaeger  <aj@suse.de>
79831         * resolv/res_comp.c (dn_skipname): Remove unused variable.
79833 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
79835         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
79836         `status' variable.
79837         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
79838         Likewise.
79840 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
79842         * Makefile (strop-tests): Add strncat.
79843         * string/test-strncat.c: New file.
79845 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
79847         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
79849 2011-06-21  Andreas Jaeger  <aj@suse.de>
79851         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
79852         Copy rule from iconvdata/Makefile.
79854 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79856         [BZ #12922]
79857         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
79858         but no long options are defined, just return 'W'.
79860 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
79862         [BZ #9696]
79863         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
79865 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
79867         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
79868         netgroups to read.
79869         (innetgr): Likewise.
79871 2011-07-05  Roland McGrath  <roland@hack.frob.com>
79873         * config.make.in (install_root): Default to $(DESTDIR).
79875 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
79877         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
79879 2011-07-02  Roland McGrath  <roland@hack.frob.com>
79881         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
79883         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
79884         containing directory rather than embedding absolute directory names.
79886         * scripts/check-local-headers.sh: Rewritten using awk.
79887         Match by word, not by line.  Print error messages for matches.
79888         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
79890         * Makerules [shlib-lds-flags empty]:
79891         ($(common-objpfx)libc_pic.opts): New target.
79892         ($(common-objpfx)libc_pic.os.clean): New target.
79893         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
79895         * config.make.in (OBJCOPY): New variable.
79896         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
79897         * configure: Regenerated.
79899         * config.make.in (use-default-link): New variable.
79900         * configure.in (use_default_link): Grok --with-default-link to set it.
79901         * configure: Regenerated.
79902         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
79903         (shlib-lds, shlib-lds-flags): Define to empty.
79905         * Makerules (shlib-lds): New variable.
79906         (shlib-lds-flags): New variable.
79907         (build-shlib, build-moduile, build-module-asneeded): Use it.
79908         ($(common-objpfx)libc.so): Use $(shlib-lds).
79909         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
79910         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
79912         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
79913         DT_FLAGS/DT_FLAGS_1 with zero flags.
79915         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
79916         linker script munging.
79918 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
79920         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
79921         as 128-bit value.
79922         * crypt/sha512.c (sha512_process_block): Perform total addition using
79923         128-bit if possible.
79924         (__sha512_finish_ctx): Likewise.
79925         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
79926         as 64-bit value.
79927         * crypt/sha256.c (SWAP64): Define.
79928         (sha256_process_block): Perform total addition using 64-bit if
79929         possible.
79930         (__sha256_finish_ctx): Likewise.
79932 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
79934         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
79935         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79936         * nscd/hstcache.c (cache_addhst): Likewise.
79937         * nscd/grpcache.c (cache_addgr): Likewise.
79938         * nscd/aicache.c (addhstaiX): Likewise.
79939         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
79941 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
79943         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
79944         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79945         * nscd/hstcache.c (cache_addhst): Likewise.
79946         * nscd/grpcache.c (cache_addgr): Likewise.
79947         * nscd/aicache.c (addhstaiX): Likewise.
79949 2011-07-01  Andreas Schwab  <schwab@redhat.com>
79951         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
79952         domain only when needed.
79954 2011-06-30  Andreas Schwab  <schwab@redhat.com>
79956         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
79957         is always restored.
79959 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
79961         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
79962         are re-adding the entry.
79963         * nscd/servicescache.c (cache_addserv): Likewise.
79965 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
79967         * sysdeps/generic/dl-irel.h: fix protection against multiple
79968         inclusions.
79969         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
79971 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
79973         [BZ #12935]
79974         * malloc/memusage.sh: Fix quoting in message.
79975         * debug/xtrace.sh: Likewise.
79977         * configure.in: Remove support for --experimental-malloc option, make
79978         it the default.
79979         * config.make.in: Likewise.
79980         * malloc/Makefile: Likewise.
79982 2011-06-27  Andreas Schwab  <schwab@redhat.com>
79984         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
79985         two-byte characters.
79987 2011-06-27  Roland McGrath  <roland@hack.frob.com>
79989         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
79990         AC_CACHE_CHECK invocation.
79991         * configure: Regenerated.
79993         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
79995 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
79997         [BZ #12350]
79998         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
79999         bit from old_res_options.
80001         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
80003         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
80004         value type for setfct.
80006 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
80008         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80009         __gettimeofday instead of gettimeofday.
80011 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
80013         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
80015 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
80017         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
80019         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
80020         info.
80022 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80024         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80025         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80026         strcpy-sse2-unaligned strncpy-sse2-unaligned
80027         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
80028         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
80029         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
80030         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
80031         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
80032         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
80033         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
80034         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
80035         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
80036         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
80037         (STRCPY): Support SSE2 and SSSE3 versions.
80039 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
80041         [BZ #12874]
80042         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
80043         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
80044         kernels which artificially limit size of requests.
80046 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
80048         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80049         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
80050         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
80051         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
80052         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
80053         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
80054         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
80055         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
80056         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
80057         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
80058         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
80059         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
80060         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
80061         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
80062         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
80063         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80064         Enable unaligned load optimization for Intel Core i3, i5 and i7
80065         processors.
80066         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
80067         Define.
80068         (index_Fast_Unaligned_Load): Define.
80069         (HAS_FAST_UNALIGNED_LOAD): Define.
80071 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
80073         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
80075 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80077         [BZ #12907]
80078         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
80079         until it is clear that the information is realy needed.
80080         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
80082 2011-06-22  Andreas Schwab  <schwab@redhat.com>
80084         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
80086 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
80088         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
80089         /sys/devices/system/cpu/online if it is usable.
80091         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
80092         reading the information from the /proc filesystem to once a second.
80094 2011-06-21  Andreas Jaeger  <aj@suse.de>
80096         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
80097         NULL after inclusion of kernel headers.
80099 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
80101         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
80102         calls to internal_setent.
80104         [BZ #12885]
80105         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
80106         addresses using gethostbyname4_r ignore IPv4 addresses.
80108         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
80109         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
80111         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
80113 2011-06-20  David S. Miller  <davem@davemloft.net>
80115         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
80116         inclusions.
80117         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
80119         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
80120         (elf_irel): Use it.
80121         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
80122         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
80123         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
80124         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
80125         * sysdeps/x86_64/dl-irel.h: Likewise.
80127         * elf/dl-runtime.c: Use elf_ifunc_invoke.
80128         * elf/dl-sym.c: Likewise.
80130 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80132         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
80133         need to dereference resplen2.
80135 2011-06-14  Andreas Schwab  <schwab@redhat.com>
80137         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
80139 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
80141         * Makeconfig: Define vardbdir and inst_vardbdir.
80142         * nss/Makefile: Add rules to install db-Makefile.
80144         * nss/nss_db/db-XXX.c: Cleanup.
80146         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
80147         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
80148         GLIBC_PRIVATE.
80149         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
80150         * nss/makedb.c: Implement -g option to specify that value strings
80151         are generated and should not be added to table iterated over for
80152         get*ent calls.
80153         * nss/nss_db/db-initgroups.c: New file.
80155         * nss/getent.c: Add support for initgroups lookups through getgrouplist
80156         interface.
80158         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
80159         (internal_getgrouplist): Adjust to name change.
80160         Update use_initgroups_entry if this is not the first call.
80161         * nss/databases.def: Add initgroups entry.
80163         * nss/makedb.c (compute_tables): Check result of multiple hash table
80164         sizes to minimize maximum chain length.
80166 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
80168         * Versions.def: Add entry for libnss_db.
80169         * shlib-versions: Likewise.
80170         * nss/Makefile: Add rules to build libnss_db.
80171         * nss/Versions: Add libnss_db information.  Organize libnss_files
80172         entries better.
80173         * nss/db-Makefile: Add gshadow support.  Change rules for the new
80174         makedb progra.  Some minor improvements to generate smaller files.
80175         * nss/nss_db/nss_db.h: Move NSS database header data structures to
80176         here from...
80177         * nss/makedb.c: ...here.
80178         Improve database format to be smaller and require less memory at
80179         runtime.
80180         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
80181         db anymore.
80182         * nss/nss_db/db-netgrp.c: Likewise.
80183         * nss/nss_db/db-open.c: Likewise.
80184         * nss/nss_files/flies-XXX.x: Adjust comments.
80185         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
80186         * nss/nss_files/files-grp.c: Likewise.
80187         * nss/nss_files/files-hosts.c: Likewise.
80188         * nss/nss_files/files-network.c: Likewise.
80189         * nss/nss_files/files-proto.c: Likewise.
80190         * nss/nss_files/files-pwd.c: Likewise.
80191         * nss/nss_files/files-rpc.c: Likewise.
80192         * nss/nss_files/files-service.c: Likewise.
80193         * nss/nss_files/files-sgrp.c: Likewise.
80194         * nss/nss_files/files-spwd.c: Likewise.
80195         * nss/nss_db/db-alias.c: Removed.
80196         * nss/nss_db/dummy-db.h: Removed.
80198 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
80200         * nss/makedb.c: Rewritten to not use database library.
80201         * nss/Makefile: Update to build new makedb program.
80203 2011-06-14  Andreas Jaeger  <aj@suse.de>
80205         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
80206         memset declaration.
80208 2011-06-10  Andreas Schwab  <schwab@redhat.com>
80210         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
80211         tmpbuf.
80213 2011-06-10  Roland McGrath  <roland@hack.frob.com>
80215         * Makerules (shlib.lds): Fail if the linker script comes out empty.
80216         * elf/Makefile ($(objpfx)ld.so): Likewise.
80218         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
80219         Don't list ld.so twice in dependencies.
80221         * posix/bug-regex31.c: Include <stdlib.h>.
80223         * nscd/hstcache.c (cache_addhst): Remove unused variable.
80225         * nis/nss_compat/compat-spwd.c
80226         (getspent_next_nss_netgr): Remove unused variable.
80227         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
80229         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
80230         nonmembers" output to use the right array.
80232         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
80234         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
80236         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
80237         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
80238         * catgets/gencat.c (read_input_file): Likewise.
80239         * locale/programs/locarchive.c (enlarge_archive): Likewise.
80241         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
80242         variable definition inside #if's controlling its use.
80244         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
80246         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
80248         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
80250         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
80251         unreachable code.
80253         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
80255         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
80256         * configure: Regenerated.
80258         * Makerules: Revert last change.
80259         * elf/Makefile: Likewise.
80261 2011-06-09  Roland McGrath  <roland@hack.frob.com>
80263         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
80264         * elf/Makefile ($(objpfx)librtld.os): Likewise.
80265         (reloc-link): Likewise.
80267 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
80269         * elf/Makefile: Add rules to build pldd.
80270         * elf/pldd.c: New file.
80271         * elf/pldd-xx.c: New file.
80273 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
80275         * version.h: Update for 2.15 development version.
80277 2011-06-07  David S. Miller  <davem@davemloft.net>
80279         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
80280         ifuncs.
80281         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
80282         elf_machine_lazy_rel): Likewise.
80283         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
80284         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
80285         elf_machine_lazy_rel): Likewise.
80286         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
80287         dl_hwcap via passed in argument.
80288         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
80289         Likewise.
80291 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80293         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
80295 2011-06-06  Roland McGrath  <roland@hack.frob.com>
80297         [BZ #12849]
80298         * manual/fdl-1.1.texi: New file, verbatim from:
80299         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
80300         * manual/lgpl-2.1.texi: New file, verbatim from:
80301         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
80302         * manual/Makefile (licenses): New variable, list those new file names.
80303         (texis): Use it.
80304         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
80306         * manual/fdl.texi: File removed.
80307         * manual/lesser.texi: File removed.
80308         * manual/libc.texinfo (Copying, Documentation License):
80309         Use new @include file names, put @appendix directive before @include.
80311 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
80313         [BZ #12841]
80314         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
80315         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
80316         (mq_open): Add __NTH.
80318 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
80320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80321         Assume Intel Core i3/i5/i7 processor if AVX is available.
80323 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80325         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
80326         typo.
80328 2011-05-31  Andreas Schwab  <schwab@redhat.com>
80330         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
80331         memory.  Use alloca_account.  Fix memory leak when retrying.
80333 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
80335         * version.h (RELEASE): Bump for 2.14 release.
80336         * include/features.h (__GLIBC_MINOR__): Bump to 14.
80338         * config.make.in (RANLIB): Remove entry.
80340 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
80342         * po/Makefile (po-sed-cmd): Add ksh to extensions.
80343         (libc.pot): Work around missing support for .ksh extension in xgettext.
80345         [BZ #12684]
80346         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
80347         if both request failed.
80348         (send_dg): In case of server errors clear resplen or *resplen2.
80350         [BZ #12454]
80351         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
80352         when there are multiple maps.
80353         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
80354         (_dl_fini): Remove test here.
80356         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
80358 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
80360         [BZ #12350]
80361         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
80362         bit from old_res_options.
80363         (gaih_inet): Likewise.
80365         [BZ #11099]
80366         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
80367         as signed.
80369         * resolv/res_init.c (res_setoptions): Make the code more compact.
80371         [BZ #11558]
80372         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
80373         set RES_USEVC.
80375         [BZ #11634]
80376         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
80378         * malloc/malloc.h: Mark malloc hook variables as deprecated.
80380         [BZ #11781]
80381         * malloc/malloc.h: Declare malloc hook variables as volatile.
80383         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
80384         in last patch.
80386         [BZ #11799]
80387         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
80388         raise in the comment.
80389         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
80390         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
80391         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
80393 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
80395         [BZ #12811]
80396         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
80397         grow the buffers more if it already has to be sufficient.
80398         (build_wcs_upper_buffer): Likewise.
80399         * posix/regexec.c (check_matching): Likewise.
80400         (clean_state_log_if_needed): Likewise.
80401         (extend_buffers): Don't enlarge buffers beyond size of the input
80402         buffer.
80403         Patches mostly by Emil Wojak <emil@wojak.eu>.
80404         * posix/bug-regex32.c: New file.
80405         * posix/Makefile (tests): Add bug-regex32.
80407         * locale/findlocale.c (_nl_find_locale): Return right away if
80408         _nl_explode_name failed.
80409         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
80411         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
80413         * debug/xtrace.sh: Unify messages.
80414         * malloc/memusage.sh: Likewise.
80416         [BZ #12813]
80417         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
80418         time symbol from vDSO.  Substitute with vsyscall if not available.
80419         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
80420         __vdso_time.
80422         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
80423         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
80424         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
80425         Add sendmmsg and internal_sendmmsg.
80426         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
80427         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
80428         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
80430         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
80431         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
80432         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
80434 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
80436         [BZ #12813]
80437         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
80438         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
80439         available.
80440         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
80441         __vdso_getcpu.
80443         [BZ #12814]
80444         * iconvdata/Makefile (tests): Add bug-iconv9.
80445         * iconvdata/bug-iconv9.c: New file.
80447 2011-05-27  Andreas Schwab  <schwab@redhat.com>
80449         [BZ #12814]
80450         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
80452 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
80454         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80455         (struct user_regs_struct): Change intcs field back to cs.
80457 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
80459         * po/ja.po: Update from translation team.
80461 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
80463         [BZ #12795]
80464         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
80465         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
80467 2011-05-20  Andreas Schwab  <schwab@redhat.com>
80469         * stdlib/longlong.h: Update from GCC.
80471 2011-05-23  Andreas Schwab  <schwab@redhat.com>
80473         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
80474         parameter name.
80475         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
80476         Add parameter name.
80477         (__sysconf): Pass it down.
80479 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
80481         [BZ #12671]
80482         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
80483         some situations.
80484         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
80485         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
80486         add in in __libc_use_alloca calls.  Adjust callers.
80487         (glob): Use malloc in some situations.
80489         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
80490         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
80491         pltexit.
80493 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
80495         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
80496         and CLOCK_BOOTTIME_ALARM.
80498         [BZ #12782]
80499         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
80500         is returned.
80502         * string/_strerror.c (__strerror_r): Print negative errors as signed
80503         numbers.
80505         [BZ #12777]
80506         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
80507         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
80508         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
80510         * configure.in: Fix typo in redirection and correct removal of test
80511         files in two cases.
80513         [BZ #12788]
80514         * locale/setlocale.c (new_composite_name): Fix test to check for
80515         identical name of all categories.
80517         [BZ #12792]
80518         * libio/filedoalloc.c (local_isatty): New function.
80519         (_IO_file_doallocate): Use local_isatty.
80520         * stdio-common/perror.c (perror): In case a new stream is used
80521         forward the stream error.
80522         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
80523         error flag.
80525 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
80527         [BZ #11884]
80528         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
80529         alloca.
80530         * include/alloca.h (extend_alloca_account): Define.
80532         [BZ #11857]
80533         * posix/regex.h: Fix comments with documentation of user-accessible
80534         fields after compilation and describe correct free'ing of pattern
80535         after re_compile_pattern.
80536         Patch by Reuben Thomas <rrt@sc3d.org>.
80538 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
80540         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
80541         and -mno-altivec to prevent the compiler from using Altivec and/or
80542         VSX instructions when the corresponding registers are not available.
80544 2011-05-19  Andreas Schwab  <schwab@redhat.com>
80546         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
80548 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
80550         * libio/freopen.c (freopen): Use __dup2, not dup2.
80551         * libio/freopen64.c (freopen64): Likewise.
80553 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
80555         [BZ #12775]
80556         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
80557         * math/Makefile (tests): Add test-powl.
80558         (CFLAGS-test-powl.c): Define.
80559         * math/test-powl.c: New file.
80561 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
80563         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
80565 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
80567         [BZ #11837]
80568         * iconvdata/gb18030.c: Update to GB18020-2005.
80570 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
80572         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
80573         RE_SYNTAX_POSIX_AWK): Update to match recent development.
80574         Patch by Aharon Robbins <arnold@skeeve.com>.
80576         [BZ #11892]
80577         * stdlib/putenv.c (putenv): Don't always create copy of the variable
80578         on the stack.
80580         [BZ #11895]
80581         * misc/pselect.c (__pselect): Handle timeout value errors hidden
80582         through underflows.
80584         [BZ #12766]
80585         * misc/error.c (error_at_line): Ensure file_name and old_file_name
80586         point to strings before performing equality test for error_one_per_line
80587         mode.
80589         [BZ #11697]
80590         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
80592         [BZ #11820]
80593         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
80594         (struct user_fpregs_struct): Avoid __uint*_t types.
80596         [BZ #6420]
80597         * malloc/mtrace.c (tr_where): Add additional parameter to point to
80598         symbol info.  Use it instead of calling _dl_addr locally.
80599         (lock_and_info): New function.
80600         (tr_freehook): Call lock_and_info and pass symbol info as additional
80601         parameter to tr_where.
80602         (tr_mallochook): Likewise.
80603         (tr_reallochook): Likewise.
80604         (tr_memalignhook): Likewise.
80606         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
80607         used and couldn't be at all thread-safe.
80609 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
80611         * libio/freopen.c (freopen): Don't close old file descriptor
80612         before the new one is opened.  Instead dup the new file descriptor
80613         to the old one after the new stream is created.
80614         * libio/freopen64.c (freopen64): Likewise.
80615         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
80616         * libio/fileops.c (_IO_new_file_close_it): Handle new
80617         _IO_FLAGS2_NOCLOSE flag.
80618         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
80619         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
80620         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
80621         _IO_FLAGS2_NOCLOSE flag.
80622         * include/unistd.h: Add hidden_proto for dup3.
80623         Define __have_dup3.
80624         * io/dup3.c: Define hidden symbol.
80625         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
80627         [BZ #7101]
80628         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
80629         when an incomplete long option is used.
80630         * posix/tst-getopt_long1.c: New file.
80631         * posix/Makefile (tests): Add tst-getopt_long1.
80633         [BZ #10138]
80634         * scripts/config.guess: Update from autoconf-2.68.
80635         * scripts/config.sub: Likewise.
80637         [BZ #10157]
80638         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
80639         tests into ...
80640         (has_cpuclock): ...this.  New function.
80641         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
80642         macro here based on has_cpuclock code.
80644         [BZ #10149]
80645         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80646         First byte (not low byte) is now always NUL.
80647         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
80649         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
80650         Use non-cancelable interfaces.
80652         [BZ #9809]
80653         * locale/iso-639.def: Add entry for Sorani.
80655         [BZ #11901]
80656         * include/stdlib.h: Move include protection to the right place.
80657         Define abort_msg_s.  Declare __abort_msg with it.
80658         * stdlib/abort.c (__abort_msg): Adjust type.
80659         * assert/assert.c (__assert_fail_base): New function.  Majority
80660         of code from __assert_fail.  Allocate memory for __abort_msg with
80661         mmap.
80662         (__assert_fail): Now call __assert_fail_base.
80663         * assert/assert-perr.c: Remove bulk of implementation.  Use
80664         __assert_fail_base.
80665         * include/assert.hL Declare __assert_fail_base.
80666         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
80667         mmap.
80668         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
80670 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
80672         [BZ #11952]
80673         [BZ #12453]
80674         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
80675         until all modules are registered in the DTV.
80676         * elf/Makefile: Add rules to build and run tst-tls19.
80677         * elf/tst-tls19.c: New file.
80678         * elf/tst-tls19mod1.c: New file.
80679         * elf/tst-tls19mod2.c: New file.
80680         * elf/tst-tls19mod3.c: New file.
80681         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
80683         [BZ #12083]
80684         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
80685         correctly.
80687         [BZ #12601]
80688         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
80689         two-byte sequence errors.
80690         * iconvdata/Makefile (tests): Add bug-iconv8.
80691         * iconvdata/bug-iconv8.c: New file.
80693         [BZ #12626]
80694         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
80695         buf2 definition.
80697         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
80699         [BZ #12432]
80700         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
80701         (dummy_getcfa): New function.
80702         (init): Get _Unwind_GetCFA address, use dummy if not found.
80703         (backtrace_helper): In recursion check, also check whether CFA changes.
80704         (__backtrace): Completely initialize arg.
80706         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
80707         storing incomplete byte sequence in state object.  Avoid testing for
80708         guaranteed too small input if we know there is enough data available.
80710 2011-05-11  Andreas Schwab  <schwab@redhat.com>
80712         * Makeconfig (+link-pie): Indent.
80713         * Rules (binaries-pie): Define if $(have-fpie) and
80714         $(build-shared).
80715         (binaries-shared): Also filter out $(binaries-pie).
80716         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
80717         * nscd/Makefile (others-pie): Add nscd.
80718         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
80719         ($(objpfx)nscd): Remove command override.
80720         * login/Makefile (others-pie): Add pt_chown.
80721         ($(objpfx)pt_chown): Remove command override.
80722         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
80723         remove command overrides.
80725 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
80727         * libio/tst_putwc.c: Fix error messages.
80729         [BZ #12724]
80730         * libio/fileops.c (_IO_new_file_close_it): Always flush when
80731         currently writing and seek to current position when not.
80732         * libio/Makefile (tests): Add bug-fclose1.
80733         * libio/bug-fclose1.c: New file.
80735 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
80737         [BZ #12511]
80738         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
80739         don't set DF_1_NODELETE here.
80740         (do_lookup_x): When entering new entry test for copy relocation
80741         and if necessary set DF_1_NODELETE flag.
80742         * elf/tst-unique4.cc: New file.
80743         * elf/tst-unique4.h: New file.
80744         * elf/tst-unique4lib.cc: New file.
80745         * elf/Makefile: Add rules to build and run tst-unique4.
80746         Patch by Piotr Bury <pbury@goahead.com>.
80748 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
80750         [BZ #12052]
80751         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
80753         [BZ #12625]
80754         * misc/mntent_r.c (addmntent): Flush the stream after the output
80756         [BZ #12393]
80757         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
80758         (is_trusted_path_normalize): Skip initial colon.  Append slash
80759         to empty buffer.  Duplicate is_trusted_path code but allow
80760         constructed patch to be prefix.
80761         (is_dst): Allow $ORIGIN followed by /.
80762         (_dl_dst_substitute): Correct clearing of check_for_trusted.
80763         Correct testing of result of is_trusted_path_normalize
80764         (decompose_rpath): Fix warning.
80766 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
80768         [BZ #11257]
80769         * grp/initgroups.c (internal_getgrouplist): When we found the service
80770         list through the initgroups entry in nsswitch.conf do not always
80771         continue on a successful lookup.  Don't always use the
80772         __nss_group_database value if it is set.
80773         * nss/nsswitch.conf (initgroups): Change action for successful db
80774         lookup to continue for compatibility.
80776 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
80778         [BZ #11532]
80779         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
80780         and CP774 modules.
80781         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
80782         and CP774 modules.
80783         * iconvdata/tst-tables.sh: Likewise.
80784         * iconvdata/cp770.c: New file.
80785         * iconvdata/cp771.c: New file.
80786         * iconvdata/cp772.c: New file.
80787         * iconvdata/cp773.c: New file.
80788         * iconvdata/cp774.c: New file.
80789         * iconvdata/testdata/CP770: New file.
80790         * iconvdata/testdata/CP770..UTF8: New file.
80791         * iconvdata/testdata/CP771: New file.
80792         * iconvdata/testdata/CP771..UTF8: New file.
80793         * iconvdata/testdata/CP772: New file.
80794         * iconvdata/testdata/CP772..UTF8: New file.
80795         * iconvdata/testdata/CP773: New file.
80796         * iconvdata/testdata/CP773..UTF8: New file.
80797         * iconvdata/testdata/CP774: New file.
80798         * iconvdata/testdata/CP774..UTF8: New file.
80800         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
80801         END CHARMAP line.
80802         * iconvdata/gen-8bit-gap.sh: Likewise.
80803         * iconvdata/gen-8bit.sh: Likewise.
80805         * locale/iso-639.def: Add ary entry.
80807         [BZ #11258]
80808         * locale/C-translit.h.in: Add U20A1 transliteration.
80810         [BZ #12178]
80811         * locale/iso-639.def: Add wae entry.
80812         Patch by Kevin Bortis <bortis@translate-wae.ch>.
80814         [BZ #12545]
80815         * locale/programs/localedef.c (construct_output_path): Use ssize_t
80816         for n.
80818         [BZ #12711]
80819         * locale/C-translit.h.in: Add entry for U20B9.
80820         Patch by pravin.d.s@gmail.com.
80822 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
80824         [BZ #12713]
80825         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
80826         ENAMETOOLONG use generic getcwd.
80827         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
80828         in rtld.  Use *stat64.
80829         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
80830         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
80831         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
80832         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
80833         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
80834         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
80835         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
80836         __fstatat64 macros.
80837         * include/dirent.h: Add libc_hidden_proto for rewinddir.
80838         * dirent/rewinddir.c: Add libc_hidden_def.
80839         * sysdeps/mach/hurd/rewinddir.c: Likewise.
80840         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
80842         * include/dirent.h (__alloc_dir): Add flags parameter.
80843         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
80844         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
80845         __alloc_dir.
80846         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
80847         from fdopendir if O_CLOEXEC is already set.
80849 2011-03-15  Alan Modra  <amodra@gmail.com>
80851         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
80852         l_tls_firstbyte_offset non-zero.  Save padding offset in
80853         l_tls_firstbyte_offset for later use.
80854         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
80855         freeing static tls block.
80857 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
80859         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
80860         where #ifdef was intended.  The intent is to prevent ARG_MAX from
80861         being defined by the kernel headers.
80863 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
80865         [BZ #12734]
80866         * resolv/resolv.h: Define RES_NOTLDQUERY.
80867         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
80868         no-tld-query and set RES_NOTLDQUERY.
80869         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
80870         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
80871         modern BIND to search name as TLD unless forbidden.
80873 2011-05-07  Petr Baudis  <pasky@suse.cz>
80874             Ulrich Drepper  <drepper@gmail.com>
80876         [BZ #12393]
80877         * elf/dl-load.c (fillin_rpath): Move trusted path check...
80878         (is_trusted_path): ...to here.
80879         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
80880         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
80881         using is_trusted_path_normalize() in setuid scripts.
80883 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
80885         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
80886         __BEGIN/__END_DECLS.
80888 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
80890         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
80891         NSS_STATUS_NOTFOUND if no record was found.
80893 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80895         * sunrpc/Makefile (headers): Add rpc/netdb.h.
80896         (headers-not-in-tirpc): Remove rpc/netdb.h
80897         * resolv/netdb.h: Revert last change.
80899 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
80901         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
80902         circular dependency between libgcc.a and libc.a.
80904 2011-05-05  Andreas Schwab  <schwab@redhat.com>
80906         * resolv/netdb.h: Don't include <rpc/netdb.h>.
80907         * nis/Makefile: Don't install rpcsvc/*.
80908         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
80909         instead of <rpc/types.h>.
80910         (MAXHOSTNAMELEN): Define.
80912 2011-05-03  Andreas Schwab  <schwab@redhat.com>
80914         * elf/ldconfig.c (add_dir): Don't crash on empty path.
80916 2011-04-28  Maciej Babinski  <mbabinski@google.com>
80918         [BZ #12714]
80919         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
80920         gethostbyname4_r when IPv6 results are possible.
80922 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
80924         [BZ #12723]
80925         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
80926         _PC_PIPE_BUF handling.
80928 2011-04-30  Bruno Haible  <bruno@clisp.org>
80930         [BZ #12717]
80931         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
80932         * resolv/netdb.h (getnameinfo): Change type of flags parameter
80933         to 'int'.
80934         * inet/getnameinfo.c (getnameinfo): Likewise.
80936 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
80938         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
80939         to groups setting in database lookup.
80940         * nss/nsswitch.conf: Add initgroups entry.
80942 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
80944         [BZ #12685]
80945         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
80946         mode string.
80947         Patch by Eric Blake <eblake@redhat.com>.
80949 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
80951         * sunrpc/Makefile (need-export-routines): Add svc_run.
80952         (routines): Remove svc_run.
80953         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
80954         * sunrpc/clnt_perr.c (clnt_perrno): Export.
80955         * sunrpc/svc_run.c (svc_run): Likewise.
80956         * sunrpc/svc_udp.c (svcudp_create): Likewise.
80958 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
80960         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
80961         problem in reallocation in last patch.
80963 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
80965         * sunrpc/Makefile: Move inclusion of Rules.
80967 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80969         * nss/nss_files/files-initgroups.c: New file.
80970         * nss/Makefile (libnss_files-routines): Add files-initgroups.
80971         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
80972         _nss_files_initgroups_dyn.
80974 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
80976         * elf/elf.h (R_ARM_IRELATIVE): Define.
80978 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
80980         * po/ru.po: Update from translation team.
80982 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
80984         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
80985         dependencies.
80987 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
80989         [BZ #12653]
80990         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
80991         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
80992         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
80993         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
80994         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
80996 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
80998         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
80999         differing bytes.
81000         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
81001         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
81002         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81004 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
81006         [BZ #12420]
81007         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
81008         storing it.
81009         * stdlib/bug-getcontext.c: New file.
81010         * stdlib/Makefile: Add rules to build and run bug-getcontext.
81012 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81014         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
81015         instructions into .machine "z9-109".
81016         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
81017         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
81019 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81021         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
81022         between environment variables and auxiliary vector.
81024 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
81026         * Makefile: Add rules to build linkobj/libc.so.
81027         * include/libc-symbols.h: Define libc_hidden_nolink.
81028         * include/rpc/auth.h: Mark functions which are to be hidden.
81029         * include/rpc/auth_des.h: Likewise.
81030         * include/rpc/auth_unix.h: Likewise.
81031         * include/rpc/clnt.h: Likewise.
81032         * include/rpc/des_crypt.h: Likewise.
81033         * include/rpc/key_prot.h: Likewise.
81034         * include/rpc/pmap_clnt.h: Likewise.
81035         * include/rpc/pmap_prot.h: Likewise.
81036         * include/rpc/pmap_rmt.h: Likewise.
81037         * include/rpc/rpc_msg.h: Likewise.
81038         * include/rpc/svc.h: Likewise.
81039         * include/rpc/svc_auth.h: Likewise.
81040         * include/rpc/xdr.h: Likewise.
81041         * nis/Makefile: Link all DSOs against linkobj/libc.so.
81042         * nss/Makefile: Likewise.
81043         * sunrpc/Makefile: Don't install headers.  Build library with normal
81044         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
81045         * sunrpc/auth_des.c: Hide exported symbols by default, export some
81046         for the compat linking library.  Remove use of INTDEF/INTUSE.
81047         * sunrpc/auth_none.c: Likewise.
81048         * sunrpc/auth_unix.c: Likewise.
81049         * sunrpc/authdes_prot.c: Likewise.
81050         * sunrpc/authuxprot.c: Likewise.
81051         * sunrpc/clnt_gen.c: Likewise.
81052         * sunrpc/clnt_perr.c: Likewise.
81053         * sunrpc/clnt_raw.c: Likewise.
81054         * sunrpc/clnt_simp.c: Likewise.
81055         * sunrpc/clnt_tcp.c: Likewise.
81056         * sunrpc/clnt_udp.c: Likewise.
81057         * sunrpc/clnt_unix.c: Likewise.
81058         * sunrpc/des_crypt.c: Likewise.
81059         * sunrpc/des_soft.c: Likewise.
81060         * sunrpc/get_myaddr.c: Likewise.
81061         * sunrpc/key_call.c: Likewise.
81062         * sunrpc/key_prot.c: Likewise.
81063         * sunrpc/netname.c: Likewise.
81064         * sunrpc/pm_getmaps.c: Likewise.
81065         * sunrpc/pm_getport.c: Likewise.
81066         * sunrpc/pmap_clnt.c: Likewise.
81067         * sunrpc/pmap_prot.c: Likewise.
81068         * sunrpc/pmap_prot2.c: Likewise.
81069         * sunrpc/pmap_rmt.c: Likewise.
81070         * sunrpc/publickey.c: Likewise.
81071         * sunrpc/rpc_cmsg.c: Likewise.
81072         * sunrpc/rpc_common.c: Likewise.
81073         * sunrpc/rpc_dtable.c: Likewise.
81074         * sunrpc/rpc_prot.c: Likewise.
81075         * sunrpc/rpc_thread.c: Likewise.
81076         * sunrpc/rtime.c: Likewise.
81077         * sunrpc/svc.c: Likewise.
81078         * sunrpc/svc_auth.c: Likewise.
81079         * sunrpc/svc_authux.c: Likewise.
81080         * sunrpc/svc_raw.c: Likewise.
81081         * sunrpc/svc_run.c: Likewise.
81082         * sunrpc/svc_simple.c: Likewise.
81083         * sunrpc/svc_tcp.c: Likewise.
81084         * sunrpc/svc_udp.c: Likewise.
81085         * sunrpc/svc_unix.c: Likewise.
81086         * sunrpc/svcauth_des.c: Likewise.
81087         * sunrpc/xcrypt.c: Likewise.
81088         * sunrpc/xdr.c: Likewise.
81089         * sunrpc/xdr_array.c: Likewise.
81090         * sunrpc/xdr_float.c: Likewise.
81091         * sunrpc/xdr_intXX_t.c: Likewise.
81092         * sunrpc/xdr_mem.c: Likewise.
81093         * sunrpc/xdr_rec.c: Likewise.
81094         * sunrpc/xdr_ref.c: Likewise.
81095         * sunrpc/xdr_sizeof.c: Likewise.
81096         * sunrpc/xdr_stdio.c: Likewise.
81098 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
81100         [BZ #12650]
81101         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
81102         * sysdeps/ia64/dl-tls.h: Likewise.
81103         * sysdeps/powerpc/dl-tls.h: Likewise.
81104         * sysdeps/s390/dl-tls.h: Likewise.
81105         * sysdeps/sh/dl-tls.h: Likewise.
81106         * sysdeps/sparc/dl-tls.h: Likewise.
81107         * sysdeps/x86_64/dl-tls.h: Likewise.
81108         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
81110 2011-03-14  Andreas Schwab  <schwab@redhat.com>
81112         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
81113         rpath element also skip the following colon.
81114         (expand_dynamic_string_token): Add is_path parameter and pass
81115         down to DL_DST_REQUIRED and _dl_dst_substitute.
81116         (decompose_rpath): Call expand_dynamic_string_token with
81117         non-zero is_path.  Ignore empty rpaths.
81118         (_dl_map_object_from_fd): Call expand_dynamic_string_token
81119         with zero is_path.
81121 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
81123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
81124         Make cancelable.
81126 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
81128         [BZ #12655]
81129         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
81130         Patch by Filipe David Manana <fdmanana@apache.org>.
81132 2011-04-07  Andreas Schwab  <schwab@redhat.com>
81134         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
81135         Maintain aligned stack.
81136         (CHECK_RSP): Remove unused macro.
81138 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
81140         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
81141         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
81143 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
81145         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
81147         * include/features.h: Mention __USE_XOPEN2K8 in comment.
81149 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
81151         [BZ #12518]
81152         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
81153         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
81154         * sysdeps/x86_64/memmove.c: New file.
81155         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
81156         (memcpy): Renamed to ...
81157         (__new_memcpy): This.
81158         (memcpy): Provide GLIBC_2_14 memcpy.
81159         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
81160         (memcpy): Provide GLIBC_2_2_5 memcpy.
81162 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81164         [BZ #12631]
81165         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
81167 2011-03-30  Andreas Schwab  <schwab@redhat.com>
81169         * misc/syncfs.c: New file.
81170         * misc/Makefile (routines): Add syncfs.
81171         * posix/unistd.h: Declare syncfs.
81172         * sysdeps/unix/syscalls.list: Add syncfs.
81174 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81176         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
81177         open_by_handle_at.
81178         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81179         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81181         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81183         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
81184         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81186 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81188         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
81189         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81190         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
81191         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81192         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81193         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81194         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81196         * io/Makefile: Compile fallocate.c, fallocate64.c, and
81197         sync_file_range.c with -fexceptions.
81198         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
81199         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
81200         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
81201         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
81202         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
81203         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
81204         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
81205         sync_file_range as cancellation point
81206         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
81207         now a wrapper around __call_sync_file_range with cancellation handling.
81208         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
81209         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
81210         function name to __call_sync_file_range.
81211         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
81212         Add call_sync_file_range.
81214 2011-04-01  Andreas Schwab  <schwab@redhat.com>
81216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
81217         bits/timex.h.
81219 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
81221         * iconv/iconv.h: Fix typo in comment.
81222         * io/fcntl.h: Likewise.
81223         * libio/stdio.h: Likewise.
81224         * posix/spawn.h: Likewise.
81225         * posix/unistd.h: Likewise.
81226         * stdlib/stdlib.h: Likewise.
81227         * time/time.h: Likewise.
81228         * wcsmbs/wchar.h: Likewise.
81230         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
81231         open_by_handle): Add.
81232         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
81233         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
81234         Augment a few comments.
81235         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81236         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81237         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81238         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81239         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81240         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
81241         open_by_handle.
81243         * io/fcntl.h (AT_EMPTY_PATH): Define.
81245 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
81247         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
81248         * sysdeps/unix/sysv/linux/bits/time.h: New file.
81249         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
81250         to...
81251         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
81252         * Versions.def: Add GLIBC_2.14.
81253         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
81254         Export.
81256 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
81258         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
81259         round counter.
81260         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81262 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
81264         [BZ #12597]
81265         * string/test-strncmp.c (do_page_test): New function.
81266         (check2): Likewise.
81267         (test_main): Call check2.
81268         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
81270 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
81272         [BZ #12587]
81273         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
81274         Handle cache information in CPU leaf 4.
81275         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
81277 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
81279         [BZ #12583]
81280         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
81281         character representation.
81282         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
81284 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
81286         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
81287         END(__isnan) to END(__isnanf) to match function entry point/label
81288         EALIGN(__isnanf,...).
81290 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
81292         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
81294 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
81296         [BZ #12510]
81297         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
81298         copy from the symbol referenced in the relocation to initialize the
81299         used variable.
81300         Patch by Piotr Bury <pbury@goahead.com>.
81301         * elf/Makefile: Add rules to build and tst-unique3.
81302         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
81303         * elf/tst-unique3.cc: New file.
81304         * elf/tst-unique3.h: New file.
81305         * elf/tst-unique3lib.cc: New file.
81306         * elf/tst-unique3lib2.cc: New file.
81308         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
81310 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
81312         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
81313         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
81314         to _start.
81316 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
81318         * elf/dl-load.c (_dl_map_object): If we are looking for the first
81319         to-be-loaded object along a path to loader is ld.so.
81321 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81322             Ulrich Drepper  <drepper@gmail.com>
81324         * sysdeps/x86_64/memset.S: After aligning destination, code
81325         branches to different locations depending on the value of
81326         misalignment, when multiarch is enabled. Fix this.
81328 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
81330         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
81331         Set _x86_64_preferred_memory_instruction for AMD processsors.
81332         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81333         Set bit_Prefer_SSE_for_memop for AMD processors.
81335 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
81337         * libio/fmemopen.c (fmemopen): Optimize a bit.
81339 2011-03-03  Andreas Schwab  <schwab@redhat.com>
81341         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
81343 2011-03-03  Roland McGrath  <roland@redhat.com>
81345         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
81347 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
81349         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
81350         __bzero_ultra1 instead of __memset_ultra1.
81352 2011-02-23  Andreas Schwab  <schwab@redhat.com>
81353             Ulrich Drepper  <drepper@gmail.com>
81355         [BZ #12509]
81356         * include/link.h (struct link_map): Add l_orig_initfini.
81357         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
81358         returning unsuccessfully.
81359         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
81360         close of a file loaded at startup, restore the original l_initfini
81361         list.
81362         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
81363         list, store the pointer.
81364         * elf/Makefile ($(objpfx)noload-mem): New rule.
81365         (noload-ENV): Define.
81366         (tests): Add $(objpfx)noload-mem.
81367         * elf/noload.c: Include <memcheck.h>.
81368         (main): Call mtrace.  Close all opened handles.
81370 2011-02-17  Andreas Schwab  <schwab@redhat.com>
81372         [BZ #12454]
81373         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
81374         dependencies are missing.
81376 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81378         Fix __if_freereq crash: Unlike the generic version which uses free,
81379         Hurd needs munmap.
81380         * sysdeps/mach/hurd/ifreq.h: New file.
81382 2011-01-27  Petr Baudis  <pasky@suse.cz>
81383             Ulrich Drepper  <drepper@gmail.com>
81385         [BZ 12445]#
81386         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
81387         to extend_alloca().
81388         * stdio-common/bug23.c: New file.
81389         * stdio-common/Makefile (tests): Add bug23.
81391 2010-09-28  Andreas Schwab  <schwab@redhat.com>
81392             Ulrich Drepper  <drepper@gmail.com>
81394         [BZ #12489]
81395         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
81396         before performing relro protection.  At old place add assertion
81397         to make sure nothing changed.
81399 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
81400             Glauber de Oliveira Costa  <glommer@gmail.com>
81402         * elf/elf.h: Add new ARM TLS relocs.
81404 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
81406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
81407         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
81408         cast from r3.
81409         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
81410         'tests' variable.
81411         * sysdeps/wordsize-64/tst-writev.c: New file.
81413 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
81415         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
81416         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
81417         insns in _dl_start to prevent a TOC reference before relocs are
81418         resolved.
81420 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
81422         [BZ #12469]
81423         * Makeconfig: Remove RANLIB definition.
81424         * Makerules: Don't use RANLIB.
81425         * aclocal.m4: Remove ranlib test.
81426         * configure.in: No need to check for ranlib.
81427         * elf/rtld-Rules: Don't use RANLIB.
81429 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81431         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
81432         protection macro.
81433         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
81434         inclusion protection macro.
81436         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
81437         SIGRTMIN and SIGRTMAX and print information in that case only when
81438         SIGRTMIN is defined.
81440 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
81442         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
81443         arginfo fn returning -1.
81445         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
81446         and thousands string is zero terminated.
81448 2011-02-03  Andreas Schwab  <schwab@redhat.com>
81450         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
81451         sysdeps/unix/sysv/linux/bits/socket.h.
81453 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81455         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
81456         (__CPU_COUNT): Remove old macros.
81457         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
81458         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
81459         (__CPU_ALLOC, __CPU_FREE): Add macros.
81460         (__sched_cpualloc, __sched_cpufree): Add declarations.
81462 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
81464         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
81465         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
81466         * nscd/aicache.c (addhstaiX): Return timeout of added value.
81467         (readdhstai): Return value of addhstaiX call.
81468         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
81469         (addgrbyX): Return value returned by cache_addgr.
81470         (readdgrbyname): Return value returned by addgrbyX.
81471         (readdgrbygid): Likewise.
81472         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
81473         (addpwbyX): Return value returned by cache_addpw.
81474         (readdpwbyname): Return value returned by addhstbyX.
81475         (readdpwbyuid): Likewise.
81476         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
81477         (addservbyX): Return value returned by cache_addserv.
81478         (readdservbyname): Return value returned by addservbyX:
81479         (readdservbyport): Likewise.
81480         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
81481         (addhstbyX): Return value returned by cache_addhst.
81482         (readdhstbyname): Return value returned by addhstbyX.
81483         (readdhstbyaddr): Likewise.
81484         (readdhstbynamev6): Likewise.
81485         (readdhstbyaddrv6): Likewise.
81486         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
81487         (readdinitgroups): Return value returned by addinitgroupsX.
81488         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
81489         (prune_cache): Keep track of timeout value of re-added entries.
81490         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
81491         * nscd/nscd.h: Adjust prototypes of readd* functions.
81493 2011-02-04  Roland McGrath  <roland@redhat.com>
81495         * nis/nis_server.c (nis_servstate): Use the right name for 0.
81496         (nis_stats): Likewise.
81497         * nis/nis_modify.c (nis_modify): Likewise.
81498         * nis/nis_remove.c (nis_remove): Likewise.
81499         * nis/nis_add.c (nis_add): Likewise.
81501         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
81503         * posix/fnmatch_loop.c: Add some consts.
81505         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
81507 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
81509         [BZ #12460]
81510         * config.make.in (config-cflags-novzeroupper): Define.
81511         * configure.in: Substitute libc_cv_cc_novzeroupper.
81512         * elf/Makefile (AVX-CFLAGS): Define.
81513         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
81514         (CFLAGS-tst-auditmod4a.c): Likewise.
81515         (CFLAGS-tst-auditmod4b.c): Likewise.
81516         (CFLAGS-tst-auditmod6b.c): Likewise.
81517         (CFLAGS-tst-auditmod6c.c): Likewise.
81518         (CFLAGS-tst-auditmod7b.c): Likewise.
81519         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
81521 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
81523         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
81524         function to the callback.
81525         Patch partly by Jiri Olsa <jolsa@redhat.com>.
81527 2011-02-02  Andreas Schwab  <schwab@redhat.com>
81529         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
81530         of errno.
81532 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
81534         [BZ #11724]
81535         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
81536         of constructors.
81537         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
81538         of destructors.
81539         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
81541         [BZ #11724]
81542         * elf/Makefile: Add rules to build and run new test.
81543         * elf/tst-initorder.c: New file.
81544         * elf/tst-initorder.exp: New file.
81545         * elf/tst-initordera1.c: New file.
81546         * elf/tst-initordera2.c: New file.
81547         * elf/tst-initordera3.c: New file.
81548         * elf/tst-initordera4.c: New file.
81549         * elf/tst-initorderb1.c: New file.
81550         * elf/tst-initorderb2.c: New file.
81551         * elf/tst-order-a1.c: New file.
81552         * elf/tst-order-a2.c: New file.
81553         * elf/tst-order-a3.c: New file.
81554         * elf/tst-order-a4.c: New file.
81555         * elf/tst-order-b1.c: New file.
81556         * elf/tst-order-b2.c: New file.
81557         * elf/tst-order-main.c: New file.
81558         New test case by George Gensure <werkt0@gmail.com>.
81560 2010-10-01  Andreas Schwab  <schwab@redhat.com>
81562         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
81563         decoding ACE if AI_CANONIDN.
81565 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
81567         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
81569 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
81571         * version.h (RELEASE): Bump for 2.13 release.
81572         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
81574         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
81576         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
81577         MADV_NOHUGEPAGE.
81578         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
81579         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
81580         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
81581         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
81582         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
81583         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81585         * posix/getconf.c: Update copyright year.
81586         * catgets/gencat.c: Likewise.
81587         * csu/version.c: Likewise.
81588         * debug/catchsegv.sh: Likewise.
81589         * debug/xtrace.sh: Likewise.
81590         * elf/ldconfig.c: Likewise.
81591         * elf/ldd.bash.in: Likewise.
81592         * elf/sprof.c (print_version): Likewise.
81593         * iconv/iconv_prog.c: Likewise.
81594         * iconv/iconvconfig.c: Likewise.
81595         * locale/programs/locale.c: Likewise.
81596         * locale/programs/localedef.c: Likewise.
81597         * malloc/memusage.sh: Likewise.
81598         * malloc/mtrace.pl: Likewise.
81599         * nscd/nscd.c (print_version): Likewise.
81600         * nss/getent.c: Likewise.
81602         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
81603         PF_CAIF, and PF_ALG.
81604         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81606 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
81608         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
81609         (modules-names): Use them.
81610         (ifunc-test-modules, ifunc-pie-tests): Define.
81611         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
81612         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
81613         (test-extras): Likewise.
81614         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
81615         $(compile-command.c).
81616         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
81617         (all-built-dso): Define.
81618         (check-textrel.out, check-execstack.out): Depend on it.
81620         * configure.in: Don't override --enable-multi-arch.
81622 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
81624         [BZ #6812]
81625         * nscd/hstcache.c (tryagain): Define.
81626         (cache_addhst): Return tryagain not notfound for temporary errors.
81627         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
81628         failed.
81630 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
81632         [BZ #10563]
81633         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
81634         to make the syscall.
81635         * sysdeps/unix/sysv/linux/setgroups.c: New file.
81637         [BZ #12378]
81638         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
81639         and fall back to matching as normal character if the string ends before
81640         the matching ']' is found.  This is what POSIX requires.
81641         * posix/testfnm.c: Adjust test result.
81642         * posix/globtest.sh: Adjust test result.  Add new test.
81643         * posix/tst-fnmatch.input: Likewise.
81644         * posix/tst-fnmatch2.c: Add new test.
81646 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
81648         * elf/Makefile (check-execstack): Revert last change.  Depend on
81649         check-execstack.h.
81650         (check-execstack.h): New target.
81651         (generated): Add check-execstack.h.
81652         * elf/check-execstack.c: Include "check-execstack.h".
81653         (main): Revert last change.
81654         (handle_file): Return zero if GNU_STACK is absent and
81655         DEFAULT_STACK_PERMS doesn't include PF_X.
81657 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
81659         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
81660         in child fails because the descriptor is already closed.
81661         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
81662         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
81663         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
81665         [BZ #12397]
81666         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
81667         syscall.
81669         [BZ #10484]
81670         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
81671         temporary buffer used to handle multi lookups locally.
81672         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
81674 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81676         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
81677         loader is ld.so.
81679 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
81681         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
81682         alignment for SSE2.
81684 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
81686         [BZ #12394]
81687         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
81688         characters.  When rounding increased number of integer digits recompute
81689         number of groups.
81690         * stdio-common/tst-grouping.c: New file.
81691         * stdio-common/Makefile: Add rules to build and run tst-grouping.
81693 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
81695         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
81696         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
81698         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
81699         void.
81700         * bits/select.h: Likewise.
81702 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
81704         * po/ja.po: Update from translation team.
81706 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
81708         [BZ #11155]
81709         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
81710         implementation just like for lxstat, fxstatat, et al.
81712 2010-12-27  Jim Meyering  <meyering@redhat.com>
81714         [BZ #12348]
81715         * posix/regexec.c (build_trtable): Return failure indication upon
81716         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
81718 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
81720         [BZ #12201]
81721         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
81722         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
81723         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
81724         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
81726         [BZ #12207]
81727         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
81729         [BZ #12204]
81730         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
81731         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
81733 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
81735         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
81736         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
81737         script has SORT_BY_INIT_PRIORITY.
81738         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
81739         NO_CTORS_DTORS_SECTIONS is defined.
81740         * elf/soinit.c: Likewise.
81741         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
81742         NO_CTORS_DTORS_SECTIONS is defined.
81743         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
81744         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
81745         * sysdeps/sh/init-first.c: Likewise.
81746         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
81748 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
81750         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
81751         always use the slow path.
81753 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
81755         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
81756         similar rule which adds the sysdep directories to the header search in
81757         order to pick up the correct platform stackinfo.h.
81758         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
81759         perform test if it is, otherwise return successfully without testing.
81760         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
81761         DEFAULT_STACK_PERMS define in stackinfo.h.
81762         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
81763         defined in stackinfo.h.
81764         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
81765         DEFAULT_STACK_PERMS defined in stackinfo.h.
81766         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
81767         * sysdeps/ia64/stackinfo.h: Likewise.
81768         * sysdeps/s390/stackinfo.h: Likewise.
81769         * sysdeps/sh/stackinfo.h: Likewise.
81770         * sysdeps/sparc/stackinfo.h: Likewise.
81771         * sysdeps/x86_64/stackinfo.h: Likewise.
81772         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
81773         PF_X for powerpc64.  Retain PF_X for powerpc32.
81775 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
81777         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
81778         accurately.
81779         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
81780         GETDENTS_64BIT_ALIGNED.
81782 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
81784         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
81786 2010-12-10  Andreas Schwab  <schwab@redhat.com>
81788         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
81789         _GNU_SOURCE.
81791         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
81792         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
81793         Remove __restrict.
81794         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
81795         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
81797 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
81799         [BZ #11655]
81800         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
81801         are initialized.
81803 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
81805         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
81807 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
81809         * po/it.po: Update from translation team.
81811 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
81813         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
81814         unused codes.
81816 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
81818         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
81820 2010-11-24  Andreas Schwab  <schwab@redhat.com>
81822         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
81823         specially.
81824         (gaih_getanswer_slice): Likewise.
81826 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
81828         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
81830 2010-05-31  Petr Baudis  <pasky@suse.cz>
81832         [BZ #11149]
81833         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
81834         silently even in the chroot mode.
81836 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
81838         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
81839         last patch a bit.  Pretty printing
81841 2010-05-31  Petr Baudis <pasky@suse.cz>
81843         [BZ #10085]
81844         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
81845         initialization of skip_initgroups_dyn.
81847 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
81849         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
81850         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
81852 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
81854         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
81856 2010-11-11  Andreas Schwab  <schwab@redhat.com>
81858         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
81859         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
81860         (tst-fnmatch-ENV): Set MALLOC_TRACE.
81861         ($(objpfx)tst-fnmatch-mem): New rule.
81862         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
81863         * posix/tst-fnmatch.c (main): Call mtrace.
81865 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
81867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81868         Support Intel processor model 6 and model 0x2c.
81870 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
81872         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
81873           signed comparison.
81875 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
81877         [BZ #12205]
81878         * string/test-strncasecmp.c (check_result): New function.
81879         (do_one_test): Use it.
81880         (check1): New function.
81881         (test_main): Use it.
81882         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
81883         Support strcasecmp and strncasecmp.
81885 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
81887         [BZ #12194]
81888         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
81889         * sysdeps/x86_64/bits/byteswap.h: Likewise.
81891 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
81893         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
81894         IFUNC support.
81895         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81896         memset-x86-64.
81897         * sysdeps/x86_64/multiarch/bzero.S: New file.
81898         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
81899         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
81900         * sysdeps/x86_64/multiarch/memset.S: New file.
81901         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
81902         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81903         Set bit_Prefer_SSE_for_memop for Intel processors.
81904         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
81905         Define.
81906         (index_Prefer_SSE_for_memop): Define.
81907         (HAS_PREFER_SSE_FOR_MEMOP): Define.
81909 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
81911         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
81912         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
81914 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
81916         [BZ #12191]
81917         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81918         (__x86_64_raw_data_cache_size_half): Likewise.
81919         (__x86_64_raw_shared_cache_size): Likewise.
81920         (__x86_64_raw_shared_cache_size_half): Likewise.
81922         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
81923         (__x86_64_raw_data_cache_size_half): Likewise.
81924         (__x86_64_raw_shared_cache_size): Likewise.
81925         (__x86_64_raw_shared_cache_size_half): Likewise.
81926         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
81927         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
81928         and __x86_64_raw_shared_cache_size_half.  Round
81929         __x86_64_data_cache_size_half, __x86_64_data_cache_size
81930         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
81931         to multiple of 256 bytes.
81933 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
81935         [BZ #12167]
81936         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
81937         of inacessible symlinks.  Verify result of symlink before returning it.
81938         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
81939         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
81941 2010-10-28  Erich Ritz  <erichritz@gmail.com>
81943         * math/math.h (isinf): Fix typo in comment.
81945 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
81947         * po/da.po: Update from translation team.
81949 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
81951         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
81952         is added to the list.
81954 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81955             Ulrich Drepper  <drepper@gmail.com>
81957         * elf/dl-object.c (_dl_new_object): Don't append the new object to
81958         the global list here.  Move code to...
81959         (_dl_add_to_namespace_list): ...here.  New function.
81960         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
81961         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
81962         * elf/dl-load.c (lose): Don't remove the element from the list.
81963         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
81964         (_dl_map_object): Likewise.
81966 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
81968         [BZ #12159]
81969         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
81970         into all bytes of SSE register.
81971         Patch by Richard Li <richardpku@gmail.com>.
81973 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
81975         [BZ #12140]
81976         * malloc/malloc.c (_int_free): Fill correct number of bytes when
81977         perturbing.
81979 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
81981         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
81982         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
81983         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
81984         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
81985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
81986         submachine.
81987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
81989 2010-10-22  Andreas Schwab  <schwab@redhat.com>
81991         * include/dlfcn.h (__RTLD_SECURE): Define.
81992         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
81993         mode & __RTLD_SECURE instead.
81994         (open_path): Rename preloaded parameter to secure.
81995         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
81996         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
81997         * elf/dl-deps.c (openaux): Likewise.
81998         * elf/rtld.c (struct map_args): Remove is_preloaded.
81999         (map_doit): Don't use it.
82000         (dl_main): Likewise.
82001         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
82002         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
82004 2010-09-09  Andreas Schwab  <schwab@redhat.com>
82006         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
82007         (sysd-rules-targets): Remove duplicates.
82008         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
82009         rtld-%.$o dependency.
82011 2010-10-18  Andreas Schwab  <schwab@redhat.com>
82013         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
82014         _dl_map_object do it.
82016 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
82018         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
82019         fast fma builtins, define the macros in the C99 standard.
82020         (FP_FAST_FMAF): Likewise.
82021         (FP_FAST_FMAL): Likewise.
82022         * sysdeps/x86_64/bits/mathdef.h: Likewise.
82024         * bits/mathdef.h: Update copyright year.
82025         * sysdeps/powerpc/bits/mathdef.h: Likewise.
82027 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
82029         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
82030         builtins, define the macros in the C99 standard.
82031         (FP_FAST_FMAF): Likewise.
82032         (FP_FAST_FMAL): Likewise.
82033         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
82034         multiply/add.
82035         (FP_FAST_FMAF): Likewise.
82037 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
82039         [BZ #3268]
82040         * math/libm-test.inc (fma_test): Some new testcases.
82041         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
82042         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
82043         y and infinite z.  Do multiplication by C already in long double.
82044         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
82045         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
82046         y and infinite z.  Do bitwise or of inexact bit into u.d.
82047         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
82048         * sysdeps/i386/fpu/s_fmaf.S: Removed.
82049         * sysdeps/i386/fpu/s_fma.S: Removed.
82050         * sysdeps/i386/fpu/s_fmal.S: Removed.
82052 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
82054         [BZ #3268]
82055         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
82056         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
82057         computation is not scheduled after fetestexcept.  Fix value
82058         of minimum denormal long double.
82060 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
82062         [BZ #3268]
82063         * math/libm-test.inc (fma_test): Add some more tests.
82064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
82065         correctly.
82067 2010-10-15  Andreas Schwab  <schwab@redhat.com>
82069         * scripts/data/localplt-s390-linux-gnu.data: New file.
82070         * scripts/data/localplt-s390x-linux-gnu.data: New file.
82072 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
82074         [BZ #3268]
82075         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
82076         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
82077         instead of dbl-64.
82078         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
82079         inlines.
82080         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
82081         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
82082         if one of x and y is very large and the other is subnormal.
82083         * sysdeps/s390/fpu/s_fmaf.c: New file.
82084         * sysdeps/s390/fpu/s_fma.c: New file.
82085         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
82086         * sysdeps/powerpc/fpu/s_fma.S: New file.
82087         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
82088         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
82089         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
82091 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
82093         [BZ #3268]
82094         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
82095         fma tests.
82096         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
82097         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
82098         * sysdeps/i386/i686/multiarch/s_fma.c: Include
82099         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
82100         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
82101         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
82102         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
82104 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
82106         [BZ #12078]
82107         * posix/regcomp.c (parse_branch): One more memory leak plugged.
82108         * posix/bug-regex31.input: Add test case.
82110 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82112         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
82113         * posix/bug-regex31.input: New file.
82115         [BZ #12078]
82116         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
82117         (parse_sub_exp): Fix last change, use postorder.
82119         * posix/bug-regex31.c: New file.
82120         * posix/Makefile: Add rules to build and run bug-regex31.
82122         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
82124         [BZ #12078]
82125         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
82127         [BZ #12108]
82128         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
82129         to have entries in sys_siglist.
82131         [BZ #12093]
82132         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
82133         be NULL.
82135 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
82137         [BZ #3268]
82138         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
82139         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
82140         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
82141         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
82142         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
82143         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
82144         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
82145         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
82146         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
82147         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
82148         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
82149         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
82150         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
82151         * math/ftestexcept.c (fetestexcept): Likewise.
82152         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
82153         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
82154         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
82155         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
82156         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
82157         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
82158         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
82160 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
82162         [BZ #12107]
82163         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
82164         newline.
82166 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
82168         * string/bug-strstr1.c: New file.
82169         * string/Makefile: Add rules to build and run bug-strstr1.
82171 2010-10-05  Eric Blake  <eblake@redhat.com>
82173         [BZ #12092]
82174         * string/str-two-way.h (two_way_long_needle): Always clear memory
82175         when skipping input due to the shift table.
82177 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
82179         [BZ #12005]
82180         * malloc/mcheck.c: Handle large requests.
82182         [BZ #12077]
82183         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
82184         for strncmp and strncasecmp.
82185         * string/stratcliff.c: Add tests for strcmp and strncmp.
82186         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
82188 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82190         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
82191         __set_fpscr.
82193 2010-09-30  Andreas Jaeger  <aj@suse.de>
82195         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
82196         (CGROUP_SUPER_MAGIC): Define.
82197         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82198         Handle btrfs and cgroup file systems.
82199         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
82200         Likewise.
82202 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
82204         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
82205         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
82207 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82209         [BZ #12067]
82210         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
82211         trying to locate the ELF header.
82213 2010-09-27  Andreas Schwab  <schwab@redhat.com>
82215         [BZ #11611]
82216         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
82217         Mask out sign-bit copies when constructing f_fsid.
82219 2010-09-24  Petr Baudis <pasky@suse.cz>
82221         * debug/stack_chk_fail_local.c: Add missing licence exception.
82222         * debug/warning-nop.c: Likewise.
82224 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
82226         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
82227         implementing getdents64 using getdents syscall, set d_type if
82228         __ASSUME_GETDENTS32_D_TYPE.
82230 2010-09-16  Andreas Schwab  <schwab@redhat.com>
82232         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
82233         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
82235 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
82237         [BZ #12037]
82238         * posix/unistd.h: Undo change of feature selection for ftruncate from
82239         2010-01-11.
82241 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
82243         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
82244         detection.
82246 2010-09-20  Andreas Schwab  <schwab@redhat.com>
82248         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
82249         fanotify_mark.
82250         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82252 2010-09-14  Andreas Schwab  <schwab@redhat.com>
82254         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
82255         variables after CHECK_SP call.
82256         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
82258 2010-09-13  Andreas Schwab  <schwab@redhat.com>
82259             Ulrich Drepper  <drepper@redhat.com>
82261         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
82262         re-relocationg ld.so.
82263         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
82264         _dl_init_paths call.
82265         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
82266         here anymore.
82268 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
82270         * resolv/res_init.c (__res_vinit): Count the default server we added.
82272 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
82273             Ulrich Drepper  <drepper@redhat.com>
82275         [BZ #11968]
82276         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
82277         (____longjmp_chk): Use %ebx for saving value across system call.
82278         Add unwind info.
82280 2010-09-06  Andreas Schwab  <schwab@redhat.com>
82282         * manual/Makefile: Don't mix pattern rules with normal rules.
82284 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
82286         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
82287         operation.
82288         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
82289         * libio/iofopncook.c (_IO_cookie_init): Likewise.
82290         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
82291         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
82292         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
82293         Likewise.
82295 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
82297         [BZ #11979]
82298         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
82299         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
82301 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
82303         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
82304         * sysdeps/x86_64/addmul_1.S: Likewise.
82305         * sysdeps/x86_64/lshift.S: Likewise.
82306         * sysdeps/x86_64/mul_1.S: Likewise.
82307         * sysdeps/x86_64/rshift.S: Likewise.
82308         * sysdeps/x86_64/sub_n.S: Likewise.
82309         * sysdeps/x86_64/submul_1.S: Likewise.
82311 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82313         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
82314         Define __sched_param instead of SCHED_* and sched_param when
82315         <bits/sched.h> is included with __need_schedparam defined.
82316         * bits/sched.h [__need_schedparam]
82317         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
82318         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
82319         (__defined_schedparam): Define to 1.
82320         (__sched_param): New structure, identical to sched_param.
82321         (__need_schedparam): Undefine.
82323 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
82325         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
82326         (epoll_create1): Declare.
82328         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
82330 2010-08-31  Andreas Schwab  <schwab@redhat.com>
82332         [BZ #7066]
82333         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
82334         shifting retval into place.
82336 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
82338         * nis/rpcsvc/nis.h: Update copyright notice.
82339         * nis/rpcsvc/nis.x: Likewise.
82340         * nis/rpcsvc/nis_callback.h: Likewise.
82341         * nis/rpcsvc/nis_callback.x: Likewise.
82342         * nis/rpcsvc/nis_object.x: Likewise.
82343         * nis/rpcsvc/nis_tags.h: Likewise.
82344         * nis/rpcsvc/yp.h: Likewise.
82345         * nis/rpcsvc/yp.x: Likewise.
82346         * nis/rpcsvc/ypupd.h: Likewise.
82347         * nis/yp_xdr.c: Likewise.
82348         * nis/ypupdate_xdr.c: Likewise.
82350         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
82351         mainly the body of pmap_getport.  Add parameters to specify timeouts.
82352         (pmap_getport): Use __libc_rpc_getport.
82353         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
82354         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
82355         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
82357 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
82359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
82360         fanotify_mark.
82362 2010-08-27  Roland McGrath  <roland@redhat.com>
82364         * sysdeps/i386/i686/multiarch/Makefile
82365         (CFLAGS-varshift.c): New variable.
82367 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
82369         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
82370         * sysdeps/i386/i686/multiarch/varshift.c: New file.
82372         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
82374         * sysdeps/x86_64/strlen.S: Minimal code improvement.
82376 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
82378         * sysdeps/x86_64/strlen.S: Unroll the loop.
82379         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82380         strlen-sse2 strlen-sse2-bsf.
82381         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
82382         __strlen_no_bsf if bit_Slow_BSF is set.
82383         (__strlen_sse42): Removed.
82384         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
82385         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
82387 2010-08-25  Roland McGrath  <roland@redhat.com>
82389         * sysdeps/x86_64/multiarch/varshift.S: File removed.
82390         * sysdeps/x86_64/multiarch/varshift.c: New file.
82391         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
82392         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
82393         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
82394         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
82396 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
82398         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82399         strlen-sse2 strlen-sse2-bsf.
82400         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
82401         __strlen_sse2_bsf if bit_Slow_BSF is unset.
82402         (__strlen_sse2): Removed.
82403         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
82404         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
82405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
82406         bit_Slow_BSF for Atom.
82407         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
82408         (index_Slow_BSF): Define.
82409         (HAS_SLOW_BSF): Define.
82411 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
82413         [BZ #10851]
82414         * resolv/res_init.c (__res_vinit): When no server address at all
82415         is given default to loopback.
82417 2010-08-24  Roland McGrath  <roland@redhat.com>
82419         * configure.in: Remove config-name.h generation.
82420         * configure: Regenerated.
82421         * config-name.in: File removed.
82422         * scripts/config-uname.sh: New file.
82423         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
82424         ($(objdir)config-name.h): New target.
82426         * sunrpc/rpc_parse.h: Avoid nested comment.
82428 2010-08-24  Richard Henderson  <rth@redhat.com>
82429             Ulrich Drepper  <drepper@redhat.com>
82430             H.J. Lu  <hongjiu.lu@intel.com>
82432         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
82433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
82434         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
82435         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
82436         _mm_alignr_epi8 with _mm_loadu_si128.
82437         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
82438         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
82439         (__m128i_shift_right): Removed.
82440         * sysdeps/i386/i686/multiarch/varshift.h: New file.
82441         * sysdeps/i386/i686/multiarch/varshift.S: New file.
82442         * sysdeps/x86_64/multiarch/varshift.h: New file.
82443         * sysdeps/x86_64/multiarch/varshift.S: New file.
82445 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
82447         * configure.in: Move assembler checks to before sysdep dir checking.
82449 2010-08-20  Petr Baudis  <pasky@suse.cz>
82451         * LICENSES: Sync the sunrpc license.
82453 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
82455         * sunrpc/auth_des.c: Update copyright notice once again.
82456         * sunrpc/auth_none.c: Likewise.
82457         * sunrpc/auth_unix.c: Likewise.
82458         * sunrpc/authdes_prot.c: Likewise.
82459         * sunrpc/authuxprot.c: Likewise.
82460         * sunrpc/bindrsvprt.c: Likewise.
82461         * sunrpc/clnt_gen.c: Likewise.
82462         * sunrpc/clnt_perr.c: Likewise.
82463         * sunrpc/clnt_raw.c: Likewise.
82464         * sunrpc/clnt_simp.c: Likewise.
82465         * sunrpc/clnt_tcp.c: Likewise.
82466         * sunrpc/clnt_udp.c: Likewise.
82467         * sunrpc/clnt_unix.c: Likewise.
82468         * sunrpc/des_crypt.c: Likewise.
82469         * sunrpc/des_soft.c: Likewise.
82470         * sunrpc/get_myaddr.c: Likewise.
82471         * sunrpc/getrpcport.c: Likewise.
82472         * sunrpc/key_call.c: Likewise.
82473         * sunrpc/key_prot.c: Likewise.
82474         * sunrpc/openchild.c: Likewise.
82475         * sunrpc/pm_getmaps.c: Likewise.
82476         * sunrpc/pm_getport.c: Likewise.
82477         * sunrpc/pmap_clnt.c: Likewise.
82478         * sunrpc/pmap_prot.c: Likewise.
82479         * sunrpc/pmap_prot2.c: Likewise.
82480         * sunrpc/pmap_rmt.c: Likewise.
82481         * sunrpc/rpc/auth.h: Likewise.
82482         * sunrpc/rpc/auth_unix.h: Likewise.
82483         * sunrpc/rpc/clnt.h: Likewise.
82484         * sunrpc/rpc/des_crypt.h: Likewise.
82485         * sunrpc/rpc/key_prot.h: Likewise.
82486         * sunrpc/rpc/netdb.h: Likewise.
82487         * sunrpc/rpc/pmap_clnt.h: Likewise.
82488         * sunrpc/rpc/pmap_prot.h: Likewise.
82489         * sunrpc/rpc/pmap_rmt.h: Likewise.
82490         * sunrpc/rpc/rpc.h: Likewise.
82491         * sunrpc/rpc/rpc_des.h: Likewise.
82492         * sunrpc/rpc/rpc_msg.h: Likewise.
82493         * sunrpc/rpc/svc.h: Likewise.
82494         * sunrpc/rpc/svc_auth.h: Likewise.
82495         * sunrpc/rpc/types.h: Likewise.
82496         * sunrpc/rpc/xdr.h: Likewise.
82497         * sunrpc/rpc_clntout.c: Likewise.
82498         * sunrpc/rpc_cmsg.c: Likewise.
82499         * sunrpc/rpc_common.c: Likewise.
82500         * sunrpc/rpc_cout.c: Likewise.
82501         * sunrpc/rpc_dtable.c: Likewise.
82502         * sunrpc/rpc_hout.c: Likewise.
82503         * sunrpc/rpc_main.c: Likewise.
82504         * sunrpc/rpc_parse.c: Likewise.
82505         * sunrpc/rpc_parse.h: Likewise.
82506         * sunrpc/rpc_prot.c: Likewise.
82507         * sunrpc/rpc_sample.c: Likewise.
82508         * sunrpc/rpc_scan.c: Likewise.
82509         * sunrpc/rpc_scan.h: Likewise.
82510         * sunrpc/rpc_svcout.c: Likewise.
82511         * sunrpc/rpc_tblout.c: Likewise.
82512         * sunrpc/rpc_util.c: Likewise.
82513         * sunrpc/rpc_util.h: Likewise.
82514         * sunrpc/rpcinfo.c: Likewise.
82515         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
82516         * sunrpc/rpcsvc/key_prot.x: Likewise.
82517         * sunrpc/rpcsvc/klm_prot.x: Likewise.
82518         * sunrpc/rpcsvc/mount.x: Likewise.
82519         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
82520         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
82521         * sunrpc/rpcsvc/rex.x: Likewise.
82522         * sunrpc/rpcsvc/rstat.x: Likewise.
82523         * sunrpc/rpcsvc/rusers.x: Likewise.
82524         * sunrpc/rpcsvc/sm_inter.x: Likewise.
82525         * sunrpc/rpcsvc/spray.x: Likewise.
82526         * sunrpc/rpcsvc/yppasswd.x: Likewise.
82527         * sunrpc/rtime.c: Likewise.
82528         * sunrpc/svc.c: Likewise.
82529         * sunrpc/svc_auth.c: Likewise.
82530         * sunrpc/svc_authux.c: Likewise.
82531         * sunrpc/svc_raw.c: Likewise.
82532         * sunrpc/svc_run.c: Likewise.
82533         * sunrpc/svc_simple.c: Likewise.
82534         * sunrpc/svc_tcp.c: Likewise.
82535         * sunrpc/svc_udp.c: Likewise.
82536         * sunrpc/svc_unix.c: Likewise.
82537         * sunrpc/svcauth_des.c: Likewise.
82538         * sunrpc/xcrypt.c: Likewise.
82539         * sunrpc/xdr.c: Likewise.
82540         * sunrpc/xdr_array.c: Likewise.
82541         * sunrpc/xdr_float.c: Likewise.
82542         * sunrpc/xdr_mem.c: Likewise.
82543         * sunrpc/xdr_rec.c: Likewise.
82544         * sunrpc/xdr_ref.c: Likewise.
82545         * sunrpc/xdr_sizeof.c: Likewise.
82546         * sunrpc/xdr_stdio.c: Likewise.
82548         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
82549         handling.
82551 2010-08-19  Andreas Schwab  <schwab@redhat.com>
82553         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
82555 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
82557         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
82558         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
82559         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
82560         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
82561         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
82562         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
82563         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
82564         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
82565         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
82566         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
82567         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
82568         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
82569         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
82570         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
82572 2010-07-26  Anton Blanchard  <anton@samba.org>
82574         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
82575         * malloc/arena.c (heap_trim): Likewise.
82577 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
82579         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
82580         here.  Not...
82581         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
82582         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
82584 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
82586         * sysdeps/i386/elf/Makefile: New file.
82588 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82590         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
82591         from fanotify_init.
82592         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
82593         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82595 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
82597         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
82598         of strncasecmp_l.
82599         * sysdeps/multiarch/strcmp.S: Likewise.
82601 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
82603         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82604         strncase_l-nonascii.
82605         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82606         Add strncase_l-ssse3.
82607         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
82608         * sysdeps/x86_64/strcmp.S: Likewise.
82609         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
82610         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
82611         * sysdeps/x86_64/strncase.S: New file.
82612         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
82613         * sysdeps/x86_64/strncase_l.S: New file.
82614         * string/Makefile (strop-tests): Add strncasecmp.
82615         * string/test-strncasecmp.c: New file.
82617         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
82618         warning.
82620         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
82621         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
82623 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
82625         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
82627 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
82629         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
82630         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
82631         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
82633 2010-05-01  Alan Modra  <amodra@gmail.com>
82635         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
82636         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
82637         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
82638         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
82639         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
82640         tidying.  Don't tail-call __sigjmp_save for static lib.
82641         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
82642         save location.
82643         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
82644         (CALL_MCOUNT): Add eh info, and nop after bl.
82645         (TAIL_CALL_SYSCALL_ERROR): New macro.
82646         (PSEUDO_RET): Use it.
82647         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
82648         Correct save location of integer regs and cr.
82649         (_dl_profile_resolve): Correct cr save location.  Delete nops
82650         after bl when SHARED.  Reduce cfi size a little by better
82651         placement of cfi directives.
82652         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
82653         make a stack frame.  Instead use parm save area as a temp.
82654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
82655         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
82656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
82657         Don't make a stack frame for parent, use parm save area.
82658         Increase child stack frame to 112 bytes.  Don't save unused reg,
82659         and adjust reg usage.  Set up cfi on error recovery and
82660         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
82661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
82662         (__makecontext): Add dummy nop after jump to exit.
82663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
82664         Use correct parm save area and cr save, reduce stack frame.
82665         Correct cfi for possible PSEUDO_RET frame setup.
82666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
82667         Branch to local label emitted by PSEUDO_RET rather than
82668         __syscall_error.
82670 2010-08-12  Andreas Schwab  <schwab@redhat.com>
82672         [BZ #11904]
82673         * locale/programs/locale.c (print_assignment): New function.
82674         (show_locale_vars): Use it.
82676 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
82678         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
82679         field.
82680         (struct statfs64): Likewise.
82681         (_STATFS_F_FLAGS): Define.
82682         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
82683         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82684         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
82685         (ST_VALID): Define locally.
82686         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
82687         __statvfs_getflags, use the provided value.
82688         * sysdeps/unix/sysv/linux/kernel-features.h: Define
82689         __ASSUME_STATFS_F_FLAGS.
82691         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
82693         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
82694         Add sys/fanotify.h.
82695         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
82696         fanotify_mask for GLIBC_2.13.
82697         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
82698         fanotify_init and fanotify_mark.
82699         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
82700         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
82702         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
82703         Add prlimit.
82704         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
82705         prlimit64 for GLIBC_2.13.
82706         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
82707         prlimit64.
82708         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
82709         syscall.
82710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
82711         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
82712         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
82713         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
82714         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
82715         add prlimit alias.
82716         * sysdeps/unix/sysv/linux/prlimit.c: New file.
82718         [BZ #11903]
82719         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
82720         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
82722         * nss/Makefile: Add rules to build and run tst-nss-test1.
82723         * shlib-versions: Add entry for libnss_test1.
82724         * nss/nss_test1.c: New file.
82725         * nss/tst-nss-test1.c: New file.
82727         * nss/nsswitch.c (__nss_database_custom): Define new variable.
82728         (__nss_configure_lookup): Set appropriate entry in
82729         __nss_configure_lookup to true.
82730         * nss/nsswitch.h: Define enum with indeces of databases in
82731         databases and __nss_database_custom arrays.  Declare
82732         __nss_database_custom.
82733         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
82734         to avoid using nscd when custom rules are installed.
82735         * nss/getXXbyYY_r.c: Likewise.
82736         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
82738         * nss/nss_files/files-parse.c: Whitespace fixes.
82740 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
82742         [BZ #11883]
82743         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
82744         * posix/fnmatch_loop.c: Likewise.
82746 2010-07-17  Andi Kleen  <ak@linux.intel.com>
82748         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
82749         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
82750         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
82751         * Versions.def [GLIBC_2.13]: Add.
82753 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
82755         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82756         Also fail if tpwd after pwuid call is NULL.
82758 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82760         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
82761         when converting to ms.
82763 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82765         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
82766         EOPNOTSUPP errors with ENOTTY.
82767         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
82768         EOPNOTSUPP errors with ENOTTY.
82770 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
82772         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
82773         Add strcasecmp_l-ssse3.
82774         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
82775         strcasecmp.
82776         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
82777         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
82778         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
82780 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
82782         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
82784         * string/Makefile (strop-tests): Add strcasecmp.
82785         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
82786         strcasecmp_l-nonascii.
82787         (gen-as-const-headers): Add locale-defines.sym.
82788         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
82789         * sysdeps/x86_64/strcasecmp.S: New file.
82790         * sysdeps/x86_64/strcasecmp_l.S: New file.
82791         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
82792         * sysdeps/x86_64/locale-defines.sym: New file.
82793         * string/test-strcasecmp.c: New file.
82795         * string/test-strcasestr.c: Test both ends of the range of characters.
82796         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
82798 2010-07-29  Roland McGrath  <roland@redhat.com>
82800         [BZ #11856]
82801         * manual/locale.texi (Yes-or-No Questions): Fix example code.
82803 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
82805         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
82806         for ld.so.
82808 2010-07-27  Andreas Schwab  <schwab@redhat.com>
82810         * manual/memory.texi (Malloc Tunable Parameters): Document
82811         M_PERTURB.
82813 2010-07-26  Roland McGrath  <roland@redhat.com>
82815         [BZ #11840]
82816         * configure.in (-fgnu89-inline check): Set and substitute
82817         gnu89_inline, not libc_cv_gnu89_inline.
82818         * configure: Regenerated.
82819         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
82821 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
82823         * string/test-strnlen.c: New file.
82824         * string/Makefile (strop-tests): Add strnlen.
82825         * string/tester.c (test_strnlen): Add a few more test cases.
82826         * string/tst-strlen.c: Better error reporting.
82828         * sysdeps/x86_64/strnlen.S: New file.
82830 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
82832         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
82833         lower-latency instructions.
82835 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
82837         * string/test-strcasestr.c: New file.
82838         * string/test-strstr.c: New file.
82839         * string/Makefile (strop-tests): Add strstr and strcasestr.
82840         * string/str-two-way.h: Don't undefine MAX.
82841         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
82843 2010-07-21  Andreas Schwab  <schwab@redhat.com>
82845         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82846         strcasestr-nonascii.
82847         (CFLAGS-strcasestr-nonascii.c): Define.
82848         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
82849         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
82850         Remove unused attribute.
82852 2010-07-20  Roland McGrath  <roland@redhat.com>
82854         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
82855         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
82856         ld.so.cache was broken.  With it, there is no way to disable dsocaps
82857         like LD_HWCAP_MASK can disable hwcaps.
82859 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
82861         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
82863 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
82865         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
82866         call in strcasestr.
82867         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
82868         __strcasestr_sse42_nonascii.
82869         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
82870         strcasestr-nonascii.c.
82871         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
82873 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
82875         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
82876         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
82877         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
82878         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
82880 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
82882         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
82883         fcntl.
82885 2010-07-06  Andreas Schwab  <schwab@redhat.com>
82887         [BZ #11577]
82888         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
82889         dl_signal_cerror.
82891 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
82893         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
82894         _PC_PIPE_BUF using F_GETPIPE_SZ.
82896 2010-07-05  Roland McGrath  <roland@redhat.com>
82898         * manual/arith.texi (Rounding Functions): Fix rint description
82899         implicit in round description.
82901 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
82903         * elf/Makefile: Fix linking for a few tests to make recent linker
82904         happy.
82906 2010-06-30  Andreas Schwab  <schwab@redhat.com>
82908         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82909         $(common-objpfx)libc_nonshared.a.
82911 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
82913         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
82914         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
82915         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82916         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82917         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
82918         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
82919         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82920         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
82922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
82923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
82924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
82925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
82926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
82927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
82928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
82929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
82930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
82931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
82932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
82933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
82934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
82935         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
82936         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
82937         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
82938         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
82939         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
82940         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
82941         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
82942         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
82943         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
82944         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
82945         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
82946         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
82947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
82948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
82949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
82950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
82951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
82952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
82953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
82954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
82955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
82956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
82957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
82958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
82959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
82960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
82962 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
82964         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
82965         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
82966         * string/memmove.c (memmove): Renamed to ...
82967         (MEMMOVE): ...this.  Default to memmove.
82968         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
82969         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
82970         (END_CHK): Define.
82971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82972         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
82973         mempcpy-ssse3-back memmove-ssse3-back.
82974         * sysdeps/x86_64/multiarch/bcopy.S: New file .
82975         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
82976         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
82977         * sysdeps/x86_64/multiarch/memcpy.S: New file.
82978         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
82979         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
82980         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
82981         * sysdeps/x86_64/multiarch/memmove.c: New file.
82982         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
82983         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
82984         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
82985         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
82986         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
82987         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
82988         Define.
82989         (index_Fast_Copy_Backward): Define.
82990         (HAS_ARCH_FEATURE): Define.
82991         (HAS_FAST_REP_STRING): Define.
82992         (HAS_FAST_COPY_BACKWARD): Define.
82994 2010-06-21  Andreas Schwab  <schwab@redhat.com>
82996         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
82997         Restore proper fallback handling.
82999 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
83001         [BZ #11701]
83002         * posix/group_member.c (__group_member): Correct checking loop.
83004         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
83005         OOM in getpwuid_r correctly.  Return error number when the caller
83006         should return, otherwise -1.
83007         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
83008         call returning > 0 value.
83009         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
83011 2010-06-07  Andreas Schwab  <schwab@redhat.com>
83013         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
83014         libc_nonshared.a from targets in modules-names.
83016 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
83018         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
83019         requires it.
83021 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
83023         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
83024         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
83025         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
83026         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
83028 2010-06-02  Andreas Schwab  <schwab@redhat.com>
83030         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
83032 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
83034         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
83035         and F_GETPIPE_SZ.
83036         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
83037         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
83038         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
83039         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
83040         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
83041         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
83043 2010-06-14  Roland McGrath  <roland@redhat.com>
83045         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
83047 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
83049         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
83050         __REDIRECT followed by __THROW.
83051         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
83052         * posix/getopt.h (getopt): Likewise.
83054 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
83056         * hurd/lookup-at.c (__file_name_lookup_at): Accept
83057         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
83058         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
83059         in AT_FLAGS.
83060         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
83061         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
83063 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
83065         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
83067 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
83069         [BZ #11640]
83070         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83071         Properly check family and model.
83073 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
83075         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
83077 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
83079         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
83081 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
83083         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
83084         symbol reference.
83086 2010-05-19  Andreas Schwab  <schwab@redhat.com>
83088         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
83089         symbol reference.
83091 2010-05-21  Andreas Schwab  <schwab@redhat.com>
83093         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
83094         and internal_recvmmsg.
83095         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
83096         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
83097         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
83098         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
83100         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
83101         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
83102         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
83104 2010-05-20  Andreas Schwab  <schwab@redhat.com>
83106         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
83108 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
83110         POWER7 optimizations.
83111         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
83112         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
83114 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
83116         * version.h: Update for 2.13 development version.
83118 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
83120         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
83121         exceptions.  Return 0.
83123 2010-05-07  Roland McGrath  <roland@redhat.com>
83125         * elf/ldconfig.c (main): Add a const.
83127 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
83129         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
83130         (args_options): Add no-idn option.
83131         (ahosts_keys_int): Add idn_flags to ai_flags.
83132         (parse_option): Handle 'i' option to clear idn_flags.
83134         * malloc/malloc.c (_int_free): Possible race in the most recently
83135         added check.  Only act on the data if no current modification
83136         happened.
83138 See ChangeLog.17 for earlier changes.